#include <dlgmgr.h>
Inheritance diagram for CGadgetImageList:
Public Member Functions | |
CGadgetImageList (UINT32 width=0, UINT32 height=0) | |
~CGadgetImageList () | |
Destructor. | |
UINT32 | Add (CDlgResID resID) |
Adds an image to the list. | |
ListItem * | FindFirstBitmap (ResourceID *presID) const |
To get the first resourceID stored in this image list object. | |
ListItem * | FindNextBitmap (ListItem *pListItem, ResourceID *presID) const |
To get the next resourceID stored in this image list object after the specified item. | |
UINT32 | GetWidth () const |
UINT32 | GetHeight () const |
Private Member Functions | |
CC_DECLARE_DYNAMIC (CGadgetImageList) | |
Private Attributes | |
List | m_BitmapIDList |
UINT32 | m_width |
UINT32 | m_height |
Classes | |
class | ResIDListItem |
Definition at line 256 of file dlgmgr.h.
|
Definition at line 268 of file dlgmgr.h.
|
|
Destructor.
Definition at line 9380 of file dlgmgr.cpp. 09381 { 09382 m_BitmapIDList.DeleteAll(); 09383 }
|
|
Adds an image to the list.
Definition at line 9397 of file dlgmgr.cpp. 09398 { 09399 m_BitmapIDList.AddTail(new ResIDListItem(resID)); 09400 return m_BitmapIDList.GetCount()-1; 09401 }
|
|
|
|
To get the first resourceID stored in this image list object.
Definition at line 9417 of file dlgmgr.cpp. 09418 { 09419 ResIDListItem* pItem = (ResIDListItem*)m_BitmapIDList.GetHead(); 09420 if (presID && pItem) 09421 *presID = pItem->m_ResID; 09422 09423 return (ListItem*)pItem; 09424 }
|
|
To get the next resourceID stored in this image list object after the specified item.
Definition at line 9442 of file dlgmgr.cpp. 09443 { 09444 ResIDListItem* pItem = (ResIDListItem*)m_BitmapIDList.GetNext(pContextItem); // (Ahem! Maybe there's a better way to do this...) 09445 if (presID && pItem) 09446 *presID = pItem->m_ResID; 09447 09448 return (ListItem*)pItem; 09449 }
|
|
Definition at line 275 of file dlgmgr.h. 00275 {return m_height;}
|
|
Definition at line 274 of file dlgmgr.h. 00274 {return m_width;}
|
|
|
|
|
|
|