Classes | |
| class | Button |
| class | ComboBox |
| class | CreationHook |
| class | EntryBox |
| class | EventLoop |
| class | Menu |
| class | MenuBar |
| class | MenuItem |
| class | Notebook |
| class | Panel |
| class | ScopedDC |
| class | SecureEntryBox |
| class | Separator |
| class | TableLayout |
| class | TextBox |
| class | TextWidget |
| class | Widget |
| class | Window |
Typedefs | |
| typedef HRESULT(__stdcall * | CloseThemeDataPtr )(HTHEME hTheme) |
| typedef HRESULT(__stdcall * | DrawThemeBackgroundPtr )(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, const RECT *pClipRect) |
| typedef HRESULT(__stdcall * | DrawThemeParentBackground )(HWND hwnd, HDC hdc, const RECT *prc) |
| typedef HRESULT(__stdcall * | EnableThemeDialogTexture )(HWND hwnd, DWORD dwFlags) |
| typedef HRESULT(__stdcall * | GetThemeBackgroundContentRect )(HTHEME hTheme, OPTIONAL HDC hdc, int iPartId, int iStateId, const RECT *pBoundingRect, OUT RECT *pContentRect) |
| typedef HRESULT(__stdcall * | GetThemeMargins )(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, RECT *prc, MARGINS *pMargins) |
| typedef BOOL(__stdcall * | IsAppThemedPtr )() |
| typedef HTHEME(__stdcall * | OpenThemeDataPtr )(HWND hwnd, LPCWSTR pszClassList) |
Functions | |
| void | associate_hwnd (HWND h, Widget *wnd) |
| void | disassociate_hwnd (HWND h) |
| HINSTANCE | get_instance_handle () |
| Widget * | get_widget_from_hwnd (HWND h) |
| bool | has_widgets () |
| void | initialize () |
| void | save_instance_handle (HINSTANCE h) |
| bool | theme_support () |
| LRESULT CALLBACK | widget_wndproc (HWND hwnd, UINT msg, WPARAM w_param, LPARAM l_param) |
| LRESULT CALLBACK | window_wndproc (HWND hwnd, UINT msg, WPARAM w_param, LPARAM l_param) |
Variables | |
| const TCHAR | CLASSNAME [] = TEXT("omgui::Panel") |
| CloseThemeDataPtr | close_theme_data = 0 |
| DrawThemeBackgroundPtr | draw_theme_background = 0 |
| DrawThemeParentBackground | draw_theme_parent_background = 0 |
| EnableThemeDialogTexture | enable_theme_dialog_texture = 0 |
| GetThemeBackgroundContentRect | get_theme_background_content_rect = 0 |
| GetThemeMargins | get_theme_margins = 0 |
| HINSTANCE | handle |
| IsAppThemedPtr | is_app_themed = 0 |
| HHOOK | m_hook = 0 |
| Widget * | m_widget = 0 |
| const char *const | MessageTypeNames [WM_USER+1] |
| OpenThemeDataPtr | open_theme_data = 0 |
| HMODULE | uxtheme_lib = 0 |
| typedef HRESULT(__stdcall * omgui::win32::CloseThemeDataPtr)(HTHEME hTheme) |
| typedef HRESULT(__stdcall * omgui::win32::DrawThemeBackgroundPtr)(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *pRect, const RECT *pClipRect) |
| typedef HRESULT(__stdcall * omgui::win32::DrawThemeParentBackground)(HWND hwnd, HDC hdc, const RECT *prc) |
| typedef HRESULT(__stdcall * omgui::win32::EnableThemeDialogTexture)(HWND hwnd, DWORD dwFlags) |
| typedef HRESULT(__stdcall * omgui::win32::GetThemeBackgroundContentRect)(HTHEME hTheme, OPTIONAL HDC hdc, int iPartId, int iStateId, const RECT *pBoundingRect, OUT RECT *pContentRect) |
| typedef HRESULT(__stdcall * omgui::win32::GetThemeMargins)(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, RECT *prc, MARGINS *pMargins) |
| typedef BOOL(__stdcall * omgui::win32::IsAppThemedPtr)() |
| typedef HTHEME(__stdcall * omgui::win32::OpenThemeDataPtr)(HWND hwnd, LPCWSTR pszClassList) |
| void omgui::win32::associate_hwnd | ( | HWND | h, | |
| Widget * | wnd | |||
| ) |
| void omgui::win32::disassociate_hwnd | ( | HWND | h | ) |
Disasociate a Widget pointer from a HWND
| HINSTANCE omgui::win32::get_instance_handle | ( | ) |
| T * omgui::win32::get_widget_from_hwnd | ( | HWND | h | ) | [inline] |
Returns the omgui::win32::Widget associated with the given HWND, if any.
| bool omgui::win32::has_widgets | ( | ) |
This is used to determine when an application should terminate. Win32 applications terminate when there are no native widgets remaining.
| void omgui::win32::initialize | ( | ) |
Checks for uxtheme support and initializes function pointers
| void omgui::win32::save_instance_handle | ( | HINSTANCE | handle | ) |
Saves the module handle. Used in DLL builds
| bool omgui::win32::theme_support | ( | ) |
| LRESULT CALLBACK omgui::win32::widget_wndproc | ( | HWND | hwnd, | |
| UINT | msg, | |||
| WPARAM | w_param, | |||
| LPARAM | l_param | |||
| ) |
This is the window procedure which is implemented outside of the win32::widget classes. It is called by the window procedures for all widgets and contains only common functionality.
| LRESULT CALLBACK omgui::win32::window_wndproc | ( | HWND | hwnd, | |
| UINT | msg, | |||
| WPARAM | w_param, | |||
| LPARAM | l_param | |||
| ) |
const TCHAR omgui::win32::CLASSNAME[] = TEXT("omgui::Panel") [static] |
HINSTANCE omgui::win32::handle [static] |
HHOOK omgui::win32::m_hook = 0 [static] |
Widget* omgui::win32::m_widget = 0 [static] |
| const char* const omgui::win32::MessageTypeNames[WM_USER+1] |
HMODULE omgui::win32::uxtheme_lib = 0 [static] |