diff options
Diffstat (limited to 'src/CallTip.h')
-rw-r--r-- | src/CallTip.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/CallTip.h b/src/CallTip.h index 877d9f34e..ff61f32a5 100644 --- a/src/CallTip.h +++ b/src/CallTip.h @@ -15,9 +15,16 @@ class CallTip { int endHighlight; char *val; Font font; + int xUp; + int xDown; + int lineHeight; // Private so CallTip objects can not be copied CallTip(const CallTip &) {} CallTip &operator=(const CallTip &) { return *this; } + void DrawChunk(Surface *surface, int &x, const char *s, + int posStart, int posEnd, int ytext, PRectangle rcClient, + bool highlight, bool draw); + int PaintContents(Surface *surfaceWindow, bool draw); public: Window wCallTip; @@ -30,6 +37,7 @@ public: ColourPair colourShade; ColourPair colourLight; int codePage; + int clickPlace; CallTip(); ~CallTip(); @@ -39,9 +47,11 @@ public: void PaintCT(Surface *surfaceWindow); + void MouseClick(Point pt); + /// 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, int codePage_); + const char *faceName, int size, int codePage_, Window &wParent); void CallTipCancel(); |