From f6a09392bbf959d95cd112b9ce1378a0f952776f 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