|
C3D_API | PanelCtrl (SceneRPtr scene, castor::String const &name, PanelStyle *style, ControlRPtr parent) |
|
C3D_API | PanelCtrl (SceneRPtr scene, castor::String const &name, PanelStyle *style, ControlRPtr parent, castor::Position const &position, castor::Size const &size, ControlFlagType flags=0, bool visible=true) |
|
PanelStyle const & | getStyle () const |
|
PanelStyle & | getStyle () |
|
C3D_API | LayoutControl (ControlType type, SceneRPtr scene, castor::String const &name, ControlStyleRPtr controlStyle, ScrollableStyleRPtr scrollableStyle, ControlRPtr parent, castor::Position const &position, castor::Size const &size, ControlFlagType flags=0, bool visible=true) |
|
C3D_API void | setLayout (LayoutUPtr layout) |
|
auto | getLayout () const |
|
C3D_API | Control (ControlType type, SceneRPtr scene, castor::String const &name, ControlStyleRPtr style, ControlRPtr parent, castor::Position const &position, castor::Size const &size, ControlFlagType flags=0, bool visible=true) |
|
C3D_API | ~Control () noexcept override |
|
C3D_API void | setStyle (ControlStyleRPtr value) |
|
C3D_API void | setPosition (castor::Position const &value) |
|
C3D_API void | setSize (castor::Size const &value) |
|
C3D_API void | setUV (castor::Point4d const &value) const |
|
C3D_API void | setBorderSize (castor::Point4ui const &value) |
|
C3D_API void | setBorderInnerUV (castor::Point4d const &value) const |
|
C3D_API void | setBorderOuterUV (castor::Point4d const &value) const |
|
C3D_API void | setCaption (castor::U32String const &caption) |
|
C3D_API void | setVisible (bool value) |
|
C3D_API castor::Position | getAbsolutePosition () const |
|
C3D_API bool | isVisible () const |
|
C3D_API bool | isBackgroundInvisible () const |
|
C3D_API ControlRPtr | getChildControl (ControlID id) const |
|
C3D_API castor::Array< bool, 4u > | isInResizeRange (castor::Position const &position) const |
|
template<ControlFlagTypeT FlagTypeT> |
void | addFlag (FlagTypeT flag) |
|
template<ControlFlagTypeT FlagTypeT> |
void | addFlag (castor::FlagCombination< FlagTypeT > flag) |
|
template<ControlFlagTypeT FlagTypeT> |
void | removeFlag (FlagTypeT flag) |
|
template<ControlFlagTypeT FlagTypeT> |
void | removeFlag (castor::FlagCombination< FlagTypeT > flag) |
|
C3D_API castor::Point4d const & | getBorderInnerUV () const |
|
C3D_API castor::Point4d const & | getBorderOuterUV () const |
|
C3D_API BorderPosition | getBorderPosition () const |
|
C3D_API castor::Point4d const & | getUV () const |
|
C3D_API bool | isBackgroundVisible () const |
|
ControlID | getId () const noexcept |
|
ControlType | getType () const noexcept |
|
uint64_t | getFlags () const noexcept |
|
castor::Position const & | getPosition () const noexcept |
|
castor::Size const & | getSize () const noexcept |
|
ControlRPtr | getParent () const noexcept |
|
castor::Point4ui const & | getBorderSize () const noexcept |
|
ControlsManagerRPtr | getControlsManager () const noexcept |
|
MouseCursor | getCursor () const noexcept |
|
Engine & | getEngine () const noexcept |
|
ControlStyle const & | getBaseStyle () const noexcept |
|
castor::Vector< ControlRPtr > const & | getChildren () const noexcept |
|
bool | hasScene () const noexcept |
|
Scene & | getScene () const noexcept |
|
uint32_t | getResizeBorderSize () const noexcept |
|
castor::Point4ui const & | getClientRect () const noexcept |
|
castor::Position | getClientOffset () const |
|
castor::Size | getClientSize () const |
|
bool | isAlwaysOnTop () const noexcept |
|
bool | isMovable () const noexcept |
|
bool | isResizable () const noexcept |
|
void | show () |
|
void | hide () |
|
| NonClientEventHandler (castor::String const &name, bool catchMouseEvents) |
| Constructor.
|
|
void | connectNC (MouseEventType event, NonClientMouseFunction function) |
| Connects a function to a non client mouse event.
|
|
void | connectNC (KeyboardEventType event, NonClientKeyboardFunction function) |
| Connects a function to a non client keyboard event.
|
|
void | connectNC (HandlerEventType event, NonClientHandlerFunction function) |
| Connects a function to a non client handler event.
|
|
void | pushEvent (MouseEvent const &event) |
| Adds a mouse event to the events queue.
|
|
void | connect (MouseEventType event, ClientMouseFunction function) |
| Connects a function to a mouse event.
|
|
bool | catchesMouseEvents () const |
| Tells if the control catches mouse events.
|
|
void | setCatchesMouseEvents (bool value) |
| Sets if the control can catch mouse events.
|
|
void | pushEvent (KeyboardEvent const &event) |
| Adds a keyboard event to the events queue.
|
|
void | connect (KeyboardEventType event, ClientKeyboardFunction function) |
| Connects a function to a keyboard event.
|
|
bool | catchesTabKey () const |
| Tells if the control catches 'tab' key.
|
|
bool | catchesReturnKey () const |
| Tells if the control catches 'return' key.
|
|
| EventHandler (castor::String const &name, bool catchMouseEvents) |
| Constructor.
|
|
virtual | ~EventHandler () noexcept |
| Destructor.
|
|
void | processEvents () |
| Processes all queued events.
|
|
bool | isEnabled () const |
|
void | enable () |
| Sets if the control is enabled.
|
|
void | disable () |
| Sets if the control is disabled.
|
|
void | pushEvent (HandlerEvent const &event) |
| Adds a handler event to the events queue.
|
|
void | connect (HandlerEventType event, ClientHandlerFunction function) |
| Connects a function to a handler event.
|
|
| NamedBaseT (T name) noexcept |
| Constructor.
|
|
T const & | getName () const noexcept |
| Retrieves the name.
|
|
void | rename (T name) noexcept |
|
virtual C3D_API | ~ScrollableCtrl () noexcept |
|
C3D_API castor::Position | getScrollPosition () const |
|
ScrollableStyle & | getStyle () const noexcept |
|