00001
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef OMGUI_WIN32_PANEL_H
00026 #define OMGUI_WIN32_PANEL_H
00027
00028 #include <omgui/win32/widget.h>
00029 #include <omgui/common/panel.h>
00030 #include <omgui/panel.h>
00031
00032 namespace omgui {
00033 namespace win32 {
00034 class Notebook;
00035
00036 class Panel : public virtual omgui::win32::Widget, public virtual omgui::common::Panel
00037 {
00038
00039
00040 public:
00041 Panel(omgui::Panel *panel = 0);
00042 ~Panel();
00043
00044 void create(const omgui::initializer::PanelData ¶ms);
00045
00046 int process_message(HWND hwnd, UINT msg, WPARAM w_param, LPARAM l_param);
00047
00048 void show(bool show, bool focus);
00049
00053 void begin_defer_window_pos();
00054
00058 void defer_window_pos(HWND hwnd, int x, int y, int w, int h, int flags);
00059
00063 void end_defer_window_pos();
00064
00068 HDWP get_hdwp();
00069
00078 omgui::win32::Notebook *inside_notebook() const;
00079
00080 private:
00082 HDWP m_hdwp;
00083 HTHEME m_tab_theme_data;
00084 };
00085
00086 }
00087 }
00088
00089 #endif // OMGUI_WIN32_PANEL_H