summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-02-19 15:34:09 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-02-19 15:34:09 +0000
commit1a135b04249a6747ba023af915b6586bef4b41fb (patch)
treebdfc95ce2fdf4f0edbdb587ec3f6fa188778821b /FL
parentd91bdb6022ba1711ec82bce013e17ff4bddb8a2b (diff)
Updated Fl::x(), ::y(), ::w(), and ::h() to account for WIN32 trays.
Updated menu code to account for tray locations. git-svn-id: file:///fltk/svn/fltk/trunk@307 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl.H9
1 files changed, 7 insertions, 2 deletions
diff --git a/FL/Fl.H b/FL/Fl.H
index 0ea010400..1dd18817c 100644
--- a/FL/Fl.H
+++ b/FL/Fl.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl.H,v 1.6 1999/02/16 21:59:34 mike Exp $"
+// "$Id: Fl.H,v 1.7 1999/02/19 15:34:07 mike Exp $"
//
// Main header file for the Fast Light Tool Kit (FLTK).
//
@@ -145,8 +145,13 @@ public:
static FL_EXPORT void paste(Fl_Widget &receiver);
// screen size:
+#if defined(WIN32) || defined(__EMX__)
+ static FL_EXPORT int x();
+ static FL_EXPORT int y();
+#else
static FL_EXPORT int x() {return 0;}
static FL_EXPORT int y() {return 0;}
+#endif /* WIN32 || __EMX__ */
static FL_EXPORT int w();
static FL_EXPORT int h();
@@ -199,5 +204,5 @@ public:
#endif
//
-// End of "$Id: Fl.H,v 1.6 1999/02/16 21:59:34 mike Exp $".
+// End of "$Id: Fl.H,v 1.7 1999/02/19 15:34:07 mike Exp $".
//