From 39e1b337bd828fca3726429142e0b575ea9d99e4 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 22 Jul 2000 12:52:20 +0000 Subject: Moved structures used by API into Scintilla.h and made cross-platform. --- include/Scintilla.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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; }; -- cgit v1.2.3