28#if !defined(FL_PLATFORM_H) && !defined(FL_DOXYGEN)
31# include <FL/Fl_Export.H>
38# elif defined(FLTK_USE_WAYLAND)
40# elif defined(FLTK_USE_X11)
42# elif defined(__APPLE__)
49#if defined(FL_LIBRARY) || defined(FL_INTERNALS)
60 static Fl_X* flx(
const Fl_Window* w) {
return w ? (Fl_X*)w->flx_ : 0;}
61# if defined(FLTK_USE_X11) && FLTK_USE_X11
62 static void make_xid(
Fl_Window*, XVisualInfo* =fl_visual, Colormap=fl_colormap);
64 static inline Fl_X* i(
const Fl_Window* w) {
return flx(w);}
68inline Window fl_xid(
const Fl_Window* w) { Fl_X *xTemp = Fl_X::flx(w);
return xTemp ? (Window)xTemp->xid : 0; }
70extern FL_EXPORT Window fl_xid_(
const Fl_Window* w);
71# define fl_xid(w) fl_xid_(w)
77extern FL_EXPORT Window fl_window;
Fl_Window * fl_find(Window xid)
Returns the Fl_Window that corresponds to the given window reference, or NULL if not found.
Definition: Fl.cxx:750
void fl_open_display()
Opens the display.
Definition: Fl.cxx:2267
void fl_close_display()
Closes the connection to the windowing system when that's possible.
Definition: Fl.cxx:2278
int fl_parse_color(const char *p, uchar &r, uchar &g, uchar &b)
Parse a string containing a description of a color and write r, g, and b.
Definition: Fl_get_system_colors.cxx:114
This widget produces an actual window.
Definition: Fl_Window.H:55
This file contains simple "C"-style type definitions.
unsigned char uchar
unsigned char
Definition: fl_types.h:30
void fl_open_callback(void(*cb)(const char *))
Register a function called for each file dropped onto an application icon.
Definition: Fl.cxx:2316
Mac OS X-specific symbols.
Definitions of functions specific to the Wayland platform.
Definitions of functions specific to the Windows platform.
Definitions of functions specific to the X11 platform.