diff options
author | nyamatongwe <unknown> | 2000-07-22 12:52:20 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-07-22 12:52:20 +0000 |
commit | 51cb131f76eb58bf26ae426139a5352ee6f9142f (patch) | |
tree | ba0202821d1ceb229e51e2171ee15c023c03d9d0 | |
parent | c8ab474fa173218cfe16309c8fbf37ab29635ccc (diff) | |
download | scintilla-mirror-51cb131f76eb58bf26ae426139a5352ee6f9142f.tar.gz |
Moved structures used by API into Scintilla.h and made cross-platform.
-rw-r--r-- | include/Scintilla.h | 12 |
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; }; |