|
| PanelModelGrid (size_t cols=2, size_t rows=1, float margin=0.f, MarginMode marginMode=MarginMode::Full, MarginUnit marginUnit=MarginUnit::Absolute) |
|
virtual void | init (const Panel &panel) override |
|
virtual void | handleElement (const Panel &panel, Element &element, size_t order) override |
|
void | setCols (size_t cols) |
|
void | setRows (size_t rows) |
|
virtual sf::FloatRect | customizeArea (const sf::FloatRect &area) const override |
|
virtual bool | scrollLimits (sf::Vector2f &topLeft, sf::Vector2f &bottomRight) const override |
|
virtual void | notifyNewElement (Element &element) |
|
bool | isElementChanged () const |
|
virtual void | setMargin (float margin) |
|
float | getMargin () const |
|
void | setMarginUnit (MarginUnit marginUnit) |
|
float | relativeMargin (sf::FloatRect area) const |
|
MarginMode | getMarginMode () const |
|
void | setMarginMode (MarginMode value) |
|
|
static auto | create (size_t cols=2, size_t rows=1, float margin=0.f, MarginMode marginMode=MarginMode::Full, MarginUnit marginUnit=MarginUnit::Absolute) |
|
|
void | handleScrollLimits (const sf::Vector2f &elementViewportCenterShift, const sf::FloatRect &elementArea, const sf::FloatRect &panelArea) |
|
float | marginSize (MarginMode mode) const |
|
float | marginSize (MarginMode mode, sf::FloatRect area) const |
|
sf::Vector2f | topLeft |
|
sf::Vector2f | bottomRight |
|
bool | enableScrollLimits |
|
bool | elementChanged |
|
float | margin |
|
MarginUnit | marginUnit |
|
MarginMode | marginMode |
|
Dokumentacja dla tej klasy została wygenerowana z plików: