41# error "Never use <FL/win32.H> directly; include <FL/platform.H> instead."
47typedef struct HGLRC__ *HGLRC;
53#if defined(FL_LIBRARY) || defined(FL_INTERNALS)
57#define LPMINMAXINFO MINMAXINFO*
65extern FL_EXPORT UINT fl_wake_msg;
66extern FL_EXPORT
char fl_override_redirect;
67extern FL_EXPORT HPALETTE fl_palette;
68extern void fl_release_dc(HWND w, HDC dc);
69extern FL_EXPORT
void fl_save_dc( HWND w, HDC dc);
74extern FL_EXPORT
struct Fl_XMap {
80inline COLORREF fl_RGB() {
return fl_current_xmap->rgb;}
81inline HPEN fl_pen() {
return fl_current_xmap->pen;}
82FL_EXPORT HBRUSH fl_brush();
83FL_EXPORT HBRUSH fl_brush_action(
int);
85extern FL_EXPORT HINSTANCE fl_display;
87extern FL_EXPORT HDC fl_gc;
89extern FL_EXPORT MSG fl_msg;
90extern FL_EXPORT HDC fl_GetDC(Window);
91extern FL_EXPORT HDC fl_makeDC(HBITMAP);
This widget produces an actual window.
Definition Fl_Window.H:55
Fl_Window * fl_win32_find(HWND)
Returns the Fl_Window corresponding to the given Windows-specific window reference.
HWND fl_win32_xid(const Fl_Window *win)
Returns the Windows-specific window reference corresponding to the given Fl_Window object.
HGLRC fl_win32_glcontext(GLContext rc)
Returns the Windows-specific GL rendering context corresponding to the given GLContext
HDC fl_win32_gc()
Returns the Windows-specific graphics context for the current window
HINSTANCE fl_win32_display()
Returns the Windows-specific display in use