fltk/x11.h File Reference


Classes

class  fltk::CreatedWindow

Namespaces

namespace  fltk

Typedefs

typedef struct _cairo cairo_t

Functions

Region XRectangleRegion (int x, int y, int w, int h)
fltk/osx.h
RgnHandle fltk::clip_region ()
void fltk::close_display ()
void fltk::open_display ()
HFONT fltk::xfont ()
fltk/win32.h
COLORREF fltk::xpixel (Color i)

fltk/x11.h

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
void fltk::clip_region (Region)
void fltk::draw_into (XWindow, int w, int h)
Window * fltk::find (XWindow xid)
bool fltk::handle ()
void fltk::open_display (Display *)
void fltk::stop_drawing (XWindow)
XftFont * fltk::xftfont ()
XWindow fltk::xid (const Window *w)

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.


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 Jun 17 08:53:24 2009. 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.