|
Simple SFML GUI
0.2a
|


Metody publiczne | |
| 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) |
Metody publiczne dziedziczone z FocusAction< T > | |
| virtual void | onFocusGain () |
| virtual void | onFocusLost () |
Metody publiczne dziedziczone z Element | |
| 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 |
Metody publiczne dziedziczone z ElementBase | |
| virtual void | draw (sf::RenderTarget &target, sf::RenderStates states=sf::RenderStates())=0 |
Metody publiczne dziedziczone z HaveName | |
| HaveName (const sf::String &n=L"") | |
| const sf::String & | getName () const |
| void | setName (const sf::String &name) |
Metody publiczne dziedziczone z HaveFocus | |
| HaveFocus (bool focus=false) | |
| bool | isFocus () const |
| void | setFocus (bool focus) |
Metody publiczne dziedziczone z HaveVisible | |
| HaveVisible (bool v=true) | |
| bool | isVisible () const |
| void | setVisible (bool visible) |
Metody publiczne dziedziczone z HaveAction< T > | |
| 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) |
Metody publiczne dziedziczone z HaveHover | |
| 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) |
Metody publiczne dziedziczone z HavePressed | |
| HavePressed (ColorProvider &colorProvider, bool p=false, bool pa=false) | |
| virtual bool | isPressed () const |
| virtual bool | isPressedAlt () const |
Metody publiczne dziedziczone z HaveSelected | |
| HaveSelected (ColorProvider &colorProvider) | |
| bool | isSelected () const |
| void | setSelected (bool value) |
Atrybuty chronione | |
| sf::Keyboard::Key | hotKey |
| bool | hotPress |
| bool | stickyPress |
| bool | ignoreAbove |
| bool | ignoreDialogs |
| bool | ignoreTextInputable |
Atrybuty chronione dziedziczone z Element | |
| const Element * | parent = nullptr |
| sf::FloatRect | area |
| sf::FloatRect | lastArea |
| sf::FloatRect | relativeParentArea |
| sf::FloatRect | relativeArea |
| sf::FloatRect | clippedArea |
| sf::Vector2f | viewportCenterShift |
| sf::Vector2f | relativeViewportCenterShift |
| MaximizationMode | maximizationMode = MaximizationMode::Both |
| bool | relativeParentSizeChanged = false |
| bool | relativeParentWidthChanged = false |
| bool | relativeParentHeightChanged = false |
| bool | areaChanged = false |
| bool | maximized = false |
Atrybuty chronione dziedziczone z HaveName | |
| sf::String | name |
Atrybuty chronione dziedziczone z HaveFocus | |
| bool | focus |
Atrybuty chronione dziedziczone z HaveVisible | |
| bool | visible |
Atrybuty chronione dziedziczone z HaveAction< T > | |
| std::map< sf::String, function_type > | action |
| std::map< sf::String, std::function< void()> > | actionVoid |
| sf::String | mainActionType |
Atrybuty chronione dziedziczone z HaveHover | |
| bool | hover |
| sf::String | tooltip |
Atrybuty chronione dziedziczone z HavePressed | |
| bool | pressed = false |
| bool | lastPressLeft = false |
| bool | pressedAlt = false |
| bool | lastPressRight = false |
Atrybuty chronione dziedziczone z HaveSelected | |
| friend | Element |
| bool | selected |
Dodatkowe Dziedziczone Składowe | |
Typy publiczne dziedziczone z HaveAction< T > | |
| using | function_type = typename HaveActionHelper< T >::function_type |
Statyczne metody publiczne dziedziczone z HaveFocus | |
| static void | unFocus () |
Atrybuty publiczne dziedziczone z HaveFocus | |
| friend | TextInputable |
Atrybuty publiczne dziedziczone z GlobalTimer | |
| friend | Element |
Atrybuty publiczne dziedziczone z HaveHover | |
| friend | Element |
Atrybuty publiczne dziedziczone z HavePressed | |
| friend | Element |
Statyczne atrybuty publiczne dziedziczone z GlobalTimer | |
| static const sf::Clock & | dclock = GlobalTimer::drawClock |
| static const sf::Clock & | rclock = GlobalTimer::runtimeClock |
| static const float & | dtime = GlobalTimer::drawTime |
| static const float & | rtime = GlobalTimer::runTime |
| static const float & | fps = GlobalTimer::framesPerSecond |
Metody chronione dziedziczone z Element | |
| sf::Vector2f | computeRelativeViewportCenterShift () const |
| sf::FloatRect | computeClipped () const |
| sf::FloatRect | clipArea (const sf::FloatRect &scissors, sf::FloatRect toCut) const |
| ColorProvider & | getColorProvider () |
Metody chronione dziedziczone z HaveGUIManagerInfo | |
| bool | anyDialogExist () |
Statyczne atrybuty chronione dziedziczone z HaveFocus | |
| static HaveFocus * | lastFocus = nullptr |
| static float | timeFocused =0.f |
1.8.13