diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2002-01-03 08:08:21 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2002-01-03 08:08:21 +0000 |
| commit | 1775984dbea2b186a9cd7b5a8b697558028e7da9 (patch) | |
| tree | 432a4522d897897bceff31921e71060ae94fbf6f /FL/mac.H | |
| parent | 2283309d0349118ffbd8313dd4a898eeeda2df04 (diff) | |
cleaned up src/Fl_mac.cxx, fixed Fl::wait(0.0), fixed Cmd-Q handling
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1905 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/mac.H')
| -rw-r--r-- | FL/mac.H | 20 |
1 files changed, 8 insertions, 12 deletions
@@ -1,5 +1,5 @@ // -// "$Id: mac.H,v 1.1.2.4 2002/01/01 15:11:28 easysw Exp $" +// "$Id: mac.H,v 1.1.2.5 2002/01/03 08:08:21 matthiaswm Exp $" // // Mac header file for the Fast Light Tool Kit (FLTK). // @@ -63,23 +63,19 @@ inline void XDestroyRegion(Fl_Region r) { class Fl_X { public: - Window xid; // Mac WindowPtr - GWorldPtr other_xid; // pointer for offscreen bitmaps (doublebuffer) - Fl_Window *w; // FLTK window for + Window xid; // Mac WindowPtr + GWorldPtr other_xid; // pointer for offscreen bitmaps (doublebuffer) + Fl_Window *w; // FLTK window for Fl_Region region; - Fl_Region subRegion; // region for this specific subwindow - Fl_X *next; - Fl_X *xidChildren, *xidNext; + Fl_Region subRegion; // region for this specific subwindow + Fl_X *next; // linked tree to support subwindows + Fl_X *xidChildren, *xidNext; // more subwindow tree int wait_for_expose; - //+ int backbuffer_bad; CursHandle cursor; static Fl_X* first; static Fl_X* i(const Fl_Window* w) {return w->i;} static int fake_X_wm(const Fl_Window*,int&,int&,int&,int&,int&); static void make(Fl_Window*); - static void MacGrowWindow(WindowPtr xid, const EventRecord &macevent); - static void MacDragWindow(WindowPtr xid, const EventRecord &macevent); - static int MacModifiers(const EventRecord &macevent, unsigned short prev); void flush(); }; @@ -120,6 +116,6 @@ extern FL_EXPORT int fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b) #endif // !FL_MAC_H // -// End of "$Id: mac.H,v 1.1.2.4 2002/01/01 15:11:28 easysw Exp $". +// End of "$Id: mac.H,v 1.1.2.5 2002/01/03 08:08:21 matthiaswm Exp $". // |
