vmsSkinMgr Class Reference

#include <vmsSkinMgr.h>

List of all members.

Public Member Functions

BOOL tbUseAlpha_ForAllPluginMenuImages ()
vmsSkinInfoget_Skin (int iIndex)
int get_Current ()
int get_Count ()
HICON icon (UINT nID, int cx=0, int cy=0)
BOOL tbUseAlpha ()
int tbSizeY ()
int tbSizeX ()
void Initialize ()
HBITMAP bmp (UINT nID)
void set_CurrentSkin (int iSkin=-1)
void Scan ()
 vmsSkinMgr ()
virtual ~vmsSkinMgr ()

Protected Member Functions

HICON icon_x (UINT nID, LPCSTR pszName, int cx=0, int cy=0)
HBITMAP bmp_x (UINT nID, LPCSTR pszName)
void Scan_TryFolder (LPCSTR pszFolder)

Protected Attributes

DWORD m_dwFlags
HINSTANCE m_hInst
int m_nCurrSkin
fs::list< vmsSkinInfom_vList


Detailed Description

Definition at line 33 of file vmsSkinMgr.h.


Constructor & Destructor Documentation

vmsSkinMgr::vmsSkinMgr (  ) 

Definition at line 16 of file vmsSkinMgr.cpp.

vmsSkinMgr::~vmsSkinMgr (  )  [virtual]

Definition at line 20 of file vmsSkinMgr.cpp.


Member Function Documentation

BOOL vmsSkinMgr::tbUseAlpha_ForAllPluginMenuImages (  ) 

Definition at line 259 of file vmsSkinMgr.cpp.

References m_nCurrSkin, and tbUseAlpha().

Referenced by vmsUploadsDllCaller::GetBitmap(), and CMainFrame::LoadMenuImages().

vmsSkinInfo * vmsSkinMgr::get_Skin ( int  iIndex  ) 

Definition at line 254 of file vmsSkinMgr.cpp.

References m_vList.

Referenced by CMainFrame::BuildSkinsMenu(), CPrg_SkinsPage::OnInitDialog(), and CMainFrame::OnSkin().

int vmsSkinMgr::get_Current (  ) 

int vmsSkinMgr::get_Count (  ) 

Definition at line 244 of file vmsSkinMgr.cpp.

References m_vList.

Referenced by CMainFrame::BuildSkinsMenu(), and CPrg_SkinsPage::OnInitDialog().

HICON vmsSkinMgr::icon ( UINT  nID,
int  cx = 0,
int  cy = 0 
)

BOOL vmsSkinMgr::tbUseAlpha (  ) 

Definition at line 196 of file vmsSkinMgr.cpp.

References m_dwFlags, m_nCurrSkin, m_vList, SM_ALLOWBITMAPS, and TRUE.

Referenced by tbUseAlpha_ForAllPluginMenuImages().

int vmsSkinMgr::tbSizeY (  ) 

Definition at line 191 of file vmsSkinMgr.cpp.

References m_dwFlags, m_nCurrSkin, m_vList, and SM_ALLOWBITMAPS.

int vmsSkinMgr::tbSizeX (  ) 

Definition at line 186 of file vmsSkinMgr.cpp.

References m_dwFlags, m_nCurrSkin, m_vList, and SM_ALLOWBITMAPS.

void vmsSkinMgr::Initialize ( void   ) 

HBITMAP vmsSkinMgr::bmp ( UINT  nID  ) 

void vmsSkinMgr::set_CurrentSkin ( int  iSkin = -1  ) 

Definition at line 102 of file vmsSkinMgr.cpp.

References m_nCurrSkin.

void vmsSkinMgr::Scan (  ) 

Definition at line 25 of file vmsSkinMgr.cpp.

References m_vList, and Scan_TryFolder().

Referenced by Initialize().

HICON vmsSkinMgr::icon_x ( UINT  nID,
LPCSTR  pszName,
int  cx = 0,
int  cy = 0 
) [protected]

Definition at line 228 of file vmsSkinMgr.cpp.

References m_dwFlags, m_hInst, m_nCurrSkin, m_vList, NULL, and SM_ALLOWICONS.

Referenced by icon().

HBITMAP vmsSkinMgr::bmp_x ( UINT  nID,
LPCSTR  pszName 
) [protected]

Definition at line 107 of file vmsSkinMgr.cpp.

References m_dwFlags, m_hInst, m_nCurrSkin, m_vList, NULL, and SM_ALLOWBITMAPS.

Referenced by bmp().

void vmsSkinMgr::Scan_TryFolder ( LPCSTR  pszFolder  )  [protected]


Member Data Documentation

DWORD vmsSkinMgr::m_dwFlags [protected]

Definition at line 60 of file vmsSkinMgr.h.

Referenced by bmp_x(), icon_x(), Initialize(), tbSizeX(), tbSizeY(), and tbUseAlpha().

HINSTANCE vmsSkinMgr::m_hInst [protected]

Definition at line 65 of file vmsSkinMgr.h.

Referenced by bmp_x(), icon_x(), and Initialize().

int vmsSkinMgr::m_nCurrSkin [protected]

fs::list<vmsSkinInfo> vmsSkinMgr::m_vList [protected]


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

Generated on Sun May 25 00:21:24 2008 by  doxygen 1.5.6