26 #ifndef _TGUI_PANEL_INCLUDED_ 
   27 #define _TGUI_PANEL_INCLUDED_ 
   47         Panel(
const Panel& copy);
 
   59         Panel& operator= (
const Panel& right);
 
   65         virtual Panel* clone();
 
   80         virtual bool load(
float width, 
float height, 
const sf::Color& backgroundColor = sf::Color::Transparent, 
const std::string& backgroundImageFilename = 
"");
 
   89         virtual void setSize(
float width, 
float height);
 
   95         virtual Vector2u getSize() 
const;
 
  101         virtual Vector2f getScaledSize() 
const;
 
  110         virtual bool setBackgroundImage(
const std::string& filename = 
"");
 
  118         virtual std::string getLoadedBackgroundImageFilename() 
const;
 
  126         virtual bool mouseOnObject(
float x, 
float y);
 
  127         virtual void objectFocused();
 
  128         virtual void objectUnfocused();
 
  135         virtual void addCallback(
const Callback& callback);
 
  146         virtual void draw(sf::RenderTarget& target, sf::RenderStates states) 
const;
 
  161         sf::Texture* m_Texture;
 
  164         std::string  m_LoadedBackgroundImageFilename;
 
  179 #endif //_TGUI_PANEL_INCLUDED_ 
Definition: GroupObject.hpp:35
 
When you receive an action callback from an object then this struct will be passed as parameter...
Definition: Objects.hpp:362
 
Parent struct for objects that store multiple objects. 
Definition: Group.hpp:38
 
sf::Color backgroundColor
The background color of the Panel. The default is a transparent background (sf::Color::Transparent). 
Definition: Panel.hpp:153
 
A static group of objects. The background color can be solid or transparent. 
Definition: Panel.hpp:36