CL_ListViewIcon Class Reference
[clanGUI Components]

ListView icon. More...

#include <listview_icon.h>

List of all members.

Public Member Functions

Construction

 CL_ListViewIcon ()
 ~CL_ListViewIcon ()
Attributes

CL_Sprite get_sprite (CL_ListViewDisplayMode mode)
 Get sprite.
CL_PixelBuffer get_pixel_buffer (CL_ListViewDisplayMode mode)
 Get pixel buffer.
CL_Point get_offset (CL_ListViewDisplayMode mode)
 Get offset.
bool is_scalable () const
 Is Scalable.
Operations

void set_sprite (const CL_Sprite &sprite, CL_ListViewDisplayMode mode)
 Set sprite.
void set_offset (const CL_Point &offset, CL_ListViewDisplayMode mode)
void set_pixel_buffer (CL_PixelBuffer &pbuf, CL_ListViewDisplayMode mode)
 Set pixel buffer.
void draw (CL_GraphicContext &gc, const CL_Rect &rect, CL_ListViewDisplayMode mode, const CL_Colorf &color)
 Draw.
void set_scalable (bool value)
 Set scalable.

Detailed Description

ListView icon.


Constructor & Destructor Documentation

CL_ListViewIcon::CL_ListViewIcon (  ) 
CL_ListViewIcon::~CL_ListViewIcon (  ) 

Member Function Documentation

void CL_ListViewIcon::draw ( CL_GraphicContext gc,
const CL_Rect rect,
CL_ListViewDisplayMode  mode,
const CL_Colorf color 
)

Draw.

Parameters:
gc = Graphic Context
rect = Rect
mode = List View Display Mode
color = Colorf
CL_Point CL_ListViewIcon::get_offset ( CL_ListViewDisplayMode  mode  ) 

Get offset.

Parameters:
mode = List View Display Mode
Returns:
Point
CL_PixelBuffer CL_ListViewIcon::get_pixel_buffer ( CL_ListViewDisplayMode  mode  ) 

Get pixel buffer.

Parameters:
mode = List View Display Mode
Returns:
Pixel Buffer
CL_Sprite CL_ListViewIcon::get_sprite ( CL_ListViewDisplayMode  mode  ) 

Get sprite.

Parameters:
mode = List View Display Mode
Returns:
Sprite
bool CL_ListViewIcon::is_scalable (  )  const

Is Scalable.

Returns:
true = scalable
void CL_ListViewIcon::set_offset ( const CL_Point offset,
CL_ListViewDisplayMode  mode 
)
void CL_ListViewIcon::set_pixel_buffer ( CL_PixelBuffer pbuf,
CL_ListViewDisplayMode  mode 
)

Set pixel buffer.

Parameters:
pbuf = Pixel Buffer
mode = List View Display Mode
void CL_ListViewIcon::set_scalable ( bool  value  ) 

Set scalable.

Parameters:
value = bool
void CL_ListViewIcon::set_sprite ( const CL_Sprite sprite,
CL_ListViewDisplayMode  mode 
)

Set sprite.

Parameters:
sprite = Sprite
mode = List View Display Mode

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