#include <omgui/initializer/window.h>
Inherits omgui::initializer::WidgetData.
Public Member Functions | |
bool | default_position () const |
bool | get_activate () const |
Pointer< omgui::Panel > | get_content_panel () const |
omgui::Size | get_content_size () const |
bool | get_enable () const |
omgui::Size | get_max_size () const |
omgui::MenuBar * | get_menu_bar () const |
omgui::Size | get_min_size () const |
omgui::Size | get_natural_size () const |
Pointer< omgui::Panel > | get_parent () const |
omgui::Point | get_position () const |
bool | get_show () const |
string | get_title () const |
void | set_activate (bool b) |
void | set_content_panel (const Pointer< omgui::Panel > &p) |
void | set_content_size (const omgui::Size &s) |
void | set_enable (bool b) |
void | set_max_size (const omgui::Size &s) |
void | set_menu_bar (omgui::MenuBar *menubar) |
void | set_min_size (const omgui::Size &s) |
void | set_natural_size (const omgui::Size &s) |
void | set_parent (const Pointer< omgui::Panel > &p) |
void | set_position (const omgui::Point &p) |
void | set_show (bool b) |
void | set_title (const string &str) |
WindowData () | |
Protected Attributes | |
bool | m_activate |
Specifies if the widget should recieve input focus upon creation. | |
Pointer< omgui::Panel > | m_content_panel |
The content panel for the Window. | |
omgui::Size | m_content_size |
The size of the content area of the Window. | |
bool | m_default_position |
bool | m_enable |
Specifies if the widget is enabled or disabled. | |
omgui::Size | m_max_size |
MenuBar * | m_menu_bar |
The MenuBar for the Window. | |
omgui::Size | m_min_size |
omgui::Size | m_natural_size |
The natural size of the widget. | |
Pointer< omgui::Panel > | m_parent |
The parent of this widget. | |
omgui::Point | m_position |
The position in screen coordinates of the window. | |
bool | m_show |
Specifies if the widget should be initially visible. | |
string | m_title |
The title of the Window. This will appear in the Window's caption. |
omgui::initializer::WindowData::WindowData | ( | ) |
bool omgui::initializer::WindowData::default_position | ( | ) | const |
bool omgui::initializer::WidgetData::get_activate | ( | ) | const [inherited] |
Pointer< omgui::Panel > omgui::initializer::WindowData::get_content_panel | ( | ) | const |
omgui::Size omgui::initializer::WindowData::get_content_size | ( | ) | const |
bool omgui::initializer::WidgetData::get_enable | ( | ) | const [inherited] |
Size omgui::initializer::WidgetData::get_max_size | ( | ) | const [inherited] |
omgui::MenuBar * omgui::initializer::WindowData::get_menu_bar | ( | ) | const |
Size omgui::initializer::WidgetData::get_min_size | ( | ) | const [inherited] |
Size omgui::initializer::WidgetData::get_natural_size | ( | ) | const [inherited] |
Pointer< omgui::Panel > omgui::initializer::WidgetData::get_parent | ( | ) | const [inherited] |
Point omgui::initializer::WindowData::get_position | ( | ) | const |
bool omgui::initializer::WidgetData::get_show | ( | ) | const [inherited] |
string omgui::initializer::WindowData::get_title | ( | ) | const |
void omgui::initializer::WidgetData::set_activate | ( | bool | b | ) | [inherited] |
void omgui::initializer::WindowData::set_content_panel | ( | const Pointer< omgui::Panel > & | p | ) |
void omgui::initializer::WindowData::set_content_size | ( | const omgui::Size & | s | ) |
void omgui::initializer::WidgetData::set_enable | ( | bool | b | ) | [inherited] |
void omgui::initializer::WidgetData::set_max_size | ( | const omgui::Size & | s | ) | [inherited] |
void omgui::initializer::WindowData::set_menu_bar | ( | omgui::MenuBar * | menubar | ) |
void omgui::initializer::WidgetData::set_min_size | ( | const omgui::Size & | s | ) | [inherited] |
void omgui::initializer::WidgetData::set_natural_size | ( | const omgui::Size & | s | ) | [inherited] |
void omgui::initializer::WidgetData::set_parent | ( | const Pointer< omgui::Panel > & | p | ) | [inherited] |
void omgui::initializer::WindowData::set_position | ( | const omgui::Point & | p | ) |
void omgui::initializer::WidgetData::set_show | ( | bool | b | ) | [inherited] |
void omgui::initializer::WindowData::set_title | ( | const string & | str | ) |
bool omgui::initializer::WidgetData::m_activate [protected, inherited] |
Specifies if the widget should recieve input focus upon creation.
The content panel for the Window.
The size of the content area of the Window.
bool omgui::initializer::WindowData::m_default_position [protected] |
If this member is true, an acceptible value for this Window's position should be calculated and used. If it is false, the value of m_pos must be used.
bool omgui::initializer::WidgetData::m_enable [protected, inherited] |
Specifies if the widget is enabled or disabled.
omgui::Size omgui::initializer::WidgetData::m_max_size [protected, inherited] |
The maximum allowable size of the widget. A value of 0 in for the width or height indicates no maximum size in that direction
MenuBar* omgui::initializer::WindowData::m_menu_bar [protected] |
omgui::Size omgui::initializer::WidgetData::m_min_size [protected, inherited] |
The minimum allowable size of the widget. A value of 0 in for the width or height indicates no minimum size in that direction
omgui::Size omgui::initializer::WidgetData::m_natural_size [protected, inherited] |
The natural size of the widget.
Pointer<omgui::Panel> omgui::initializer::WidgetData::m_parent [protected, inherited] |
The parent of this widget.
The position in screen coordinates of the window.
bool omgui::initializer::WidgetData::m_show [protected, inherited] |
Specifies if the widget should be initially visible.
string omgui::initializer::WindowData::m_title [protected] |
The title of the Window. This will appear in the Window's caption.