This header includes the Xlib.h, Xutil.h, Xatom.h, XInput.h, and XI.h header files, with sufficent wrappers to avoid conflicts with FLTK. In particular a macro is used so that "Window" is replaced by "XWindow" in these headers. You should use this rather than including the X header files directly.
Namespaces | |
| namespace | fltk |
Classes | |
| class | fltk::CreatedWindow |
Typedefs | |
| typedef struct _cairo | cairo_t |
Functions | |
| RgnHandle | fltk::clip_region () |
| void | fltk::clip_region (Region) |
| void | fltk::close_display () |
| void | fltk::draw_into (XWindow, int w, int h) |
| Window * | fltk::find (XWindow xid) |
| bool | fltk::handle () |
| void | fltk::open_display (Display *) |
| void | fltk::open_display () |
| void | fltk::stop_drawing (XWindow) |
| HFONT | fltk::xfont () |
| XftFont * | fltk::xftfont () |
| XWindow | fltk::xid (const Window *w) |
| COLORREF | fltk::xpixel (Color i) |
| Region | XRectangleRegion (int x, int y, int w, int h) |
Variables | |
| Atom | fltk::dnd_action |
| Atom | fltk::dnd_source_action |
| Atom * | fltk::dnd_source_types |
| XWindow | fltk::dnd_source_window |
| Atom | fltk::dnd_type |
| ulong | fltk::event_time |
| GC | fltk::gc |
| XWindow | fltk::message_window |
| Colormap | fltk::xcolormap |
| XEvent | fltk::xevent |
| XftDraw * | fltk::xftc |
| int | fltk::xscreen |
| XVisualInfo * | fltk::xvisual |
| XWindow | fltk::xwindow |
| Region XRectangleRegion | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) |
Missing X call, this creates and returns a Region with a single rectangle.
References XRectangleRegion().
Referenced by fltk::clipout(), fltk::intersect_with_clip(), fltk::push_clip(), and XRectangleRegion().
©2007 Bill Spitzak and others.