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)  

mac.H File Reference

#include <FL/Fl_Widget.H>
Include dependency graph for mac.H:

Go to the source code of this file.

Typedefs

typedef void * Window
typedef void * Fl_Offscreen
typedef void * Fl_Bitmask
typedef void * Fl_Region
typedef void * Fl_CGContextRef
typedef void * Fl_PMPrintSettings
typedef void * Fl_PMPageFormat
typedef void * Fl_PMPrintSession

Functions

Window fl_xid (const Fl_Window *)
void fl_clip_region (Fl_Region)
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)
Fl_Offscreen fl_create_offscreen (int w, int h)
void fl_copy_offscreen (int x, int y, int w, int h, Fl_Offscreen gWorld, int srcx, int srcy)
void fl_delete_offscreen (Fl_Offscreen gWorld)
void fl_begin_offscreen (Fl_Offscreen gWorld)
void fl_end_offscreen ()
FL_EXPORT int fl_parse_color (const char *p, uchar &r, uchar &g, uchar &b)
void fl_open_display ()
void fl_open_callback (void(*cb)(const char *))
 Register a function called for each file dropped onto an application icon.
void fl_mac_set_about (Fl_Callback *cb, void *user_data, int shortcut=0)
 Attaches a callback to the "About myprog" item of the system application menu.

Variables

FL_EXPORT Fl_CGContextRef fl_gc
FL_EXPORT class Fl_Sys_Menu_Barfl_sys_menu_bar
int fl_mac_os_version
 The version number of the running Mac OS X (e.g., 0x1064 for 10.6.4)

Typedef Documentation

typedef void* Fl_Bitmask

Definition at line 40 of file mac.H.

typedef void* Fl_CGContextRef

Definition at line 45 of file mac.H.

typedef void* Fl_Offscreen

Definition at line 39 of file mac.H.

typedef void* Fl_PMPageFormat

Definition at line 47 of file mac.H.

typedef void* Fl_PMPrintSession

Definition at line 48 of file mac.H.

typedef void* Fl_PMPrintSettings

Definition at line 46 of file mac.H.

typedef void* Fl_Region

Definition at line 44 of file mac.H.

typedef void* Window

Definition at line 38 of file mac.H.


Function Documentation

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.

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

Definition at line 165 of file Fl_Bitmap.cxx.

Referenced by Fl_Xlib_Graphics_Driver::draw(), and fl_create_alphamask().

Fl_Offscreen fl_create_offscreen ( int  w,
int  h 
)
FL_EXPORT void fl_delete_bitmask ( Fl_Bitmask  bm)

Definition at line 170 of file Fl_Bitmap.cxx.

Referenced by Fl_Pixmap::uncache(), Fl_RGB_Image::uncache(), and Fl_Bitmap::uncache().

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

Variable Documentation

FL_EXPORT class Fl_Sys_Menu_Bar* fl_sys_menu_bar

Definition at line 99 of file Fl_mac.cxx.