aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CallTip.h')
-rw-r--r--src/CallTip.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/CallTip.h b/src/CallTip.h
index 0cb2ede72..657e0caa1 100644
--- a/src/CallTip.h
+++ b/src/CallTip.h
@@ -25,6 +25,7 @@ class CallTip {
int offsetMain; // The alignment point of the call tip
int tabSize; // Tab size in pixels, <=0 no TAB expand
bool useStyleCallTip; // if true, STYLE_CALLTIP should be used
+ bool above; // if true, display calltip above text
// Private so CallTip objects can not be copied
CallTip(const CallTip &);
@@ -57,7 +58,7 @@ public:
void MouseClick(Point pt);
/// Setup the calltip and return a rectangle of the area required.
- PRectangle CallTipStart(int pos, Point pt, const char *defn,
+ PRectangle CallTipStart(int pos, Point pt, int textHeight, const char *defn,
const char *faceName, int size, int codePage_,
int characterSet, int technology, Window &wParent);
@@ -70,6 +71,9 @@ public:
/// Set the tab size in pixels for the call tip. 0 or -ve means no tab expand.
void SetTabSize(int tabSz);
+ /// Set calltip position.
+ void SetPosition(bool aboveText);
+
/// Used to determine which STYLE_xxxx to use for call tip information
bool UseStyleCallTip() const { return useStyleCallTip;}