summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-01-04 19:25:40 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-01-04 19:25:40 +0000
commitb95db33f2cbd30213cadd4859f567e1dae32ef47 (patch)
treea28848521b20e06870490ebacf7bd22e3aa6dedc /FL
parentea2cbbd5530915c508e86fed9a437adb0b2149f8 (diff)
Lots of changes:
- Added #defines for Visual C++ to speed up compiles. - Added FLTK.DLL project to visualc directory. - Added editor project to visualc directory. - Added icon() method to Fl_Window class. - Implemented xclass() method for WIN32. - Fixed extern declaration of fl_send_extra_move in Fl_Menu_Window.cxx. - scandir_win32.c needed to include <stdlib.h>. - Added fix from Bill for fl_width() bug. - Updated fix for Fl_Input to default to FL_DOWN_BOX. - Added visible() check for children of Fl_Pack. - Added WinMain() function to library. - Now show console window in debug mode. - Fixed demo.menu and demo.cxx to work under WIN32. git-svn-id: file:///fltk/svn/fltk/trunk@180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Window.H7
1 files changed, 5 insertions, 2 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H
index 7953f0d51..511a179c2 100644
--- a/FL/Fl_Window.H
+++ b/FL/Fl_Window.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Window.H,v 1.8 1998/11/08 17:02:38 mike Exp $"
+// "$Id: Fl_Window.H,v 1.9 1999/01/04 19:24:57 mike Exp $"
//
// Window header file for the Fast Light Tool Kit (FLTK).
//
@@ -36,6 +36,7 @@ class Fl_Window : public Fl_Group {
const char* iconlabel_;
const char* xclass_;
+ const void* icon_;
// size_range stuff:
short minw, minh, maxw, maxh;
uchar dw, dh, aspect, size_range_set;
@@ -86,6 +87,8 @@ public:
void label(const char* label, const char* iconlabel);
const char* xclass() const {return xclass_;}
void xclass(const char* c) {xclass_ = c;}
+ const void* icon() const {return icon_;}
+ void icon(const void * i) {icon_ = i;}
int shown() {return i != 0;}
virtual void show();
@@ -110,5 +113,5 @@ public:
#endif
//
-// End of "$Id: Fl_Window.H,v 1.8 1998/11/08 17:02:38 mike Exp $".
+// End of "$Id: Fl_Window.H,v 1.9 1999/01/04 19:24:57 mike Exp $".
//