34#define FL_DOUBLE_WINDOW 0xF1
59 static char *default_xclass_;
63#if FLTK_ABI_VERSION < 10301
67#if FLTK_ABI_VERSION < 10301
71#if FLTK_ABI_VERSION < 10301
75#if FLTK_ABI_VERSION < 10301
79#if FLTK_ABI_VERSION < 10303
82 int fullscreen_screen_top;
83#if FLTK_ABI_VERSION < 10303
86 int fullscreen_screen_bottom;
87#if FLTK_ABI_VERSION < 10303
90 int fullscreen_screen_left;
91#if FLTK_ABI_VERSION < 10303
94 int fullscreen_screen_right;
100 const void *legacy_icon;
109 const char* iconlabel_;
111 struct icon_data *icon_;
113 int minw, minh, maxw, maxh;
115 uchar size_range_set;
118#if FLTK_ABI_VERSION < 10303
129#if defined(__APPLE__)
130 typedef struct CGImage* CGImageRef;
136#if FLTK_ABI_VERSION < 10303 && !defined(FL_DOXYGEN)
142 void shape_alpha_(
Fl_Image* img,
int offset);
143 void shape_pixmap_(
Fl_Image* pixmap);
150#if ! (defined(WIN32) || defined(__APPLE__) || defined(FL_DOXYGEN))
151 void combine_mask(
void);
159 void fullscreen_off_x(
int X,
int Y,
int W,
int H);
171 virtual void flush();
182 if (force)
set_flag(FORCE_POSITION);
227 Fl_Window(
int w,
int h,
const char* title= 0);
232 Fl_Window(
int x,
int y,
int w,
int h,
const char* title = 0);
261 virtual void resize(
int X,
int Y,
int W,
int H);
387 void hotspot(
int x,
int y,
int offscreen = 0);
389 void hotspot(
const Fl_Widget*,
int offscreen = 0);
438 void size_range(
int minw,
int minh,
int maxw=0,
int maxh=0,
int dw=0,
int dh=0,
int aspect=0) {
445 this->aspect = aspect;
454 void label(
const char*);
456 void iconlabel(
const char*);
458 void label(
const char* label,
const char* iconlabel);
461 static void default_xclass(
const char*);
462 static const char *default_xclass();
463 const char* xclass()
const;
464 void xclass(
const char* c);
472 static void default_icons(HICON big_icon, HICON small_icon);
473 void icons(HICON big_icon, HICON small_icon);
477 const void* icon()
const;
478 void icon(
const void * ic);
538 void show(
int argc,
char **argv);
541 void wait_for_expose();
558 void fullscreen_off();
563 void fullscreen_off(
int X,
int Y,
int W,
int H);
578 void fullscreen_screens(
int top,
int bottom,
int left,
int right);
Fl_Cursor
The following constants define the mouse cursors that are available in FLTK.
Definition: Enumerations.H:1046
unsigned int Fl_Color
An FLTK color value; see also Colors
Definition: Enumerations.H:932
The Fl_Bitmap class supports caching and drawing of mono-color (bitmap) images.
Definition: Fl_Bitmap.H:33
The Fl_Group class is the FLTK container widget.
Definition: Fl_Group.H:41
int handle(int)
Handles the specified event.
Definition: Fl_Group.cxx:147
void draw()
Draws the widget.
Definition: Fl_Group.cxx:738
static Fl_Group * current()
Returns the currently active group.
Definition: Fl_Group.cxx:84
Base class for image caching and drawing.
Definition: Fl_Image.H:55
The Fl_RGB_Image class supports caching and drawing of full-color images with 1 to 4 channels of colo...
Definition: Fl_Image.H:202
This widget produces an actual window.
Definition: Fl_Window.H:57
shape_data_type * shape_data_
non-null means the window has a non-rectangular shape
Definition: Fl_Window.H:139
int force_position() const
Returns the internal state of the window's FORCE_POSITION flag.
Definition: Fl_Window.H:193
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:401
unsigned int fullscreen_active() const
Returns non zero if FULLSCREEN flag is set, 0 otherwise.
Definition: Fl_Window.H:567
void force_position(int force)
Sets an internal flag that tells FLTK and the window manager to honor position requests.
Definition: Fl_Window.H:181
int decorated_h()
Returns the window height including any window title bar and any frame added by the window manager.
void set_menu_window()
Marks the window as a menu window.
Definition: Fl_Window.H:354
const char * iconlabel() const
See void Fl_Window::iconlabel(const char*)
Definition: Fl_Window.H:452
void clear_modal_states()
Clears the "modal" flags and converts a "modal" or "non-modal" window back into a "normal" window.
Definition: Fl_Window.H:339
unsigned int non_modal() const
Returns true if this window is modal or non-modal.
Definition: Fl_Window.H:300
void make_current()
Sets things up so that the drawing functions in <FL/fl_draw.H> will go into this window.
unsigned int menu_window() const
Returns true if this window is a menu window.
Definition: Fl_Window.H:357
void shape(const Fl_Image &b)
Set the window's shape with an Fl_Image.
Definition: Fl_Window.H:149
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:391
void label(const char *label, const char *iconlabel)
Sets the icon label.
int decorated_w()
Returns the window width including any frame added by the window manager.
virtual Fl_Window * as_window()
Returns an Fl_Window pointer if this widget is an Fl_Window.
Definition: Fl_Window.H:612
static Fl_Window * current_
Stores the last window that was made current.
Definition: Fl_Window.H:168
void set_override()
Activates the flags NOBORDER|FL_OVERRIDE.
Definition: Fl_Window.H:278
virtual void show()
Puts the window on the screen.
unsigned int modal() const
Returns true if this window is modal.
Definition: Fl_Window.H:291
unsigned int border() const
See void Fl_Window::border(int)
Definition: Fl_Window.H:276
int shown()
Returns non-zero if show() has been called (but not hide() ).
Definition: Fl_Window.H:485
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:438
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:298
void clear_border()
Fast inline function to turn the window manager border off.
Definition: Fl_Window.H:274
virtual void resize(int X, int Y, int W, int H)
Changes the size and position of the window.
void set_modal()
A "modal" window, when shown(), will prevent any events from being delivered to other windows in the ...
Definition: Fl_Window.H:289
void set_tooltip_window()
Marks the window as a tooltip window.
Definition: Fl_Window.H:375
const char * label() const
See void Fl_Window::label(const char*)
Definition: Fl_Window.H:450
unsigned int tooltip_window() const
Returns true if this window is a tooltip window.
Definition: Fl_Window.H:378
unsigned char uchar
unsigned char
Definition: fl_types.h:30
Data supporting a non-rectangular window shape.
Definition: Fl_Window.H:125
int lh_
height of shape image
Definition: Fl_Window.H:127
Fl_Bitmap * todelete_
auxiliary bitmap image
Definition: Fl_Window.H:133
Fl_Image * shape_
shape image
Definition: Fl_Window.H:128
int lw_
width of shape image
Definition: Fl_Window.H:126