Simple SFML GUI  0.2a
Metody publiczne | Statyczne metody publiczne | Lista wszystkich składowych
Dokumentacja klasy EmptySpace
Diagram dziedziczenia dla EmptySpace
Inheritance graph
[legenda]
Diagram współpracy dla EmptySpace:
Collaboration graph
[legenda]

Metody publiczne

 EmptySpace (const sf::FloatRect &area=sf::FloatRect(), const sf::String &name=sf::String())
 
 EmptySpace (const sf::Vector2f &size, const sf::String &name=sf::String())
 
 EmptySpace (const sf::Vector2f &size, MaximizationMode maximizationMode, bool maximized=true)
 
virtual void draw (sf::RenderTarget &target, sf::RenderStates states)
 
virtual bool update (sf::Vector2f mp, bool pressLeft, bool pressRight, bool aboveHover)
 
- Metody publiczne dziedziczone z Element
 Element (const Element *parent=nullptr)
 
 Element (const Element &element)
 
Elementoperator= (const Element &)
 
void mainDraw (sf::RenderTarget &target, const sf::RenderStates &states=sf::RenderStates())
 
void mainUpdate (sf::RenderWindow &rw)
 
void setParent (const Element *parent)
 
const ElementgetParent () 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 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)
 
virtual void onFocusGain ()
 
virtual void onFocusLost ()
 
- Metody publiczne dziedziczone z HaveVisible
 HaveVisible (bool v=true)
 
bool isVisible () const
 
void setVisible (bool visible)
 

Statyczne metody publiczne

static std::shared_ptr< EmptySpacecreate (const sf::Vector2f &size, MaximizationMode maximizationMode, bool maximized=true)
 
- Statyczne metody publiczne dziedziczone z HaveFocus
static void unFocus ()
 

Dodatkowe Dziedziczone Składowe

- Atrybuty publiczne dziedziczone z HaveFocus
friend TextInputable
 
- Atrybuty publiczne dziedziczone z GlobalTimer
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
 
ColorProvidergetColorProvider ()
 
- Atrybuty chronione dziedziczone z Element
const Elementparent = 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
 
- Statyczne atrybuty chronione dziedziczone z HaveFocus
static HaveFocuslastFocus = nullptr
 
static float timeFocused =0.f
 

Dokumentacja dla tej klasy została wygenerowana z plików: