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)

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:49:29 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.