fltk
1.3.5-source
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X.
![]() ![]() |
Go to the source code of this file.
Classes | |
struct | Fl_XMap |
Macros | |
#define | fl_xid(w) fl_xid_(w) |
#define | fl_create_offscreen(w, h) CreateCompatibleBitmap( (fl_gc ? fl_gc : fl_GetDC(0) ) , w, h) |
#define | fl_begin_offscreen(b) |
#define | fl_end_offscreen() fl_pop_clip(); RestoreDC(fl_gc, _savedc); DeleteDC(fl_gc); _ss->set_current(); fl_window=_sw; fl_gc = _sgc |
#define | fl_delete_offscreen(bitmap) DeleteObject(bitmap) |
Typedefs | |
typedef HRGN | Fl_Region |
typedef HWND | Window |
typedef POINT | XPoint |
typedef HBITMAP | Fl_Offscreen |
typedef HBITMAP | Fl_Bitmask |
Functions | |
FL_EXPORT Window | fl_xid_ (const Fl_Window *w) |
FL_EXPORT Fl_Window * | fl_find (Window xid) |
void | fl_clip_region (Fl_Region) |
COLORREF | fl_RGB () |
HPEN | fl_pen () |
FL_EXPORT HBRUSH | fl_brush () |
FL_EXPORT HBRUSH | fl_brush_action (int) |
FL_EXPORT HDC | fl_GetDC (Window) |
FL_EXPORT HDC | fl_makeDC (HBITMAP) |
FL_EXPORT void | fl_copy_offscreen (int x, int y, int w, int h, HBITMAP 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) |
void | fl_open_callback (void(*)(const char *)) |
Register a function called for each file dropped onto an application icon. cb will be called with a single Unix-style file name and path. If multiple files were dropped, cb will be called multiple times. More... | |
FL_EXPORT int | fl_parse_color (const char *p, uchar &r, uchar &g, uchar &b) |
Variables | |
FL_EXPORT struct Fl_XMap * | fl_current_xmap |
FL_EXPORT HINSTANCE | fl_display |
END TIMERS. More... | |
FL_EXPORT Window | fl_window |
FL_EXPORT HDC | fl_gc |
FL_EXPORT MSG | fl_msg |
#define fl_begin_offscreen | ( | b | ) |
#define fl_end_offscreen | ( | ) | fl_pop_clip(); RestoreDC(fl_gc, _savedc); DeleteDC(fl_gc); _ss->set_current(); fl_window=_sw; fl_gc = _sgc |
typedef HBITMAP Fl_Bitmask |
typedef HBITMAP Fl_Offscreen |
FL_EXPORT HBRUSH fl_brush | ( | ) |
Definition at line 122 of file fl_color_win32.cxx.
References fl_brush_action().
Referenced by Fl_Graphics_Driver::circle(), Fl_Graphics_Driver::end_complex_polygon(), Fl_Graphics_Driver::end_polygon(), Fl_Graphics_Driver::pie(), Fl_Graphics_Driver::polygon(), and Fl_Graphics_Driver::rectf().
FL_EXPORT HBRUSH fl_brush_action | ( | int | ) |
Definition at line 126 of file fl_color_win32.cxx.
References Fl_XMap::brush, fl_current_xmap, fl_gc, FL_N_BRUSH, NULL, and Fl_XMap::rgb.
Referenced by fl_brush(), and Fl_Win32_At_Exit::~Fl_Win32_At_Exit().
FL_EXPORT void fl_copy_offscreen | ( | int | x, |
int | y, | ||
int | w, | ||
int | h, | ||
HBITMAP | pixmap, | ||
int | srcx, | ||
int | srcy | ||
) |
FL_EXPORT Fl_Bitmask fl_create_alphamask | ( | int | w, |
int | h, | ||
int | d, | ||
int | ld, | ||
const uchar * | data | ||
) |
Definition at line 170 of file Fl_Bitmap.cxx.
FL_EXPORT Fl_Bitmask fl_create_bitmask | ( | int | w, |
int | h, | ||
const uchar * | data | ||
) |
Definition at line 156 of file Fl_Bitmap.cxx.
FL_EXPORT void fl_delete_bitmask | ( | Fl_Bitmask | bm | ) |
Definition at line 161 of file Fl_Bitmap.cxx.
FL_EXPORT HDC fl_makeDC | ( | HBITMAP | ) |
Referenced by Fl_Double_Window::flush(), and Fl_Image_Surface::set_current().
Definition at line 122 of file Fl_get_system_colors.cxx.
|
inline |
Definition at line 121 of file win32.H.
References fl_current_xmap, and Fl_XMap::pen.
|
inline |
Definition at line 120 of file win32.H.
References fl_current_xmap, and Fl_XMap::rgb.
Referenced by Fl_Graphics_Driver::arc(), Fl_Graphics_Driver::end_points(), Fl_Graphics_Driver::line(), Fl_Graphics_Driver::line_style(), Fl_Graphics_Driver::pie(), and Fl_Graphics_Driver::point().
Referenced by fl_pen(), fl_RGB(), and Fl_Graphics_Driver::line_style().
FL_EXPORT HINSTANCE fl_display |
END TIMERS.
Definition at line 2147 of file Fl_win32.cxx.
Referenced by Fl_Graphics_Driver::arc(), Fl_Graphics_Driver::circle(), Fl_Xlib_Graphics_Driver::color(), Fl_Window::combine_mask(), dnd_aware(), Fl_Xlib_Graphics_Driver::draw(), draw_current_rect(), Fl_Graphics_Driver::end_complex_polygon(), Fl_Graphics_Driver::end_line(), Fl_Graphics_Driver::end_points(), Fl_Graphics_Driver::end_polygon(), Fl_Menu_Window::erase(), Fl::event_key(), figure_out_visual(), find_best_font(), fl_beep(), fl_create_bitmask(), fl_drawUCS4(), Fl_GTK_File_Chooser::fl_gtk_chooser_wrapper(), fl_parse_color(), fl_scroll(), fl_xft_width(), fl_xpixel(), fl_xxfont(), Fl_Menu_Window::flush(), Fl_Double_Window::flush(), Fl_Overlay_Window::flush(), Fl::flush(), fontopen(), Fl::free_color(), Fl::get_key(), getsyscolor(), Fl::grab(), Fl_Window::handle(), Fl_Double_Window::hide(), Fl_Window::hide(), Fl_Window::iconize(), innards(), Fl_Graphics_Driver::line(), Fl_Graphics_Driver::line_style(), Fl_Graphics_Driver::loop(), Fl::own_colormap(), Fl_Graphics_Driver::pie(), Fl_Graphics_Driver::point(), Fl_Graphics_Driver::polygon(), Fl_Image_Surface::prepare_(), read_win_rectangle(), Fl_Graphics_Driver::rect(), Fl_Graphics_Driver::rectf(), Fl_Double_Window::resize(), Fl_Graphics_Driver::restore_clip(), Fl_Xlib_Graphics_Driver::rtl_draw(), Fl::scheme(), screen_init(), Fl_Menu_Window::show(), Fl_Window::show(), test_visual(), Fl_Xlib_Graphics_Driver::text_extents(), utf8extents(), Fl::visual(), Fl_Graphics_Driver::xyline(), Fl_Graphics_Driver::yxline(), and Fl_Image_Surface::~Fl_Image_Surface().
FL_EXPORT HDC fl_gc |
Definition at line 2568 of file Fl_win32.cxx.
FL_EXPORT MSG fl_msg |
Definition at line 362 of file Fl_win32.cxx.
Referenced by fl_ready(), fl_wait(), and WndProc().
Definition at line 2571 of file Fl_win32.cxx.
Referenced by Fl_Graphics_Driver::arc(), Fl_Graphics_Driver::circle(), Fl_Xlib_Graphics_Driver::draw(), draw_current_rect(), Fl_Graphics_Driver::end_complex_polygon(), Fl_Graphics_Driver::end_line(), Fl_Graphics_Driver::end_points(), Fl_Graphics_Driver::end_polygon(), fl_create_bitmask(), fl_drawUCS4(), fl_read_image(), fl_scroll(), Fl_Menu_Window::flush(), Fl_Double_Window::flush(), Fl_Window::hide(), Fl_Image_Surface::image(), innards(), Fl_Graphics_Driver::line(), Fl_Graphics_Driver::loop(), Fl_Graphics_Driver::pie(), Fl_Graphics_Driver::point(), Fl_Graphics_Driver::polygon(), read_win_rectangle(), Fl_Graphics_Driver::rect(), Fl_Graphics_Driver::rectf(), Fl_Graphics_Driver::restore_clip(), Fl_Xlib_Graphics_Driver::rtl_draw(), Fl_Image_Surface::set_current(), Fl_Copy_Surface::set_current(), Fl_Xlib_Graphics_Driver::text_extents(), Fl_Graphics_Driver::xyline(), Fl_Graphics_Driver::yxline(), and Fl_Copy_Surface::~Fl_Copy_Surface().