SDL++
C++wrapperfortheSDLlibrary.

sdl::video::Icon Class Reference

Represents an icon. More...

#include <Icon.h>

Collaboration diagram for sdl::video::Icon:

List of all members.

Public Member Functions

 Icon (const string &name)
 ~Icon ()
string name () const
Iconname (const string &name)

Detailed Description

Represents an icon.

Definition at line 34 of file Icon.h.


Constructor & Destructor Documentation

sdl::video::Icon::Icon ( const string &  name) [inline]

Constructs an Icon with a name.

Parameters:
nameThe icon name.

Definition at line 41 of file Icon.h.

sdl::video::Icon::~Icon ( ) [inline]

Destroys the Icon.

Definition at line 46 of file Icon.h.


Member Function Documentation

string sdl::video::Icon::name ( ) const [inline]

Returns the name of the icon.

Returns:
The name of the icon.

Definition at line 53 of file Icon.h.

Icon& sdl::video::Icon::name ( const string &  name) [inline]

Set the Icon name.

Parameters:
nameThe name to give the icon.
Returns:
A reference to this Icon.

Definition at line 62 of file Icon.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs