|
| 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 bool | update (sf::Vector2f mp=sf::Vector2f(0.f, 0.f), bool pressLeft=false, bool pressRight=false, bool aboveHover=false)=0 |
|
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) |
|
virtual void | onFocusGain () |
|
virtual void | onFocusLost () |
|
| HaveVisible (bool v=true) |
|
bool | isVisible () const |
|
void | setVisible (bool visible) |
|
|
sf::Vector2f | computeRelativeViewportCenterShift () const |
|
sf::FloatRect | computeClipped () const |
|
sf::FloatRect | clipArea (const sf::FloatRect &scissors, sf::FloatRect toCut) const |
|
ColorProvider & | getColorProvider () |
|
|
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 |
|
sf::String | name |
|
bool | focus |
|
bool | visible |
|
|
static void | unFocus () |
|
friend | TextInputable |
|
friend | Element |
|
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 |
|
static HaveFocus * | lastFocus = nullptr |
|
static float | timeFocused =0.f |
|
The documentation for this class was generated from the following files: