|
| void | initializeComponentData () override |
| const Vector2 & | referenceResolution () const |
| const Vector2 & | resolution () const |
| float | scale () const |
| | ScreenComponent (IComponentSystem *system, Entity *entity) |
| bool | screenSpace () const |
| void | setReferenceResolution (const Vector2 &value) |
| void | setScreenSpace (const bool value) |
| void | updateScaleFromWindow (int windowWidth, int windowHeight) |
| | ~ScreenComponent () override |
| virtual void | cloneFrom (const Component *source) |
| | Component (IComponentSystem *system, Entity *entity) |
| virtual bool | enabled () const |
| Entity * | entity () const |
| virtual void | onDisable () |
| virtual void | onEnable () |
| virtual void | onPostStateChange () |
| virtual void | setEnabled (bool value) |
| IComponentSystem * | system () const |
| virtual | ~Component ()=default |
| Public Member Functions inherited from visutwin::canvas::EventHandler |
| template<typename... Args> |
| EventHandler * | fire (const std::string &name, Args &&... args) |
| bool | hasEvent (const std::string &name) const |
| void | initEventHandler () |
template<typename Callback>
requires (!std::is_same_v<std::decay_t<Callback>, HandleEventCallback>) |
| EventHandler * | off (const std::string &name, Callback &&callback, void *scope=nullptr) |
| EventHandler * | off (const std::string &name="", const HandleEventCallback &callback=HandleEventCallback(), void *scope=nullptr) |
| EventHandler * | offByHandle (EventHandle *handle) |
template<typename Callback>
requires (!std::is_same_v<std::decay_t<Callback>, HandleEventCallback>) |
| EventHandle * | on (const std::string &name, Callback &&callback, void *scope=nullptr) |
| EventHandle * | on (const std::string &name, HandleEventCallback callback, void *scope=nullptr) |
template<typename Callback>
requires (!std::is_same_v<std::decay_t<Callback>, HandleEventCallback>) |
| EventHandle * | once (const std::string &name, Callback &&callback, void *scope=nullptr) |
| EventHandle * | once (const std::string &name, HandleEventCallback callback, void *scope=nullptr) |
| virtual | ~EventHandler ()=default |
Definition at line 13 of file screenComponent.h.