Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ONE::gui::Icon Class Reference

Inheritance diagram for ONE::gui::Icon:

Inheritance graph
[legend]
List of all members.

Detailed Description

an icon

Author:
Daniel Seibert


Public Member Functions

virtual void draw (render::Renderer2D *r, const int &x, const int &y) const
int getHeight () const
Size getSize () const
int getWidth () const
 Icon (const std::string &file, const render::UV &tl, const render::UV &br)

Protected Attributes

render::UV bottomRight
render::TextureRef texture
render::UV topLeft


Constructor & Destructor Documentation

ONE::gui::Icon::Icon const std::string &  file,
const render::UV tl,
const render::UV br
 


Member Function Documentation

virtual void ONE::gui::Icon::draw render::Renderer2D r,
const int &  x,
const int &  y
const [virtual]
 

Reimplemented in ONE::gui::TiltedIcon.

int ONE::gui::Icon::getHeight  )  const
 

Size ONE::gui::Icon::getSize  )  const
 

int ONE::gui::Icon::getWidth  )  const
 


Member Data Documentation

render::UV ONE::gui::Icon::bottomRight [protected]
 

render::TextureRef ONE::gui::Icon::texture [protected]
 

render::UV ONE::gui::Icon::topLeft [protected]
 


Generated on Wed Sep 7 19:03:17 2005 for ONEngine by  doxygen 1.4.3