#include <omgui/common/widget.h>
Inherits omgui::api::Widget.
Inherited by omgui::cocoa::Widget [virtual]
, omgui::common::Button [virtual]
, omgui::common::ComboBox [virtual]
, omgui::common::Panel [virtual]
, omgui::common::TextWidget [virtual]
, omgui::common::Window [virtual]
, omgui::gtk2::Widget [virtual]
, and omgui::win32::Widget [virtual]
.
Public Types | |
typedef omgui::initializer::WidgetData | data_type |
Initialization data used for Widgets. | |
typedef omgui::Widget | wrapper_type |
Public Member Functions | |
virtual void | destroy ()=0 |
virtual void | enable (bool e)=0 |
virtual void * | get_handle () const =0 |
virtual omgui::Size | get_max_size () const =0 |
virtual omgui::Size | get_min_size () const =0 |
virtual omgui::Size | get_natural_size () const =0 |
virtual Pointer< omgui::Panel > | get_parent () const =0 |
virtual Pointer< omgui::Window > | get_parent_window () const =0 |
virtual omgui::Point | get_position () const =0 |
virtual omgui::Rect | get_rect () const =0 |
virtual omgui::Size | get_size () const =0 |
template<typename T> | |
T * | get_wrapper () |
template<typename T> | |
const T * | get_wrapper () const |
omgui::Widget * | get_wrapper () |
const omgui::Widget * | get_wrapper () const |
omgui::object_id | get_wrapper_id () const |
virtual bool | is_enabled () const =0 |
virtual bool | is_hidden () const =0 |
virtual bool | is_shown () const =0 |
virtual void | set_max_size (const omgui::Size &)=0 |
virtual void | set_min_size (const omgui::Size &)=0 |
virtual void | set_natural_size (const omgui::Size &)=0 |
virtual void | set_position (const omgui::Point &)=0 |
virtual void | set_rect (const omgui::Rect &)=0 |
virtual void | set_size (const omgui::Size &)=0 |
virtual void | show (bool show, bool focus)=0 |
Widget (omgui::Widget *wrapper) | |
Widget () | |
Private Attributes | |
omgui::Widget *const | m_wrapper |
typedef omgui::initializer::WidgetData omgui::api::Widget::data_type [inherited] |
Initialization data used for Widgets.
Reimplemented in omgui::api::Button, omgui::api::ComboBox, omgui::api::EntryBox, omgui::api::Notebook, omgui::api::Panel, omgui::api::SecureEntryBox, omgui::api::TableLayout, omgui::api::TextBox, omgui::api::TextWidget, and omgui::api::Window.
typedef omgui::Widget omgui::api::Widget::wrapper_type [inherited] |
omgui::common::Widget::Widget | ( | ) |
Reimplemented in omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
omgui::common::Widget::Widget | ( | omgui::Widget * | wrapper | ) |
virtual void omgui::api::Widget::destroy | ( | ) | [pure virtual, inherited] |
Implemented in omgui::cocoa::Panel, omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual void omgui::api::Widget::enable | ( | bool | e | ) | [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual void* omgui::api::Widget::get_handle | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual omgui::Size omgui::api::Widget::get_max_size | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::gtk2::Widget, omgui::gtk2::Window, and omgui::win32::Widget.
virtual omgui::Size omgui::api::Widget::get_min_size | ( | ) | const [pure virtual, inherited] |
virtual omgui::Size omgui::api::Widget::get_natural_size | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual Pointer<omgui::Panel> omgui::api::Widget::get_parent | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::gtk2::Panel, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual Pointer<omgui::Window> omgui::api::Widget::get_parent_window | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual omgui::Point omgui::api::Widget::get_position | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Widget, omgui::gtk2::Window, and omgui::win32::Widget.
virtual omgui::Rect omgui::api::Widget::get_rect | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual omgui::Size omgui::api::Widget::get_size | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Widget, omgui::gtk2::Window, and omgui::win32::Widget.
T* omgui::common::Widget::get_wrapper | ( | ) | [inline] |
const T* omgui::common::Widget::get_wrapper | ( | ) | const [inline] |
omgui::Widget* omgui::common::Widget::get_wrapper | ( | ) | [inline] |
const omgui::Widget* omgui::common::Widget::get_wrapper | ( | ) | const [inline] |
omgui::object_id omgui::common::Widget::get_wrapper_id | ( | ) | const |
virtual bool omgui::api::Widget::is_enabled | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual bool omgui::api::Widget::is_hidden | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, and omgui::win32::Widget.
virtual bool omgui::api::Widget::is_shown | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual void omgui::api::Widget::set_max_size | ( | const omgui::Size & | ) | [pure virtual, inherited] |
Implemented in omgui::cocoa::Panel, omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Widget, omgui::gtk2::Window, and omgui::win32::Widget.
virtual void omgui::api::Widget::set_min_size | ( | const omgui::Size & | ) | [pure virtual, inherited] |
Implemented in omgui::cocoa::Panel, omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Widget, omgui::gtk2::Window, and omgui::win32::Widget.
virtual void omgui::api::Widget::set_natural_size | ( | const omgui::Size & | ) | [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual void omgui::api::Widget::set_position | ( | const omgui::Point & | ) | [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Panel, omgui::gtk2::Widget, omgui::gtk2::Window, and omgui::win32::Widget.
virtual void omgui::api::Widget::set_rect | ( | const omgui::Rect & | ) | [pure virtual, inherited] |
Implemented in omgui::cocoa::Notebook, omgui::cocoa::TableLayout, omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual void omgui::api::Widget::set_size | ( | const omgui::Size & | ) | [pure virtual, inherited] |
virtual void omgui::api::Widget::show | ( | bool | show, | |
bool | focus | |||
) | [pure virtual, inherited] |
omgui::Widget* const omgui::common::Widget::m_wrapper [private] |
Wrapper for this implentation object