#include <GuiWidget.h>
|
| static const unsigned int | EVENT_ALL = 0xffffffff |
| |
◆ EventMask
| Enumerator |
|---|
| EVENT_NONE | |
| EVENT_KEYDOWN | |
| EVENT_KEYUP | |
| EVENT_MOUSEDOWN | |
| EVENT_MOUSEUP | |
| EVENT_MOUSEMOTION | |
◆ Widget()
◆ ~Widget()
◆ Draw()
| virtual void Gui::Widget::Draw |
( |
| ) |
|
|
pure virtual |
Implemented in WorldView, NavTunnelWidget, Gui::VScrollPortal, Gui::ScrollBar, Gui::ToolTip, Gui::ToggleButton, Gui::TextEntry, Gui::Tabbed, Gui::RadioButton, Gui::MultiStateImageButton, Gui::MeterBar, Gui::LabelSet, Gui::Label, Gui::ImageRadioButton, Gui::ImageButton, Gui::Image, Gui::Container, Gui::LabelButton, Gui::TransparentButton, and Gui::SolidButton.
◆ GetAbsolutePosition()
| void Gui::Widget::GetAbsolutePosition |
( |
float |
pos[2] | ) |
const |
◆ GetEnabled()
| bool Gui::Widget::GetEnabled |
( |
| ) |
|
|
inline |
◆ GetEventMask()
| unsigned int Gui::Widget::GetEventMask |
( |
| ) |
|
|
inline |
◆ GetMinimumSize()
| virtual void Gui::Widget::GetMinimumSize |
( |
float |
size[2] | ) |
|
|
inlinevirtual |
◆ GetOverrideTooltip()
| virtual std::string Gui::Widget::GetOverrideTooltip |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ GetParent()
◆ GetSize()
| void Gui::Widget::GetSize |
( |
float |
size[2] | ) |
|
|
inline |
◆ GetSizeRequested()
| virtual void Gui::Widget::GetSizeRequested |
( |
float |
size[2] | ) |
|
|
pure virtual |
containers call this on children. input: size[] will contain max permissible size output: size[] will contain what space the widget desires
Implemented in NavTunnelWidget, VideoLink, Gui::VScrollPortal, Gui::ScrollBar, Gui::ToolTip, Gui::ToggleButton, Gui::TextEntry, Gui::Tabbed, Gui::Stack, Gui::RadioButton, Gui::MultiStateImageButton, Gui::MeterBar, Gui::LabelSet, Gui::Label, Gui::ImageRadioButton, Gui::ImageButton, Gui::Image, Gui::Fixed, Gui::LabelButton, Gui::TransparentButton, Gui::SolidButton, and Gui::Box.
◆ GetToolTip()
| const std::string& Gui::Widget::GetToolTip |
( |
| ) |
const |
|
inline |
◆ GrabFocus()
| void Gui::Widget::GrabFocus |
( |
| ) |
|
|
virtual |
◆ Hide()
| void Gui::Widget::Hide |
( |
| ) |
|
|
virtual |
◆ HideTooltip()
| void Gui::Widget::HideTooltip |
( |
| ) |
|
◆ IsFocused()
| bool Gui::Widget::IsFocused |
( |
| ) |
|
◆ IsMouseOver()
| bool Gui::Widget::IsMouseOver |
( |
| ) |
|
|
inline |
◆ IsVisible()
| bool Gui::Widget::IsVisible |
( |
| ) |
const |
◆ OnActivate()
| virtual void Gui::Widget::OnActivate |
( |
| ) |
|
|
inlinevirtual |
◆ OnKeyDown()
| virtual bool Gui::Widget::OnKeyDown |
( |
const SDL_Keysym * |
sym | ) |
|
|
inlinevirtual |
◆ OnMouseDown()
◆ OnMouseEnter()
| void Gui::Widget::OnMouseEnter |
( |
| ) |
|
|
virtual |
◆ OnMouseLeave()
| void Gui::Widget::OnMouseLeave |
( |
| ) |
|
|
virtual |
◆ OnMouseMotion()
◆ OnMouseUp()
◆ OnPreShortcut()
| void Gui::Widget::OnPreShortcut |
( |
const SDL_Keysym * |
sym | ) |
|
◆ OnTextInput()
| virtual void Gui::Widget::OnTextInput |
( |
Uint32 |
unicode | ) |
|
|
inlinevirtual |
◆ ResizeRequest()
| void Gui::Widget::ResizeRequest |
( |
| ) |
|
◆ SetEnabled()
| void Gui::Widget::SetEnabled |
( |
bool |
v | ) |
|
|
inline |
◆ SetParent()
◆ SetScissor()
| void Gui::Widget::SetScissor |
( |
bool |
enabled | ) |
|
◆ SetShortcut()
| void Gui::Widget::SetShortcut |
( |
SDL_Keycode |
key, |
|
|
SDL_Keymod |
mod |
|
) |
| |
◆ SetSize()
| void Gui::Widget::SetSize |
( |
float |
w, |
|
|
float |
h |
|
) |
| |
|
inline |
◆ SetToolTip()
| void Gui::Widget::SetToolTip |
( |
std::string |
s | ) |
|
|
inline |
◆ Show()
| virtual void Gui::Widget::Show |
( |
| ) |
|
|
inlinevirtual |
◆ ShowAll()
| virtual void Gui::Widget::ShowAll |
( |
| ) |
|
|
inlinevirtual |
◆ UpdateOverriddenTooltip()
| void Gui::Widget::UpdateOverriddenTooltip |
( |
| ) |
|
|
protected |
◆ EVENT_ALL
| const unsigned int Gui::Widget::EVENT_ALL = 0xffffffff |
|
static |
◆ m_eventMask
| unsigned int Gui::Widget::m_eventMask |
|
protected |
| struct { ... } Gui::Widget::m_shortcut |
◆ mod
| SDL_Keymod Gui::Widget::mod |
◆ onDelete
| sigc::signal<void> Gui::Widget::onDelete |
◆ onMouseEnter
| sigc::signal<void> Gui::Widget::onMouseEnter |
◆ onMouseLeave
| sigc::signal<void> Gui::Widget::onMouseLeave |
◆ onSetSize
| sigc::signal<void> Gui::Widget::onSetSize |
◆ sym
| SDL_Keycode Gui::Widget::sym |
The documentation for this class was generated from the following files: