aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-07-22 12:52:20 +0000
committernyamatongwe <devnull@localhost>2000-07-22 12:52:20 +0000
commit39e1b337bd828fca3726429142e0b575ea9d99e4 (patch)
treeba0202821d1ceb229e51e2171ee15c023c03d9d0
parent2701a4c8c7e2dea4cbd604146b58c81bbef0355a (diff)
downloadscintilla-mirror-39e1b337bd828fca3726429142e0b575ea9d99e4.tar.gz
Moved structures used by API into Scintilla.h and made cross-platform.
-rw-r--r--include/Scintilla.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 1b23dfdca..b354875f1 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -446,6 +446,11 @@ struct TextToFind {
CharacterRange chrgText;
};
+#ifdef PLATFORM_H
+
+// This structure is used in printing and requires some of the graphics types
+// from Platform.h. Not needed by most client code.
+
struct RangeToFormat {
SurfaceID hdc;
SurfaceID hdcTarget;
@@ -454,8 +459,13 @@ struct RangeToFormat {
CharacterRange chrg;
};
+#endif
+
struct NotifyHeader {
- WindowID hwndFrom;
+ // hwndFrom is really an environment specifc window handle or pointer
+ // but most clients of Scintilla.h do not have this type visible.
+ //WindowID hwndFrom;
+ void *hwndFrom;
unsigned int idFrom;
unsigned int code;
};