diff options
author | nyamatongwe <devnull@localhost> | 2007-07-07 02:54:22 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2007-07-07 02:54:22 +0000 |
commit | 3f2f73d410c84aa74ec109085e51e3338b6b532b (patch) | |
tree | 7681b30a848dc22928a9a8c6fb1b1e71ea2c51fc /include | |
parent | 4747b6df30d5d411aafa631fa4436bce0acddfb6 (diff) | |
download | scintilla-mirror-3f2f73d410c84aa74ec109085e51e3338b6b532b.tar.gz |
Allows the popup to be displayed below as long as it can fit on the monitor
the cursor is on rather than flipping up above the current point when near
bottom of window.
Implemented for GTK+ by John Ehresman.
Partial Windows implementation #ifdefed out because it uses calls
unavailable on Windows 95.
Diffstat (limited to 'include')
-rw-r--r-- | include/Platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Platform.h b/include/Platform.h index 08d71e975..6e6540007 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -405,6 +405,7 @@ public: enum Cursor { cursorInvalid, cursorText, cursorArrow, cursorUp, cursorWait, cursorHoriz, cursorVert, cursorReverseArrow, cursorHand }; void SetCursor(Cursor curs); void SetTitle(const char *s); + PRectangle GetMonitorRect(Point pt); #if PLAT_MACOSX void SetWindow(void *ref) { windowRef = ref; }; void SetControl(void *_control) { control = _control; }; |