|
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) ![]() |

Go to the source code of this file.
Classes | |
| struct | XRectangle |
| class | Fl_X |
| struct | Fl_XMap |
Defines | |
| #define | LPMINMAXINFO MINMAXINFO* |
| #define | VK_LWIN 0x5B |
| #define | VK_RWIN 0x5C |
| #define | VK_APPS 0x5D |
| #define | XDestroyWindow(a, b) DestroyWindow(b) |
| #define | XMapWindow(a, b) ShowWindow(b, SW_RESTORE) |
| #define | XUnmapWindow(a, b) ShowWindow(b, SW_HIDE) |
| #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 HWND | Window |
| typedef POINT | XPoint |
| typedef HRGN | Fl_Region |
| typedef HBITMAP | Fl_Offscreen |
| typedef HBITMAP | Fl_Bitmask |
Functions | |
| FL_EXPORT void | fl_clip_region (Fl_Region) |
| Fl_Region | XRectangleRegion (int x, int y, int w, int h) |
| void | XDestroyRegion (Fl_Region r) |
| void | XClipBox (Fl_Region r, XRectangle *rect) |
| Window | fl_xid (const Fl_Window *w) |
| FL_EXPORT Fl_Window * | fl_find (Window xid) |
| 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 void | fl_release_dc (HWND w, HDC dc) |
| FL_EXPORT void | fl_save_dc (HWND w, HDC dc) |
| 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 void | fl_copy_offscreen_with_alpha (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. | |
| FL_EXPORT int | fl_parse_color (const char *p, uchar &r, uchar &g, uchar &b) |
Variables | |
| FL_EXPORT HCURSOR | fl_default_cursor |
| FL_EXPORT UINT | fl_wake_msg |
| FL_EXPORT char | fl_override_redirect |
| FL_EXPORT int | fl_background_pixel |
| FL_EXPORT struct Fl_XMap * | fl_current_xmap |
| FL_EXPORT HINSTANCE | fl_display |
| END TIMERS //////////////////////////////////////////////////////////////////////////. | |
| FL_EXPORT Window | fl_window |
| FL_EXPORT HDC | fl_gc |
| FL_EXPORT HPALETTE | fl_palette |
| FL_EXPORT MSG | fl_msg |
| #define fl_begin_offscreen | ( | b | ) |
HDC _sgc=fl_gc; Window _sw=fl_window; \ Fl_Surface_Device *_ss = fl_surface; fl_display_device->set_current(); \ fl_gc=fl_makeDC(b); int _savedc = SaveDC(fl_gc); fl_window=(HWND)b; fl_push_no_clip()
Definition at line 65 of file win32.H.
Referenced by Fl_Window::hide().
Definition at line 66 of file win32.H.
Referenced by Fl_Overlay_Window::flush(), Fl_Window::handle(), main(), and Fl_X::make_xid().
Definition at line 67 of file win32.H.
Referenced by Fl_Overlay_Window::flush(), and Fl_Window::handle().
| typedef HBITMAP Fl_Bitmask |
| typedef HBITMAP Fl_Offscreen |
| FL_EXPORT HBRUSH fl_brush | ( | ) |
Definition at line 133 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 137 of file fl_color_win32.cxx.
References Fl_XMap::brush, fl_current_xmap, fl_gc, FL_N_BRUSH, i, NULL, and Fl_XMap::rgb.
Referenced by fl_brush().
| FL_EXPORT void fl_copy_offscreen | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h, | ||
| HBITMAP | pixmap, | ||
| int | srcx, | ||
| int | srcy | ||
| ) |
| FL_EXPORT void fl_copy_offscreen_with_alpha | ( | 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 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.
| FL_EXPORT void fl_delete_bitmask | ( | Fl_Bitmask | bm | ) |
Definition at line 170 of file Fl_Bitmap.cxx.
Definition at line 616 of file Fl.cxx.
Referenced by FLDropTarget::DragEnter(), Fl::first_window(), fl_handle(), and fl_read_image().
| FL_EXPORT HDC fl_GetDC | ( | Window | ) |
| FL_EXPORT HDC fl_makeDC | ( | HBITMAP | ) |
Referenced by Fl_Double_Window::flush().
Definition at line 131 of file Fl_get_system_colors.cxx.
| HPEN fl_pen | ( | ) | [inline] |
Definition at line 109 of file win32.H.
References fl_current_xmap, and Fl_XMap::pen.
| FL_EXPORT void fl_release_dc | ( | HWND | w, |
| HDC | dc | ||
| ) |
Definition at line 1887 of file Fl_win32.cxx.
References Win_DC_List::dc, Win_DC_List::next, and Win_DC_List::saved_dc.
Referenced by fl_GetDC(), and Fl_Window::hide().
| COLORREF fl_RGB | ( | ) | [inline] |
Definition at line 108 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().
| FL_EXPORT void fl_save_dc | ( | HWND | w, |
| HDC | dc | ||
| ) |
Definition at line 1874 of file Fl_win32.cxx.
References Win_DC_List::dc, Win_DC_List::next, NULL, Win_DC_List::saved_dc, w, and Win_DC_List::window.
Referenced by fl_GetDC().
| void XClipBox | ( | Fl_Region | r, |
| XRectangle * | rect | ||
| ) | [inline] |
Definition at line 58 of file win32.H.
References XRectangle::height, XRectangle::width, XRectangle::x, and XRectangle::y.
Referenced by Fl_Graphics_Driver::clip_box().
| void XDestroyRegion | ( | Fl_Region | r | ) | [inline] |
Definition at line 57 of file win32.H.
Referenced by Fl_Graphics_Driver::clip_box(), Fl_Widget::damage(), fl_clip_region(), Fl_Double_Window::flush(), Fl::flush(), Fl_Window::hide(), Fl_Graphics_Driver::pop_clip(), and Fl_Graphics_Driver::push_clip().
| Fl_Region XRectangleRegion | ( | int | x, |
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) |
Definition at line 519 of file fl_rect.cxx.
Referenced by Fl_Graphics_Driver::clip_box(), Fl_Widget::damage(), and Fl_Graphics_Driver::push_clip().
| FL_EXPORT int fl_background_pixel |
Definition at line 1533 of file Fl_x.cxx.
Referenced by Fl_X::make_xid(), and Fl_Menu_Window::show().
| FL_EXPORT struct Fl_XMap * fl_current_xmap |
Referenced by fl_brush_action(), fl_pen(), fl_RGB(), and Fl_Graphics_Driver::line_style().
| FL_EXPORT HCURSOR fl_default_cursor |
Definition at line 100 of file Fl_mac.cxx.
Referenced by fl_open_display(), and Fl_X::make().
| FL_EXPORT HINSTANCE fl_display |
END TIMERS //////////////////////////////////////////////////////////////////////////.
Definition at line 1687 of file Fl_win32.cxx.
Referenced by Fl_Graphics_Driver::arc(), Fl_Graphics_Driver::circle(), Fl_Xlib_Graphics_Driver::color(), Fl_Window::cursor(), Fl_Xlib_Graphics_Driver::draw(), 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(), fl_beep(), fl_create_bitmask(), fl_parse_color(), fl_read_image(), fl_ready(), fl_restore_clip(), fl_scroll(), fl_wait(), fl_width(), fl_xpixel(), fl_xxfont(), Fl_Overlay_Window::flush(), Fl_Menu_Window::flush(), Fl_Double_Window::flush(), Fl::flush(), Fl::free_color(), Fl::get_key(), Fl::grab(), Fl_Window::handle(), Fl_Window::hide(), Fl_Window::iconize(), 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_Graphics_Driver::rect(), Fl_Graphics_Driver::rectf(), Fl_Double_Window::resize(), Fl_Xlib_Graphics_Driver::rtl_draw(), Fl::scheme(), Fl_Menu_Window::show(), Fl_Window::show(), Fl::visual(), Fl_Graphics_Driver::xyline(), and Fl_Graphics_Driver::yxline().
| FL_EXPORT HDC fl_gc |
Definition at line 97 of file Fl_mac.cxx.
| FL_EXPORT MSG fl_msg |
Definition at line 342 of file Fl_win32.cxx.
| FL_EXPORT char fl_override_redirect |
| FL_EXPORT HPALETTE fl_palette |
Definition at line 51 of file fl_color_win32.cxx.
Referenced by fl_rectf().
| FL_EXPORT UINT fl_wake_msg |
Definition at line 1379 of file Fl_win32.cxx.
Referenced by fl_wait().
Definition at line 108 of file Fl_mac.cxx.
Referenced by Fl_Graphics_Driver::arc(), Fl_Graphics_Driver::circle(), Fl_Xlib_Graphics_Driver::draw(), 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_read_image(), fl_restore_clip(), fl_scroll(), Fl_Menu_Window::flush(), Fl_Double_Window::flush(), Fl_Window::hide(), Fl_Graphics_Driver::line(), Fl_Graphics_Driver::loop(), Fl_Window::make_current(), Fl_Graphics_Driver::pie(), Fl_Graphics_Driver::point(), Fl_Graphics_Driver::polygon(), Fl_Graphics_Driver::rect(), Fl_Graphics_Driver::rectf(), Fl_Xlib_Graphics_Driver::rtl_draw(), Fl_Graphics_Driver::xyline(), and Fl_Graphics_Driver::yxline().