|
| GenericPanelSplitted (const Element *parent=nullptr) |
|
virtual void | draw (sf::RenderTarget &target, sf::RenderStates states=sf::RenderStates()) override |
|
virtual bool | update (sf::Vector2f mp, bool pressLeft, bool pressRight, bool aboveHover) override |
|
virtual void | updateArea () override |
|
void | setOrientation (Orientation orientation) |
|
void | setPositionType (PositionType positionType) |
|
bool | setSplitPosition (float splitPosition) |
|
void | setSplitButtonSize (float splitButtonSize) |
|
T & | getFirst () |
|
const T & | getFirst () const |
|
T & | getSecond () |
|
const T & | getSecond () const |
|
void | addToFirst (std::shared_ptr< Element > element) |
|
void | addToFirst (std::vector< std::shared_ptr< Element >> &elements) |
|
void | addToFirst (std::vector< std::shared_ptr< Element >> &&elements) |
|
void | addToSecond (std::shared_ptr< Element > element) |
|
void | addToSecond (std::vector< std::shared_ptr< Element >> &elements) |
|
void | addToSecond (std::vector< std::shared_ptr< Element >> &&elements) |
|
void | setModelFirst (const std::shared_ptr< PanelModel > &model) |
|
void | setModelSecond (const std::shared_ptr< PanelModel > &model) |
|
void | setSplitPositionLimitFirst (float value) |
|
void | setSplitPositionLimitSecond (float value) |
|
void | setResizeable (bool resizeable) |
|
void | setVisibleSplitButton (bool visible) |
|
| 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 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 |
|
| 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) |
|
virtual void | onFocusGain () |
|
virtual void | onFocusLost () |
|
| HaveVisible (bool v=true) |
|
bool | isVisible () const |
|
void | setVisible (bool visible) |
|
| HaveEnabled (ColorProvider &colorProvider, bool e=true) |
|
bool | isEnabled () const |
|
void | setEnabled (bool enabled) |
|