Simple SFML GUI  0.2a
Classes | Public Member Functions | Public Attributes | List of all members
ColorProvider Class Reference

Classes

struct  ColorInfo
 
struct  Internal
 

Public Member Functions

 ColorProvider (const ColorProvider &copy)
 
ColorProvideroperator= (const ColorProvider &colorProvider)
 
bool isStateRegistered (StateId::Type stateId) const
 
bool registerState (StateId::Type stateId, const bool *state, bool inverted=false, bool overwrite=false)
 
bool registerState (StateId::Type stateId, const PairState &pair, bool overwrite=false)
 
bool registerColor (ColorId::Type colorId, bool logError=true)
 
bool getRegisteredState (StateId::Type stateId, PairState &result)
 
bool setColorEnabled (ColorId::Type colorId, StateId::Type stateId, bool enabled)
 
bool getColor (ColorId::Type colorId, StateId::Type stateId, sf::Color &result) const
 
bool setColor (ColorId::Type colorId, StateId::Type stateId, sf::Color newColor)
 
bool colorDeduce (const ColorRef &colorRef) const
 
bool colorDeduce (const ColorRefVector &colorRefVector) const
 
bool setColorFrom (const ColorProvider &provider)
 
bool setStateFrom (const ColorProvider &provider)
 

Public Attributes

friend Element
 

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