#include <vmsSkinMgr.h>
Public Member Functions | |
| BOOL | tbUseAlpha_ForAllPluginMenuImages () |
| vmsSkinInfo * | get_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< vmsSkinInfo > | m_vList |
Definition at line 33 of file vmsSkinMgr.h.
| vmsSkinMgr::vmsSkinMgr | ( | ) |
Definition at line 16 of file vmsSkinMgr.cpp.
| vmsSkinMgr::~vmsSkinMgr | ( | ) | [virtual] |
Definition at line 20 of file vmsSkinMgr.cpp.
| 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 | ( | ) |
Definition at line 249 of file vmsSkinMgr.cpp.
References m_nCurrSkin.
Referenced by CPrg_SkinsPage::OnInitDialog(), CMainFrame::OnSkin(), and CMainFrame::OnUpdateSkin().
| 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 | |||
| ) |
Definition at line 201 of file vmsSkinMgr.cpp.
References ASSERT, icon_x(), IDI_CHOOSEFOLDER, IDI_CREATEGROUP, IDI_LOGIN, IDI_LOGO2, IDI_SETTIME, IDI_TEST_OK, IDI_TOSEL, IDI_TOUNSEL, IDI_TRAY, IDI_TRAY_DOWNLOADING, IDI_TRAY_ERRORS, IDI_TRAY_UNKNOWN, and NULL.
| 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 | ) |
Definition at line 166 of file vmsSkinMgr.cpp.
References _App, m_dwFlags, m_hInst, m_nCurrSkin, m_vList, Scan(), fsAppSettings::Skin_Current(), and fsAppSettings::Skin_Flags().
Referenced by CFdmApp::InitInstance().
| HBITMAP vmsSkinMgr::bmp | ( | UINT | nID | ) |
Definition at line 124 of file vmsSkinMgr.cpp.
References ASSERT, bmp_x(), IDB_BACK, IDB_BACK_D, IDB_CHECKS, IDB_DOWNLOADSINFO, IDB_DOWNLOADSTASKS, IDB_DOWNLOADSTASKS_SEL, IDB_FILELIST, IDB_FILELIST_SEL, IDB_GO, IDB_GROUPS, IDB_GROUPSMENU, IDB_GROUPSMENU_D, IDB_LOGSTATES, IDB_MUTE, IDB_SCHEDULER_SEL, IDB_SHEDULER, IDB_SITELIST, IDB_SITELIST_SEL, IDB_TOOL0, IDB_TOOL0_16, IDB_TOOL0_16_D, IDB_TOOL0_D, IDB_TOOL_DLD_16, IDB_TOOL_DLD_16_D, IDB_TOOL_DLDS, IDB_TOOL_DLDS_D, IDB_TOOL_HFE, IDB_TOOL_HFE_16, IDB_TOOL_HFE_16_D, IDB_TOOL_HFE_D, IDB_TOOL_SCH_16, IDB_TOOL_SCH_16_D, IDB_TOOL_SCHEDULE, IDB_TOOL_SCHEDULE_D, IDB_TOOL_SITES, IDB_TOOL_SITES_16, IDB_TOOL_SITES_16_D, IDB_TOOL_SITES_D, IDB_TOOL_SPIDER, IDB_TOOL_SPIDER_16, IDB_TOOL_SPIDER_16_D, IDB_TOOL_SPIDER_D, IDB_VIDMAN, IDB_VIDMAN_D, and NULL.
| void vmsSkinMgr::set_CurrentSkin | ( | int | iSkin = -1 |
) |
| void vmsSkinMgr::Scan | ( | ) |
Definition at line 25 of file vmsSkinMgr.cpp.
References m_vList, and Scan_TryFolder().
Referenced by Initialize().
Definition at line 228 of file vmsSkinMgr.cpp.
References m_dwFlags, m_hInst, m_nCurrSkin, m_vList, NULL, and SM_ALLOWICONS.
Referenced by icon().
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] |
Definition at line 52 of file vmsSkinMgr.cpp.
References LPSTR, m_vList, vmsSkinInfo::nFDMBuild, PRG_BUILD_NUMBER, vmsSkinInfo::strName, vmsSkinInfo::strSkinFolder, vmsSkinInfo::tbSizeX, vmsSkinInfo::tbSizeY, and vmsSkinInfo::tbUseAlpha.
Referenced by Scan().
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] |
int vmsSkinMgr::m_nCurrSkin [protected] |
Definition at line 66 of file vmsSkinMgr.h.
Referenced by bmp_x(), get_Current(), icon_x(), Initialize(), set_CurrentSkin(), tbSizeX(), tbSizeY(), tbUseAlpha(), and tbUseAlpha_ForAllPluginMenuImages().
fs::list<vmsSkinInfo> vmsSkinMgr::m_vList [protected] |
Definition at line 70 of file vmsSkinMgr.h.
Referenced by bmp_x(), get_Count(), get_Skin(), icon_x(), Initialize(), Scan(), Scan_TryFolder(), tbSizeX(), tbSizeY(), and tbUseAlpha().
1.5.6