MGUI::IMAGELIST Class Reference

Image list for icons, bitmaps, etc. More...

#include <mgui/imagelst.h>

Inheritance diagram for MGUI::IMAGELIST:

Inheritance graph
[legend]
List of all members.

Public Member Functions

int AddIcon (ICONID id, const COLOR &bgcolor, int size=16)
int AddIcon (ICONID id, int size=16)
MICON GetIcon (int index) const
 IMAGELIST (const IMAGELIST &rhs)
 IMAGELIST ()
IMAGELISToperator= (const IMAGELIST &rhs)
 ~IMAGELIST ()

Detailed Description

Image list for icons, bitmaps, etc.

Definition at line 81 of file imagelst.h.


Constructor & Destructor Documentation

MGUI::IMAGELIST::IMAGELIST  )  [inline]
 

Constructor.

Definition at line 89 of file imagelst.h.

MGUI::IMAGELIST::IMAGELIST const IMAGELIST rhs  ) 
 

MGUI::IMAGELIST::~IMAGELIST  ) 
 

Destructor.


Member Function Documentation

int MGUI::IMAGELIST::AddIcon ICONID  id,
const COLOR bgcolor,
int  size = 16
 

Add an icon given an ICONID.

Returns:
Icon index in the image list or < 0 if an error
Parameters:
id  Icon ID
bgcolor  Color to use for background
size  Icon size

int MGUI::IMAGELIST::AddIcon ICONID  id,
int  size = 16
 

Add an icon given an ICONID.

Returns:
Icon index in the image list or < 0 if an error
Parameters:
id  Icon ID
size  Icon size

MICON MGUI::IMAGELIST::GetIcon int  index  )  const
 

Get MICON pointer for image list entry (X only).

Returns:
Icon pointer for use in other X functions.

IMAGELIST& MGUI::IMAGELIST::operator= const IMAGELIST rhs  ) 
 


The documentation for this class was generated from the following file:
Generated on Wed May 31 15:29:58 2006 for TNTsdk by  doxygen 1.3.8-20040913