Sleeping Wombat GUI
0.100
swGUI
|
Provide interface for visual controls which can be rendered. More...
#include <Visual.h>
Public Member Functions | |
Visual ()=default | |
~Visual ()=default | |
virtual bool | HitTest (const Position &point)=0 |
Checks if point is within this object. More... | |
virtual void | OnRender (DrawingContext &context)=0 |
Control rendering behavior. More... | |
Public Member Functions inherited from sw::gui::DependencyObject | |
DependencyObject () | |
~DependencyObject ()=default | |
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 () |
Private Member Functions | |
RTTR_ENABLE (DependencyObject) | |
Private Attributes | |
RTTR_REGISTRATION_FRIEND | |
Position | m_position |
Control position. (. More... | |
Size2D | m_actualSize |
Size of control used for rendering. This size will be set after for example layout arrangment will be aplied. More... | |
Additional Inherited Members | |
Protected Attributes inherited from sw::gui::DependencyObject | |
EngineObject * | m_dataContext |
Context for binding. More... | |
Provide interface for visual controls which can be rendered.
Provides interfaces and base implementation of:
This classs correpsonds to WPF Visual class.
|
explicitdefault |
|
default |
|
pure virtual |
Checks if point is within this object.
Implemented in sw::gui::HostWindow, and TestUIElementClass.
|
pure virtual |
Control rendering behavior.
Implemented in sw::gui::HostWindow, and TestUIElementClass.
|
private |
|
private |
Size of control used for rendering. This size will be set after for example layout arrangment will be aplied.
|
private |