mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 08:32:07 +08:00
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
This commit is contained in:
+5
-2
@@ -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 $".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user