fltk/x11.h File Reference


Detailed Description

Declarations of FLTK symbols and interfaces that only exist if FLTK is compiled to use X11, as it is by default on Unix. It is recommended you avoid using this header file, and that you segregate code requiring it to it's own source file.

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


Function Documentation

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().


Wed Sep 10 02:47:46 2008. FLTK ©2007 Bill Spitzak and others.
Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.