Loading...
Searching...
No Matches
ml::ComponentBase< ComponentManifest, Traits > Member List

This is the complete list of members for ml::ComponentBase< ComponentManifest, Traits >, including all inherited members.

center(T &obj)ml::Positionable
centerHorizonally(T &obj)ml::Positionable
centerText(sf::Text &obj)ml::Positionable
centerVertically(T &obj)ml::Positionable
checkFlag(State state) constml::FlagManager< Flag >
clearDragBounds()ml::Draggable
ComponentCore()ml::ComponentCore< ComponentManifest, Traits... >inline
Customizable()=defaultml::Customizable< DraggableManifest >
disableFlag(State state)ml::FlagManager< Flag >
Draggable()=defaultml::Draggable
draw(RenderTarget &target, RenderStates states) const=0sf::Drawableprotectedpure virtual
enableFlag(State state)ml::FlagManager< Flag >
Flag typedefml::Draggable
FlagManager()ml::FlagManager< Flag >
get(EnumType key) -> std::enable_if_t< is_asset_enum< ComponentManifest, EnumType >::value, const_ref_t< decltype(AssetsManager< ComponentManifest >::get(key))> >ml::ManifestResources< ComponentManifest >inlinestatic
get(EnumType key) -> std::enable_if_t< !is_asset_enum< ComponentManifest, EnumType >::value, decltype(ConfigManager< ComponentManifest >::get(key))>ml::ManifestResources< ComponentManifest >inlinestatic
getGlobalBounds() const =0ml::Positionablepure virtual
getPosition() const =0ml::Positionablepure virtual
getRenderStates() constml::Coreinlinevirtual
getState() constml::StateManager< extract_State< DraggableManifest >::type >
isScrolling()ml::Positionable
isState(T state) constml::StateManager< extract_State< DraggableManifest >::type >
manifest_type typedefml::Customizable< DraggableManifest >
moveDistance(sf::Vector2f distance, float seconds=1.f)ml::Positionable
moveTo(sf::Vector2f position, float seconds=1.f)ml::Positionable
ml::Core::moveTo(sf::FloatRect position, float seconds=1.f)ml::Positionable
onBlur(std::function< void()> callback)ml::Focusable
ml::Core::onBlur(std::function< void(const std::optional< sf::Event > &)> callback)ml::Focusable
onClick(std::function< void()> callback)ml::Clickable
ml::Core::onClick(std::function< void(const std::optional< sf::Event > &event)> callback)ml::Clickable
onFocus(std::function< void()> callback)ml::Focusable
ml::Core::onFocus(std::function< void(const std::optional< sf::Event > &)> callback)ml::Focusable
onHover(std::function< void()> callback)ml::Hoverable
ml::Core::onHover(std::function< void(const std::optional< sf::Event > &event)> callback)ml::Hoverable
onKeypress(std::function< void()> callback)ml::Keyable
ml::Core::onKeypress(std::function< void(const std::optional< sf::Event > &)> callback)ml::Keyable
onKeyRelease(std::function< void()> callback)ml::Keyable
ml::Core::onKeyRelease(std::function< void(const std::optional< sf::Event > &)> callback)ml::Keyable
onMouseMoved(std::function< void()> callback)ml::Scrollable
ml::Core::onMouseMoved(std::function< void(const std::optional< sf::Event > &)> callback)ml::Scrollable
onMousePressed(std::function< void()> callback)ml::Scrollable
ml::Core::onMousePressed(std::function< void(const std::optional< sf::Event > &)> callback)ml::Scrollable
onMouseReleased(std::function< void()> callback)ml::Scrollable
ml::Core::onMouseReleased(std::function< void(const std::optional< sf::Event > &)> callback)ml::Scrollable
onScroll(std::function< void()> callback)ml::Scrollable
ml::Core::onScroll(std::function< void(const std::optional< sf::Event > &)> callback)ml::Scrollable
onStateEnter(std::function< void(T)> callback)ml::StateManager< extract_State< DraggableManifest >::type >
onStateExit(std::function< void(T)> callback)ml::StateManager< extract_State< DraggableManifest >::type >
onTextEntered(std::function< void()> callback)ml::Keyable
ml::Core::onTextEntered(std::function< void(const std::optional< sf::Event > &)> callback)ml::Keyable
onUnhover(std::function< void()> callback)ml::Hoverable
ml::Core::onUnhover(std::function< void(const std::optional< sf::Event > &event)> callback)ml::Hoverable
onUpdate(std::function< void()> callback)ml::Updatable
ml::Core::onUpdate(std::function< void(const std::optional< sf::Event > &)> callback)ml::Updatable
onWindowFocusGained(std::function< void()> callback)ml::Updatable
ml::Core::onWindowFocusGained(std::function< void(const std::optional< sf::Event > &)> callback)ml::Updatable
onWindowFocusLost(std::function< void()> callback)ml::Updatable
ml::Core::onWindowFocusLost(std::function< void(const std::optional< sf::Event > &)> callback)ml::Updatable
onWindowResized(std::function< void()> callback)ml::Updatable
ml::Core::onWindowResized(std::function< void(const std::optional< sf::Event > &)> callback)ml::Updatable
process(const std::string &key, const std::optional< sf::Event > &event)ml::EventReceivervirtual
ml::Draggable::process(ENUM_TYPE eventName, const std::optional< sf::Event > &event)ml::EventReceiver
ml::Core::process(ENUM_TYPE eventName, const std::optional< sf::Event > &event)ml::EventReceiver
publish(ENUM_TYPE event, FilterCallback filter=[](EventReceiver &){ return true;}, SystemCallback resolve=nullptr, SystemCallback reject=nullptr)ml::Subscribable
Resources typedefml::ComponentBase< ComponentManifest, Traits >
setAbove(T &obj, float spacing=0)ml::Positionable
setBelow(T &obj, float spacing=0)ml::Positionable
setDragBounds(const sf::FloatRect &bounds)ml::Draggable
setFlag(State state, bool status)ml::FlagManager< Flag >
setFramerate(float framerate)ml::Positionable
setLeftOf(T &obj, float spacing=0)ml::Positionable
setPosition(const sf::Vector2f &position)=0ml::Positionablepure virtual
setRightOf(T &obj, float spacing=0)ml::Positionable
setState(T newState)ml::StateManager< extract_State< DraggableManifest >::type >
ml::State typedefml::Draggable
ml::Core::State typedefml::FlagManager< Flag >
StateManager(std::enable_if_t<!std::is_void_v< T >, T > initialState)ml::StateManager< extract_State< DraggableManifest >::type >explicit
subscribe(ENUM_TYPE event, EventCallback callback)ml::Subscribable
ml::Core::subscribe(ENUM_TYPE event, Callback callback)ml::Subscribable
toggleFlag(State state)ml::FlagManager< Flag >
unload(EnumType key)ml::ManifestResources< ComponentManifest >inlinestatic
unload(EnumType key)ml::ManifestResources< ComponentManifest >inlinestatic
unload(EnumType key)ml::ManifestResources< ComponentManifest >inlinestatic
unsubscribe(EnumType event)ml::Unsubscribableinline
unsubscribeAll()ml::Unsubscribable
~Core()ml::Corevirtual
~Customizable()=defaultml::Customizable< DraggableManifest >virtual
~Draggable()=defaultml::Draggablevirtual
~Drawable()=defaultsf::Drawablevirtual
~EventReceiver()=defaultml::EventReceivervirtual
~Unsubscribable()=defaultml::Unsubscribablevirtual