]>
git.saurik.com Git - wxWidgets.git/blob - src/stc/scintilla/src/CallTip.h
b38a4840abbd058b4fa15a8000895f51fe16664c
1 // Scintilla source code edit control
3 ** Interface to the call tip control.
5 // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
18 // Private so CallTip objects can not be copied
19 CallTip(const CallTip
&) {}
20 CallTip
&operator=(const CallTip
&) { return *this; }
28 ColourPair colourUnSel
;
30 ColourPair colourShade
;
31 ColourPair colourLight
;
36 /// Claim or accept palette entries for the colours required to paint a calltip.
37 void RefreshColourPalette(Palette
&pal
, bool want
);
39 void PaintCT(Surface
*surfaceWindow
);
41 /// Setup the calltip and return a rectangle of the area required.
42 PRectangle
CallTipStart(int pos
, Point pt
, const char *defn
,
43 const char *faceName
, int size
);
47 /// Set a range of characters to be displayed in a highlight style.
48 /// Commonly used to highlight the current parameter.
49 void SetHighlight(int start
, int end
);