diff options
author | nyamatongwe <devnull@localhost> | 2003-01-12 04:02:43 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-01-12 04:02:43 +0000 |
commit | b9a72f1e42a8b75bbd30ccb6b58c06ea91552691 (patch) | |
tree | 0d044674b7e8558b555e1f8c3e0698bd2f2fa8dc /src/CallTip.h | |
parent | ae33ce73c43277fd6fb87571201b4e2ecdc2ea64 (diff) | |
download | scintilla-mirror-b9a72f1e42a8b75bbd30ccb6b58c06ea91552691.tar.gz |
Additions from Yukihiro Nakai to enable DBCS mode on GTK+.
DBCS mode for Surface so that different font and text drawing code can be
invoked on GTK+.
Diffstat (limited to 'src/CallTip.h')
-rw-r--r-- | src/CallTip.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/CallTip.h b/src/CallTip.h index 9f5025f63..877d9f34e 100644 --- a/src/CallTip.h +++ b/src/CallTip.h @@ -29,22 +29,22 @@ public: ColourPair colourSel; ColourPair colourShade; ColourPair colourLight; - bool unicodeMode; - + int codePage; + CallTip(); ~CallTip(); - + /// Claim or accept palette entries for the colours required to paint a calltip. void RefreshColourPalette(Palette &pal, bool want); - + void PaintCT(Surface *surfaceWindow); - + /// Setup the calltip and return a rectangle of the area required. - PRectangle CallTipStart(int pos, Point pt, const char *defn, - const char *faceName, int size, bool unicodeMode_); - + PRectangle CallTipStart(int pos, Point pt, const char *defn, + const char *faceName, int size, int codePage_); + void CallTipCancel(); - + /// Set a range of characters to be displayed in a highlight style. /// Commonly used to highlight the current parameter. void SetHighlight(int start, int end); |