26 #ifndef _TGUI_PICTURE_INCLUDED_
27 #define _TGUI_PICTURE_INCLUDED_
46 Picture(
const Picture& copy);
58 Picture& operator= (
const Picture& right);
64 virtual Picture* clone();
77 virtual bool load(
const std::string& filename);
87 virtual void setSize(
float width,
float height);
93 virtual Vector2u getSize()
const;
99 virtual Vector2f getScaledSize()
const;
107 virtual std::string getLoadedFilename()
const;
114 virtual bool mouseOnObject(
float x,
float y);
115 virtual void leftMousePressed(
float x,
float y);
116 virtual void leftMouseReleased(
float x,
float y);
126 virtual void draw(sf::RenderTarget& target, sf::RenderStates states)
const;
132 sf::Texture* m_Texture;
139 std::string m_LoadedFilename;
147 #endif //_TGUI_PICTURE_INCLUDED_
Definition: Picture.hpp:35
The parent struct for every object.
Definition: Objects.hpp:36