From b95db33f2cbd30213cadd4859f567e1dae32ef47 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 4 Jan 1999 19:25:40 +0000 Subject: 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 . - 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 --- FL/Fl_Window.H | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'FL') 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 $". // -- cgit v1.2.3