Simple SFML GUI  0.2a
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | Static Protected Attributes | List of all members
HaveFocus Class Reference
Inheritance diagram for HaveFocus:
Inheritance graph
[legend]
Collaboration diagram for HaveFocus:
Collaboration graph
[legend]

Public Member Functions

 HaveFocus (bool focus=false)
 
bool isFocus () const
 
void setFocus (bool focus)
 
virtual void onFocusGain ()
 
virtual void onFocusLost ()
 

Static Public Member Functions

static void unFocus ()
 

Public Attributes

friend TextInputable
 
- Public Attributes inherited from GlobalTimer
friend Element
 

Protected Attributes

bool focus
 

Static Protected Attributes

static HaveFocuslastFocus = nullptr
 
static float timeFocused =0.f
 

Additional Inherited Members

- Static Public Attributes inherited from 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
 

The documentation for this class was generated from the following files: