#include <ibrowser.h>
Public Member Functions | |
IconCache () | |
void | init () |
const Icon & | extract (const String &path) |
const Icon & | extract (LPCTSTR path, int idx) |
const Icon & | extract (IExtractIcon *pExtract, LPCTSTR path, int idx) |
const Icon & | add (HICON hIcon, ICON_TYPE type=IT_DYNAMIC) |
const Icon & | add (int sys_idx) |
const Icon & | get_icon (int icon_id) |
HIMAGELIST | get_sys_imagelist () const |
void | free_icon (int icon_id) |
Protected Types | |
typedef map< int, Icon > | IconMap |
typedef map< String, ICON_ID > | PathMap |
typedef pair< String, int > | CachePair |
typedef map< CachePair, ICON_ID > | PathIdxMap |
Protected Attributes | |
IconMap | _icons |
PathMap | _pathMap |
PathIdxMap | _pathIdxMap |
HIMAGELIST | _himlSys |
Static Protected Attributes | |
static int | s_next_id |
Definition at line 160 of file ibrowser.h.
typedef map<int, Icon> IconCache::IconMap [protected] |
Definition at line 180 of file ibrowser.h.
typedef map<String, ICON_ID> IconCache::PathMap [protected] |
Definition at line 183 of file ibrowser.h.
typedef pair<String, int> IconCache::CachePair [protected] |
Definition at line 186 of file ibrowser.h.
typedef map<CachePair, ICON_ID> IconCache::PathIdxMap [protected] |
Definition at line 187 of file ibrowser.h.
IconCache::IconCache | ( | ) | [inline] |
void IconCache::init | ( | ) |
const Icon& IconCache::extract | ( | const String & | path | ) |
const Icon& IconCache::extract | ( | LPCTSTR | path, | |
int | idx | |||
) |
const Icon& IconCache::extract | ( | IExtractIcon * | pExtract, | |
LPCTSTR | path, | |||
int | idx | |||
) |
const Icon& IconCache::add | ( | int | sys_idx | ) |
const Icon& IconCache::get_icon | ( | int | icon_id | ) |
HIMAGELIST IconCache::get_sys_imagelist | ( | ) | const [inline] |
void IconCache::free_icon | ( | int | icon_id | ) |
int IconCache::s_next_id [static, protected] |
Definition at line 178 of file ibrowser.h.
IconMap IconCache::_icons [protected] |
Definition at line 181 of file ibrowser.h.
PathMap IconCache::_pathMap [protected] |
Definition at line 184 of file ibrowser.h.
PathIdxMap IconCache::_pathIdxMap [protected] |
Definition at line 188 of file ibrowser.h.
HIMAGELIST IconCache::_himlSys [protected] |
IBrowser Source Code Documentation
generated on 18.09.2008 by |