00001
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef OMGUI_PANEL_H
00024 #define OMGUI_PANEL_H
00025
00026 #include <omgui/widget.h>
00027 #include <omgui/initializer/panel.h>
00028
00029 namespace omgui {
00030
00038 class OMGUI_API Panel : public Widget
00039 {
00040 public:
00041 typedef omgui::api::Panel api_type;
00042
00046 bool is_orphaned() const;
00047
00053 void remove_child(Widget *child);
00054
00063 void update_layout();
00064
00070 void invalidate_cached_child_values();
00071
00072 private:
00073 api_type *m_impl;
00074
00075 protected:
00076 Panel(object_id id, api_type *impl);
00077
00078 public:
00079 api_type *get_impl() const;
00080 };
00081
00082 }
00083
00084 #endif // OMGUI_PANEL_H