|
| HostWindow (INativeWindow *nativeWindow, input::IInput *input, ResourceManager *resourceManager, IGraphicAPIInitializer *graphicApi) |
|
virtual | ~HostWindow () |
|
Size | GetMemorySize () |
| Returns memory consumed by this object and all object owned by this. More...
|
|
EngineObject *& | DataContext () |
| Pozwala ustawić i pobrać DataContext. More...
|
|
void | RemoveControl (UIElement *control) |
| Removes control from GUI system. More...
|
|
void | RegisterControlName (UIElement *control, const std::string &name) |
| Allows control to register it's name. More...
|
|
const std::string & | GetControlName (UIElement *control) |
| Gets name of registered control. More...
|
|
ResourcePtr< RenderTargetObject > | GetRenderTarget () |
|
ResourcePtr< SwapChain > | GetSwapChain () |
|
INativeWindow * | GetNativeWindow () |
|
virtual bool | HitTest (const Position &point) override |
| Checks if point is within this object. More...
|
|
virtual void | OnRender (DrawingContext &context) override |
| Control rendering behavior. More...
|
|
virtual Size2D | Measure (Size2D availableSize) override |
| Meassure pass. Check documentation in WPF. More...
|
|
virtual void | Arrange (Rect &finalRect) override |
| Arragement pass. Check WPF documentation. More...
|
|
virtual Size | GetNumChildren () override |
| Get number of children in visual tree. More...
|
|
virtual UIElement * | GetUIChild (Size idx) override |
| Gets child in visual tree. More...
|
|
virtual bool | AddChild (UIElementOPtr &&child) override |
| Add child. This function should set child parent to this pointer. More...
|
|
|
void | LostFocus () |
|
void | GotFocus () |
|
void | OnResized (uint16 newWidth, uint16 newHeight) |
|
void | OnMaximized () |
|
void | OnMinimized () |
|
void | HandleInput () |
|
| UIElement ()=default |
|
virtual | ~UIElement ()=default |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseUp, RoutingStrategy::Tunnel, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseDown, RoutingStrategy::Tunnel, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseRightButtonUp, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseRightButtonDown, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseLeftButtonDown, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseLeftButtonUp, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseWheel, RoutingStrategy::Tunnel, UIElement, MouseWheelEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewMouseMove, RoutingStrategy::Tunnel, UIElement, MouseMoveEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewKeyDown, RoutingStrategy::Tunnel, UIElement, KeyEventArgs) |
|
| REGISTER_EVENT_DECLARATION (PreviewKeyUp, RoutingStrategy::Tunnel, UIElement, KeyEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseUp, RoutingStrategy::Bubble, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseDown, RoutingStrategy::Bubble, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseRightButtonDown, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseRightButtonUp, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseLeftButtonDown, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseLeftButtonUp, RoutingStrategy::Direct, UIElement, MouseButtonEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseWheel, RoutingStrategy::Bubble, UIElement, MouseWheelEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseMove, RoutingStrategy::Bubble, UIElement, MouseMoveEventArgs) |
|
| REGISTER_EVENT_DECLARATION (KeyUp, RoutingStrategy::Tunnel, UIElement, KeyEventArgs) |
|
| REGISTER_EVENT_DECLARATION (KeyDown, RoutingStrategy::Tunnel, UIElement, KeyEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseEnter, RoutingStrategy::Direct, UIElement, MouseEventArgs) |
|
| REGISTER_EVENT_DECLARATION (MouseLeave, RoutingStrategy::Direct, UIElement, MouseEventArgs) |
|
virtual void | SetParent (UIElement *parent) |
| Set control parent. Internal use. More...
|
|
virtual UIElement * | GetParent () |
| Returns control parent. More...
|
|
virtual void | InvokeEventDelegates (EventType eventID, UIElement *sender, IEventArgs *e, AccessKey) |
|
virtual void | OnLoaded (UIElement *sender, IEventArgs *e) |
|
virtual void | OnUnloaded (UIElement *sender, IEventArgs *e) |
|
virtual void | OnGotFocus (UIElement *sender, IEventArgs *e) |
|
virtual void | OnLostFocus (UIElement *sender, IEventArgs *e) |
|
virtual void | OnMouseEnter (UIElement *sender, MouseEventArgs *e) |
|
virtual void | OnMouseLeave (UIElement *sender, MouseEventArgs *e) |
|
virtual void | OnMouseMove (UIElement *sender, MouseMoveEventArgs *e) |
|
virtual void | OnMouseWheel (UIElement *sender, MouseWheelEventArgs *e) |
|
virtual void | OnMouseDown (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnMouseUp (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnMouseRightButtonDown (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnMouseRightButtonUp (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnMouseLeftButtonDown (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnMouseLeftButtonUp (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnPreviewMouseMove (UIElement *sender, MouseMoveEventArgs *e) |
|
virtual void | OnPreviewMouseWheel (UIElement *sender, MouseWheelEventArgs *e) |
|
virtual void | OnPreviewMouseDown (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnPreviewMouseUp (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnPreviewMouseRightButtonDown (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnPreviewMouseRightButtonUp (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnPreviewMouseLeftButtonDown (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnPreviewMouseLeftButtonUp (UIElement *sender, MouseButtonEventArgs *e) |
|
virtual void | OnKeyDown (UIElement *sender, KeyEventArgs *e) |
|
virtual void | OnKeyUp (UIElement *sender, KeyEventArgs *e) |
|
virtual void | OnPreviewKeyDown (UIElement *sender, KeyEventArgs *e) |
|
virtual void | OnPreviewKeyUp (UIElement *sender, KeyEventArgs *e) |
|
| Visual ()=default |
|
| ~Visual ()=default |
|
| DependencyObject () |
|
| ~DependencyObject ()=default |
|
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 () |
|
Root class for controls hierarchy, contains native window.
This class connects native window and gui windows. GUI system logic is redirected to HostLogic class. HostWindow is responsible for rendering and presenting content on native window by using render target and swap chain.