diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-08-01 02:15:43 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2002-08-01 02:15:43 +0000 |
| commit | 685100b1222821dedec2e0b22f55ca18027a99df (patch) | |
| tree | 8e3d5e0669628a2e39070af76d51bba7f87b98b3 /FL | |
| parent | 063d67de86af0fcdad54f28d49ba9aacca6ae96a (diff) | |
Add default cursor as data the Fl_Window tracks individually (with the
default being the original global default...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Window.H | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index 03f561496..45b25e8ed 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Window.H,v 1.12.2.6.2.3 2002/07/14 21:25:39 easysw Exp $" +// "$Id: Fl_Window.H,v 1.12.2.6.2.4 2002/08/01 02:15:41 easysw Exp $" // // Window header file for the Fast Light Tool Kit (FLTK). // @@ -43,6 +43,9 @@ class FL_EXPORT Fl_Window : public Fl_Group { // size_range stuff: short minw, minh, maxw, maxh; uchar dw, dh, aspect, size_range_set; + // cursor stuff + Fl_Cursor cursor_default; + Fl_Color cursor_fg, cursor_bg; FL_EXPORT void size_range_(); // values for flags(): enum { @@ -112,6 +115,7 @@ public: // for back-compatability only: void cursor(Fl_Cursor, Fl_Color=FL_BLACK, Fl_Color=FL_WHITE); + void default_cursor(Fl_Cursor, Fl_Color=FL_BLACK, Fl_Color=FL_WHITE); static void default_callback(Fl_Window*, void* v); }; @@ -119,5 +123,5 @@ public: #endif // -// End of "$Id: Fl_Window.H,v 1.12.2.6.2.3 2002/07/14 21:25:39 easysw Exp $". +// End of "$Id: Fl_Window.H,v 1.12.2.6.2.4 2002/08/01 02:15:41 easysw Exp $". // |
