|
virtual bool | setPressed (bool pressed) |
|
virtual bool | setPressedAlt (bool pressed) |
|
sf::Keyboard::Key | getHotKey () const |
|
void | setHotKey (sf::Keyboard::Key hotKey) |
|
virtual bool | update (sf::Vector2f mp=sf::Vector2f(0.f, 0.f), bool pressLeft=false, bool pressRight=false, bool aboveHover=false) |
|
void | setStickyPress (bool stickyPress) |
|
void | setIgnoreAbove (bool value) |
|
void | setIgnoreDialogs (bool value) |
|
void | setIgnoreTextInputable (bool value) |
|
virtual void | onFocusGain () |
|
virtual void | onFocusLost () |
|
| Element (const Element *parent=nullptr) |
|
| Element (const Element &element) |
|
Element & | operator= (const Element &) |
|
void | mainDraw (sf::RenderTarget &target, const sf::RenderStates &states=sf::RenderStates()) |
|
void | mainUpdate (sf::RenderWindow &rw) |
|
void | setParent (const Element *parent) |
|
const Element * | getParent () const |
|
virtual void | updateArea () |
|
virtual bool | setRelativeViewport (sf::RenderTarget &target, const sf::FloatRect *area=nullptr) const |
|
bool | isMaximized () const |
|
void | setMaximized (bool maximized) |
|
void | setMaximizationMode (MaximizationMode value) |
|
sf::Vector2f | getPosition () const |
|
sf::Vector2f | getSize () const |
|
virtual void | setSize (sf::Vector2f) |
|
virtual void | setPosition (sf::Vector2f) |
|
void | move (sf::Vector2f) |
|
sf::FloatRect & | getArea () |
|
const sf::FloatRect & | getArea () const |
|
void | fitToWindow (const sf::RenderWindow &rw) |
|
void | setArea (const sf::FloatRect &area) |
|
const sf::FloatRect & | getRelativeArea () const |
|
sf::Vector2f | getRelativeViewportCenterShift () const |
|
sf::Vector2f | getViewportCenterShift () const |
|
void | setViewportCenterShift (const sf::Vector2f &value) |
|
sf::String | getParentName () const |
|
sf::String | getTypeName () const |
|
sf::FloatRect | getClippedArea () const |
|
sf::FloatRect | computeRelativeArea () const |
|
virtual void | draw (sf::RenderTarget &target, sf::RenderStates states=sf::RenderStates())=0 |
|
| HaveName (const sf::String &n=L"") |
|
const sf::String & | getName () const |
|
void | setName (const sf::String &name) |
|
| HaveFocus (bool focus=false) |
|
bool | isFocus () const |
|
void | setFocus (bool focus) |
|
| HaveVisible (bool v=true) |
|
bool | isVisible () const |
|
void | setVisible (bool visible) |
|
virtual void | onSetAction (const sf::String &type) |
|
virtual void | setAction (function_type &&action, const sf::String &type=ActionType::main) |
|
virtual void | setAction (function_type &action, const sf::String &type=ActionType::main) |
|
virtual void | setAction (std::function< void()> &&action, const sf::String &type=ActionType::main) |
|
virtual void | setAction (std::function< void()> &action, const sf::String &type=ActionType::main) |
|
virtual void | doAction (const sf::String &type=ActionType::main) |
|
| HaveHover (ColorProvider &colorProvider, bool h=false) |
|
bool | isHover () const |
|
void | setHover (bool hover) |
|
virtual bool | updateHover (const sf::Vector2f &pointer, const sf::FloatRect &clippedArea) |
|
void | setTooltip (const sf::String &value) |
|
| HavePressed (ColorProvider &colorProvider, bool p=false, bool pa=false) |
|
virtual bool | isPressed () const |
|
virtual bool | isPressedAlt () const |
|
| HaveSelected (ColorProvider &colorProvider) |
|
bool | isSelected () const |
|
void | setSelected (bool value) |
|