31 #define FL_WINDOW 0xF0
32 #define FL_DOUBLE_WINDOW 0xF1
56 static char *default_xclass_;
60 #if FLTK_ABI_VERSION < 10301
64 #if FLTK_ABI_VERSION < 10301
68 #if FLTK_ABI_VERSION < 10301
72 #if FLTK_ABI_VERSION < 10301
76 #if FLTK_ABI_VERSION < 10302
79 int fullscreen_screen_top;
80 #if FLTK_ABI_VERSION < 10302
83 int fullscreen_screen_bottom;
84 #if FLTK_ABI_VERSION < 10302
87 int fullscreen_screen_left;
88 #if FLTK_ABI_VERSION < 10302
91 int fullscreen_screen_right;
97 const void *legacy_icon;
106 const char* iconlabel_;
108 struct icon_data *icon_;
110 int minw, minh, maxw, maxh;
112 uchar size_range_set;
118 void fullscreen_off_x(
int X,
int Y,
int W,
int H);
130 virtual void flush();
141 if (force)
set_flag(FORCE_POSITION);
186 Fl_Window(
int w,
int h,
const char* title= 0);
191 Fl_Window(
int x,
int y,
int w,
int h,
const char* title = 0);
220 virtual void resize(
int X,
int Y,
int W,
int H);
307 void hotspot(
int x,
int y,
int offscreen = 0);
309 void hotspot(
const Fl_Widget*,
int offscreen = 0);
358 void size_range(
int minw,
int minh,
int maxw=0,
int maxh=0,
int dw=0,
int dh=0,
int aspect=0) {
365 this->aspect = aspect;
374 void label(
const char*);
376 void iconlabel(
const char*);
378 void label(
const char* label,
const char* iconlabel);
381 static void default_xclass(
const char*);
382 static const char *default_xclass();
383 const char* xclass()
const;
384 void xclass(
const char* c);
392 static void default_icons(HICON big_icon, HICON small_icon);
393 void icons(HICON big_icon, HICON small_icon);
397 const void* icon()
const;
398 void icon(
const void * ic);
447 void show(
int argc,
char **argv);
463 void fullscreen_off();
468 void fullscreen_off(
int X,
int Y,
int W,
int H);
483 void fullscreen_screens(
int top,
int bottom,
int left,
int right);
void set_non_modal()
A "non-modal" window (terminology borrowed from Microsoft Windows) acts like a modal() one in that it...
Definition: Fl_Window.H:257
This widget produces an actual window.
Definition: Fl_Window.H:54
void force_position(int force)
Sets an internal flag that tells FLTK and the window manager to honor position requests.
Definition: Fl_Window.H:140
Fl_Cursor
The following constants define the mouse cursors that are available in FLTK.
Definition: Enumerations.H:887
const char * label() const
See void Fl_Window::label(const char*)
Definition: Fl_Window.H:370
int force_position() const
Returns the internal state of the window's FORCE_POSITION flag.
Definition: Fl_Window.H:152
unsigned int border() const
See void Fl_Window::border(int)
Definition: Fl_Window.H:235
void set_override()
Activates the flags NOBORDER|FL_OVERRIDE.
Definition: Fl_Window.H:237
virtual Fl_Window * as_window()
Returns an Fl_Window pointer if this widget is an Fl_Window.
Definition: Fl_Window.H:517
void free_position()
Undoes the effect of a previous resize() or show() so that the next time show() is called the window ...
Definition: Fl_Window.H:321
unsigned int non_modal() const
Returns true if this window is modal or non-modal.
Definition: Fl_Window.H:259
unsigned int modal() const
Returns true if this window is modal.
Definition: Fl_Window.H:250
The Fl_RGB_Image class supports caching and drawing of full-color images with 1 to 4 channels of colo...
Definition: Fl_Image.H:168
void draw()
Draws the widget.
Definition: Fl_Group.cxx:736
The Fl_Group class is the FLTK container widget.
Definition: Fl_Group.H:36
int handle(int)
Handles the specified event.
Definition: Fl_Group.cxx:145
void set_tooltip_window()
Marks the window as a tooltip window.
Definition: Fl_Window.H:295
void clear_border()
Fast inline function to turn the window manager border off.
Definition: Fl_Window.H:233
void resize(int, int, int, int)
Resizes the Fl_Group widget and all of its children.
Definition: Fl_Group.cxx:632
unsigned int Fl_Color
an FLTK color value
Definition: Enumerations.H:774
static Fl_Window * current_
Stores the last window that was made current.
Definition: Fl_Window.H:127
void hotspot(const Fl_Widget &p, int offscreen=0)
See void Fl_Window::hotspot(int x, int y, int offscreen = 0)
Definition: Fl_Window.H:311
void size_range(int minw, int minh, int maxw=0, int maxh=0, int dw=0, int dh=0, int aspect=0)
Sets the allowable range the user can resize this window to.
Definition: Fl_Window.H:358
unsigned int menu_window() const
Returns true if this window is a menu window.
Definition: Fl_Window.H:277
void set_menu_window()
Marks the window as a menu window.
Definition: Fl_Window.H:274
void set_modal()
A "modal" window, when shown(), will prevent any events from being delivered to other windows in the ...
Definition: Fl_Window.H:248
int shown()
Returns non-zero if show() has been called (but not hide() ).
Definition: Fl_Window.H:405
unsigned int fullscreen_active() const
Returns non zero if FULLSCREEN flag is set, 0 otherwise.
Definition: Fl_Window.H:472
const char * iconlabel() const
See void Fl_Window::iconlabel(const char*)
Definition: Fl_Window.H:372
unsigned int tooltip_window() const
Returns true if this window is a tooltip window.
Definition: Fl_Window.H:298
static Fl_Group * current()
Returns the currently active group.
Definition: Fl_Group.cxx:84
unsigned char uchar
unsigned char
Definition: fl_types.h:30