fltk 1.3.0rc3
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Release candidate.
  SfR Fresh Dox: fltk-1.3.0rc3-source.tar.gz ("inofficial" and yet experimental doxygen-generated source code documentation)  

x.H File Reference

#include "Enumerations.H"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include "Fl_Window.H"
#include "Xutf8.h"
Include dependency graph for x.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Fl_XFont_On_Demand
class  Fl_X

Defines

#define Fl_X_H
#define fl_create_offscreen(w, h)
#define fl_begin_offscreen(pixmap)
#define fl_end_offscreen()   fl_pop_clip(); fl_window = _sw; _ss->set_current()
#define fl_delete_offscreen(pixmap)   XFreePixmap(fl_display, pixmap)

Typedefs

typedef Region Fl_Region
typedef ulong Fl_Offscreen
typedef ulong Fl_Bitmask

Functions

FL_EXPORT void fl_open_display ()
FL_EXPORT void fl_open_display (Display *)
FL_EXPORT void fl_close_display ()
FL_EXPORT ulong fl_xpixel (Fl_Color i)
FL_EXPORT ulong fl_xpixel (uchar r, uchar g, uchar b)
FL_EXPORT void fl_clip_region (Fl_Region)
FL_EXPORT Fl_Region fl_clip_region ()
FL_EXPORT Fl_Region XRectangleRegion (int x, int y, int w, int h)
FL_EXPORT int fl_handle (const XEvent &)
void fl_copy_offscreen (int x, int y, int w, int h, Fl_Offscreen pixmap, int srcx, int srcy)
FL_EXPORT Fl_Bitmask fl_create_bitmask (int w, int h, const uchar *data)
FL_EXPORT Fl_Bitmask fl_create_alphamask (int w, int h, int d, int ld, const uchar *data)
FL_EXPORT void fl_delete_bitmask (Fl_Bitmask bm)
Window fl_xid (const Fl_Window *w)
FL_EXPORT Fl_Windowfl_find (Window xid)
void fl_open_callback (void(*)(const char *))
 Register a function called for each file dropped onto an application icon.
FL_EXPORT int fl_parse_color (const char *p, uchar &r, uchar &g, uchar &b)

Variables

FL_EXPORT Display * fl_display
 END TIMERS //////////////////////////////////////////////////////////////////////////.
FL_EXPORT Window fl_message_window
FL_EXPORT int fl_screen
FL_EXPORT XVisualInfo * fl_visual
FL_EXPORT Colormap fl_colormap
FL_EXPORT Fl_XFont_On_Demand fl_xfont
FL_EXPORT GC fl_gc
FL_EXPORT Window fl_window
FL_EXPORT void * fl_xftfont
FL_EXPORT const XEvent * fl_xevent
FL_EXPORT ulong fl_event_time
FL_EXPORT char fl_override_redirect
FL_EXPORT int fl_background_pixel

Define Documentation

#define fl_begin_offscreen (   pixmap)
#define fl_create_offscreen (   w,
  h 
)
Value:

Definition at line 113 of file x.H.

#define fl_delete_offscreen (   pixmap)    XFreePixmap(fl_display, pixmap)

Definition at line 127 of file x.H.

#define fl_end_offscreen ( )    fl_pop_clip(); fl_window = _sw; _ss->set_current()

Definition at line 123 of file x.H.

#define Fl_X_H

Definition at line 34 of file x.H.


Typedef Documentation

typedef ulong Fl_Bitmask

Definition at line 130 of file x.H.

Definition at line 112 of file x.H.

typedef Region Fl_Region

Definition at line 55 of file x.H.


Function Documentation

FL_EXPORT void fl_close_display ( )

get rid of allocated resources

Definition at line 1573 of file Fl_mac.cxx.

References Fl::remove_fd().

FL_EXPORT Fl_Bitmask fl_create_alphamask ( int  w,
int  h,
int  d,
int  ld,
const uchar data 
)

Definition at line 179 of file Fl_Bitmap.cxx.

References dataptr, fl_create_bitmask(), h, w, x, and y.

FL_EXPORT Fl_Bitmask fl_create_bitmask ( int  w,
int  h,
const uchar data 
)

Definition at line 165 of file Fl_Bitmap.cxx.

References fl_display, and fl_window.

FL_EXPORT void fl_delete_bitmask ( Fl_Bitmask  bm)

Definition at line 170 of file Fl_Bitmap.cxx.

References fl_delete_offscreen().

FL_EXPORT Fl_Window* fl_find ( Window  xid)

Definition at line 616 of file Fl.cxx.

FL_EXPORT void fl_open_display ( Display *  )

Definition at line 587 of file Fl_x.cxx.

References Fl::add_fd(), fl_init_xim(), FL_RGB, num, and Fl::visual().

FL_EXPORT void fl_open_display ( )
FL_EXPORT int fl_parse_color ( const char *  p,
uchar r,
uchar g,
uchar b 
)

Definition at line 131 of file Fl_get_system_colors.cxx.

References fl_colormap, fl_display, fl_open_display(), and x.

FL_EXPORT Fl_Region XRectangleRegion ( int  x,
int  y,
int  w,
int  h 
)

Variable Documentation

FL_EXPORT int fl_background_pixel

Definition at line 1533 of file Fl_x.cxx.

FL_EXPORT Colormap fl_colormap
FL_EXPORT Display* fl_display

END TIMERS //////////////////////////////////////////////////////////////////////////.

Definition at line 1687 of file Fl_win32.cxx.

FL_EXPORT ulong fl_event_time

Definition at line 102 of file Fl_mac.cxx.

Referenced by Fl::grab().

FL_EXPORT GC fl_gc

Definition at line 97 of file Fl_mac.cxx.

Definition at line 295 of file Fl_x.cxx.

Referenced by fl_destroy_xft_draw().

FL_EXPORT char fl_override_redirect
FL_EXPORT int fl_screen
FL_EXPORT XVisualInfo* fl_visual

Definition at line 297 of file Fl_x.cxx.

Referenced by fl_read_image(), fl_rectf(), fl_xpixel(), Fl::own_colormap(), and Fl::visual().

FL_EXPORT Window fl_window

Definition at line 108 of file Fl_mac.cxx.

FL_EXPORT const XEvent* fl_xevent

Definition at line 779 of file Fl_x.cxx.

Definition at line 42 of file fl_font_x.cxx.

FL_EXPORT void* fl_xftfont

Definition at line 265 of file fl_font_x.cxx.

Referenced by fl_font().