17 struct InputEventArgs;
18 struct MouseEventArgs;
19 struct MouseButtonEventArgs;
20 struct MouseWheelEventArgs;
24 class TopLevelControl;
50 RTTR_REGISTRATION_FRIEND
float m_minWidth
Definition: IControl.h:59
bool m_isEnabled
Definition: IControl.h:65
Base class for events.
Definition: IEventArgs.h:27
virtual void PreviewMouseUp(IControl *sender, MouseButtonEventArgs *e)
Definition: IControl.h:122
virtual void MouseWheel(IControl *sender, MouseWheelEventArgs *e)
Definition: IControl.h:104
HostWindow * GetHost()
Zwraca obiekt zarządzający GUI.
Definition: IControl.cpp:39
virtual void PreviewMouseWheel(IControl *sender, MouseWheelEventArgs *e)
Definition: IControl.h:119
virtual void MouseUp(IControl *sender, MouseButtonEventArgs *e)
Definition: IControl.h:107
const std::string & GetName()
float m_maxHeight
Definition: IControl.h:61
virtual void PreviewKeyDown(IControl *sender, KeyEventArgs *e)
Definition: IControl.h:134
virtual void KeyDown(IControl *sender, KeyEventArgs *e)
Definition: IControl.h:131
virtual void MouseRightButtonDown(IControl *sender, MouseButtonEventArgs *e)
Definition: IControl.h:109
IControl * GetParent()
Definition: IControl.h:87
VerticalAlignment m_verticalAlignement
Definition: IControl.h:70
virtual void LostFocus(IControl *sender, IEventArgs *e)
Definition: IControl.h:98
Definition: DirectInputModule.cpp:11
TopLevelControl * GetRootControl()
Zwraca najwyższą w hierarchi kontrolkę.
Definition: IControl.cpp:30
Key state changed event.
Definition: KeyEventArgs.h:21
Klasa bazowa dla kontrolek.
Definition: IControl.h:47
virtual void MouseMove(IControl *sender, MouseEventArgs *e)
Definition: IControl.h:103
virtual void MouseLeftButtonDown(IControl *sender, MouseButtonEventArgs *e)
Definition: IControl.h:112
float m_height
Definition: IControl.h:60
Rectangle structure.
Definition: CommonTypes.h:32
IControl * m_parent
Definition: IControl.h:54
Base class for mouse input events.
Definition: MouseEventArgs.h:22
virtual void PreviewMouseDown(IControl *sender, MouseButtonEventArgs *e)
Definition: IControl.h:121
virtual void PreviewKeyUp(IControl *sender, KeyEventArgs *e)
Definition: IControl.h:135
Definition: Thickness.h:8
float m_minHeight
Definition: IControl.h:62
virtual bool HitTest(Position mouse, const Rect &parentArea)
virtual void PreviewMouseRightButtonUp(IControl *sender, MouseButtonEventArgs *e)
Definition: IControl.h:125
virtual void PreviewMouseEnter(IControl *sender, MouseEventArgs *e)
Definition: IControl.h:116
virtual void PreviewMouseRightButtonDown(IControl *sender, MouseButtonEventArgs *e)
Definition: IControl.h:124
virtual void KeyUp(IControl *sender, KeyEventArgs *e)
Definition: IControl.h:132
IControl(IControl *parent)
Definition: IControl.cpp:20
Mouse wheel changed position.
Definition: MouseWheelEventArgs.h:19
EngineObject * m_dataContext
Definition: IControl.h:75
Thickness m_margin
Definition: IControl.h:73
VerticalAlignment
Definition: IControl.h:28
Klasa bazowa dla obiektów, które mają być dostępne w edytorze poprzez rttr. Należy po niej odziedzicz...
Definition: EngineObject.h:22
virtual void MouseEnter(IControl *sender, MouseEventArgs *e)
Definition: IControl.h:101
float m_width
Definition: IControl.h:57
HorizontalAlignment m_horizontalAlignement
Definition: IControl.h:71
virtual void MouseDown(IControl *sender, MouseButtonEventArgs *e)
Definition: IControl.h:106
virtual ~IControl()
Definition: IControl.cpp:25
DirectX::XMFLOAT2 Position
Definition: CommonTypes.h:27
bool m_isMouseOver
Definition: IControl.h:66
bool m_isFocusable
Definition: IControl.h:68
virtual void MouseLeftButtonUp(IControl *sender, MouseButtonEventArgs *e)
Definition: IControl.h:113
virtual void MouseLeave(IControl *sender, MouseEventArgs *e)
Definition: IControl.h:102
virtual void PreviewMouseLeftButtonDown(IControl *sender, MouseButtonEventArgs *e)
Definition: IControl.h:127
float m_maxWidth
Definition: IControl.h:58
virtual void OnLoaded(IControl *sender, IEventArgs *e)
Definition: IControl.h:94
virtual void PreviewMouseLeave(IControl *sender, MouseEventArgs *e)
Definition: IControl.h:117
virtual void Unloaded(IControl *sender, IEventArgs *e)
Definition: IControl.h:95
virtual void GotFocus(IControl *sender, IEventArgs *e)
Definition: IControl.h:97
virtual void MouseRightButtonUp(IControl *sender, MouseButtonEventArgs *e)
Definition: IControl.h:110
HorizontalAlignment
Definition: IControl.h:36
virtual void PreviewMouseMove(IControl *sender, MouseEventArgs *e)
Definition: IControl.h:118
bool m_isVisible
Definition: IControl.h:64
bool m_isFocused
Definition: IControl.h:67
Definition: TopLevelControl.h:13
Root class for controls hierarchy, contains native window.
Definition: HostWindow.h:33
virtual void PreviewMouseLeftButtonUp(IControl *sender, MouseButtonEventArgs *e)
Definition: IControl.h:128