Sleeping Wombat GUI  0.100
swGUI
Public Member Functions | Protected Attributes | List of all members
sw::gui::TopLevelControl Class Reference

#include <TopLevelControl.h>

Inheritance diagram for sw::gui::TopLevelControl:
sw::gui::IControl EngineObject

Public Member Functions

 TopLevelControl (IControl *parent, HostWindow *host)
 
 ~TopLevelControl ()=default
 
HostWindowGetHostWindow ()
 
- Public Member Functions inherited from sw::gui::IControl
 IControl (IControl *parent)
 
virtual ~IControl ()
 
virtual bool HitTest (Position mouse, const Rect &parentArea)
 
const std::string & GetName ()
 
virtual void OnLoaded (IControl *sender, IEventArgs *e)
 
virtual void Unloaded (IControl *sender, IEventArgs *e)
 
virtual void GotFocus (IControl *sender, IEventArgs *e)
 
virtual void LostFocus (IControl *sender, IEventArgs *e)
 
virtual void MouseEnter (IControl *sender, MouseEventArgs *e)
 
virtual void MouseLeave (IControl *sender, MouseEventArgs *e)
 
virtual void MouseMove (IControl *sender, MouseEventArgs *e)
 
virtual void MouseWheel (IControl *sender, MouseWheelEventArgs *e)
 
virtual void MouseDown (IControl *sender, MouseButtonEventArgs *e)
 
virtual void MouseUp (IControl *sender, MouseButtonEventArgs *e)
 
virtual void MouseRightButtonDown (IControl *sender, MouseButtonEventArgs *e)
 
virtual void MouseRightButtonUp (IControl *sender, MouseButtonEventArgs *e)
 
virtual void MouseLeftButtonDown (IControl *sender, MouseButtonEventArgs *e)
 
virtual void MouseLeftButtonUp (IControl *sender, MouseButtonEventArgs *e)
 
virtual void PreviewMouseEnter (IControl *sender, MouseEventArgs *e)
 
virtual void PreviewMouseLeave (IControl *sender, MouseEventArgs *e)
 
virtual void PreviewMouseMove (IControl *sender, MouseEventArgs *e)
 
virtual void PreviewMouseWheel (IControl *sender, MouseWheelEventArgs *e)
 
virtual void PreviewMouseDown (IControl *sender, MouseButtonEventArgs *e)
 
virtual void PreviewMouseUp (IControl *sender, MouseButtonEventArgs *e)
 
virtual void PreviewMouseRightButtonDown (IControl *sender, MouseButtonEventArgs *e)
 
virtual void PreviewMouseRightButtonUp (IControl *sender, MouseButtonEventArgs *e)
 
virtual void PreviewMouseLeftButtonDown (IControl *sender, MouseButtonEventArgs *e)
 
virtual void PreviewMouseLeftButtonUp (IControl *sender, MouseButtonEventArgs *e)
 
virtual void KeyDown (IControl *sender, KeyEventArgs *e)
 
virtual void KeyUp (IControl *sender, KeyEventArgs *e)
 
virtual void PreviewKeyDown (IControl *sender, KeyEventArgs *e)
 
virtual void PreviewKeyUp (IControl *sender, KeyEventArgs *e)
 
- Public Member Functions inherited from EngineObject
TypeID GetType () const
 
std::string GetTypeName () const
 
virtual void Serialize (ISerializer *ser) const
 Implements default serialization. Serializes only declared properties. More...
 
virtual void Deserialize (IDeserializer *deser)
 Implements default deserialization. More...
 
virtual Size MemorySize ()
 
template<typename TargetType >
TargetType * DynamicCast ()
 

Protected Attributes

HostWindowm_host
 
- Protected Attributes inherited from sw::gui::IControl
IControlm_parent
 
float m_width
 
float m_maxWidth
 
float m_minWidth
 
float m_height
 
float m_maxHeight
 
float m_minHeight
 
bool m_isVisible: 1
 
bool m_isEnabled: 1
 
bool m_isMouseOver: 1
 
bool m_isFocused: 1
 
bool m_isFocusable: 1
 
VerticalAlignment m_verticalAlignement
 
HorizontalAlignment m_horizontalAlignement
 
Thickness m_margin
 
EngineObjectm_dataContext
 

Additional Inherited Members

- Protected Member Functions inherited from sw::gui::IControl
IControlGetParent ()
 
TopLevelControlGetRootControl ()
 Zwraca najwyższą w hierarchi kontrolkę. More...
 
HostWindowGetHost ()
 Zwraca obiekt zarządzający GUI. More...
 

Constructor & Destructor Documentation

sw::gui::TopLevelControl::TopLevelControl ( IControl parent,
HostWindow host 
)
inlineexplicit
sw::gui::TopLevelControl::~TopLevelControl ( )
default

Member Function Documentation

HostWindow* sw::gui::TopLevelControl::GetHostWindow ( )
inline

Member Data Documentation

HostWindow* sw::gui::TopLevelControl::m_host
protected

The documentation for this class was generated from the following file: