FLTK is currently using the Carbon interface, and this includes the <Carbon/Carbon.h> header file. A macro is used to rename the Carbon "Style" as "XStyle" to avoid conflicts with FLTK. (all drawing is using Quartz, however!)
Many of the functions have the same name and purpose as ones defined in x11.h, just with different return types. Due to how Doxygen works, the X version of these is described here.
Namespaces | |
namespace | fltk |
fltk/osx.h | |
#define | HFONT |
void | fltk::begin_quartz_image (CGRect &, const Rectangle &) |
void | fltk::clear_quartz_clipping () |
RgnHandle | fltk::clip_region () |
void | fltk::clip_region (RgnHandle) |
void | fltk::close_display () |
void | fltk::draw_into (CGContextRef xid, int w, int h) |
void | fltk::end_quartz_image () |
void | fltk::open_callback (void(*cb)(const char *name)) |
void | fltk::open_display () |
void | fltk::stop_drawing (CGImageRef xid) |
HFONT | fltk::xfont () |
CGContextRef | fltk::quartz_gc |
WindowPtr | fltk::quartz_window |
Handle | fltk::system_menu |
SystemMenuBar * | fltk::system_menu_bar |
Typedefs | |
typedef _cairo | cairo_t |