aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-08-07 23:07:01 +1000
committernyamatongwe <unknown>2011-08-07 23:07:01 +1000
commit6eac1bd38534dfce8c890b24c59261bbf14a6c2b (patch)
tree8f3a84ef90ae8bf4ca89328e1f3206d342703e0d /include/Platform.h
parente37e73270f08346b400059a6debf0729b498bebf (diff)
downloadscintilla-mirror-6eac1bd38534dfce8c890b24c59261bbf14a6c2b.tar.gz
Add a new XYACCUMULATOR which is more precise than XYPOSITION for
keeping track over long lines. Using typedefs rather than #defines so goes into namespace.
Diffstat (limited to 'include/Platform.h')
-rw-r--r--include/Platform.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/Platform.h b/include/Platform.h
index d23a932e4..6ba87aa7b 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -9,9 +9,6 @@
#ifndef PLATFORM_H
#define PLATFORM_H
-#define XYPOSITION float
-//#define XYPOSITION int
-
// PLAT_GTK = GTK+ on Linux or Win32
// PLAT_GTK_WIN32 is defined additionally when running PLAT_GTK under Win32
// PLAT_WIN = Win32 API on Win32 OS
@@ -62,6 +59,10 @@
namespace Scintilla {
#endif
+typedef float XYPOSITION;
+typedef double XYACCUMULATOR;
+//#define XYPOSITION int
+
// Underlying the implementation of the platform classes are platform specific types.
// Sometimes these need to be passed around by client code so they are defined here