From 3f2f73d410c84aa74ec109085e51e3338b6b532b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 7 Jul 2007 02:54:22 +0000 Subject: 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. --- include/Platform.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; }; -- cgit v1.2.3