#include <CoolInterface.h>
Public Member Functions | |
CCoolInterface () | |
virtual | ~CCoolInterface () |
void | Clear () |
void | NameCommand (UINT nID, LPCTSTR pszName) |
UINT | NameToID (LPCTSTR pszName) |
int | ImageForID (UINT nID) |
void | AddIcon (UINT nID, HICON hIcon) |
void | CopyIcon (UINT nFromID, UINT nToID) |
HICON | ExtractIcon (UINT nID) |
BOOL | AddImagesFromToolbar (UINT nIDToolBar, COLORREF crBack=RGB(0, 255, 0)) |
BOOL | ConfirmImageList () |
CDC * | GetBuffer (CDC &dcScreen, CSize &szItem) |
BOOL | DrawWatermark (CDC *pDC, CRect *pRect, CBitmap *pMark, int nOffX=0, int nOffY=0) |
void | CreateFonts (LPCTSTR pszFace=NULL, int nSize=0) |
void | CalculateColours (BOOL bCustom=FALSE) |
void | OnSysColourChange () |
Static Public Member Functions | |
static COLORREF | CalculateColour (COLORREF crFore, COLORREF crBack, int nAlpha) |
static COLORREF | GetDialogBkColor () |
static BOOL | IsNewWindows () |
static BOOL | EnableTheme (CWnd *pWnd, BOOL bEnable=TRUE) |
Public Attributes | |
CMapStringToPtr | m_pNameMap |
CMapPtrToPtr | m_pImageMap |
CImageList | m_pImages |
CFont | m_fntNormal |
CFont | m_fntBold |
CFont | m_fntUnder |
CFont | m_fntCaption |
CFont | m_fntItalic |
CFont | m_fntBoldItalic |
BOOL | m_bCustom |
COLORREF | m_crWindow |
COLORREF | m_crMidtone |
COLORREF | m_crHighlight |
COLORREF | m_crText |
COLORREF | m_crHiText |
COLORREF | m_crBackNormal |
COLORREF | m_crBackSel |
COLORREF | m_crBackCheck |
COLORREF | m_crBackCheckSel |
COLORREF | m_crMargin |
COLORREF | m_crBorder |
COLORREF | m_crShadow |
COLORREF | m_crCmdText |
COLORREF | m_crCmdTextSel |
COLORREF | m_crDisabled |
COLORREF | m_crTipBack |
COLORREF | m_crTipText |
COLORREF | m_crTipBorder |
COLORREF | m_crTipWarnings |
COLORREF | m_crTaskPanelBack |
COLORREF | m_crTaskBoxCaptionBack |
COLORREF | m_crTaskBoxPrimaryBack |
COLORREF | m_crTaskBoxCaptionText |
COLORREF | m_crTaskBoxPrimaryText |
COLORREF | m_crTaskBoxCaptionHover |
COLORREF | m_crTaskBoxClient |
Protected Attributes | |
CSize | m_czBuffer |
CDC | m_dcBuffer |
CBitmap | m_bmBuffer |
HBITMAP | m_bmOldBuffer |
|
Definition at line 38 of file CoolInterface.cpp. References CalculateColours(), CreateFonts(), and m_czBuffer. |
|
Definition at line 46 of file CoolInterface.cpp. References Clear(). |
|
Definition at line 100 of file CoolInterface.cpp. References ConfirmImageList(), m_pImageMap, and m_pImages. Referenced by CSkin::CreateDefault(), and CSkin::LoadCommandImages(). |
|
Definition at line 121 of file CoolInterface.cpp. References ConfirmImageList(), ID_SEPARATOR, TOOLBAR_RES::items(), m_pImageMap, m_pImages, and NULL. |
|
|
Definition at line 275 of file CoolInterface.cpp. References CalculateColour(), m_bCustom, m_crBackCheck, m_crBackCheckSel, m_crBackNormal, m_crBackSel, m_crBorder, m_crCmdText, m_crCmdTextSel, m_crDisabled, m_crHighlight, m_crHiText, m_crMargin, m_crMidtone, m_crShadow, m_crTaskBoxCaptionBack, m_crTaskBoxCaptionHover, m_crTaskBoxCaptionText, m_crTaskBoxClient, m_crTaskBoxPrimaryBack, m_crTaskBoxPrimaryText, m_crTaskPanelBack, m_crText, m_crTipBack, m_crTipBorder, m_crTipText, m_crTipWarnings, and m_crWindow. Referenced by CCoolInterface(), CSkin::CreateDefault(), CSkin::LoadColourScheme(), and OnSysColourChange(). |
|
Definition at line 54 of file CoolInterface.cpp. References m_bmBuffer, m_bmOldBuffer, m_czBuffer, m_dcBuffer, m_pImageMap, m_pImages, m_pNameMap, and NULL. Referenced by CSkin::CreateDefault(), and ~CCoolInterface(). |
|
Definition at line 162 of file CoolInterface.cpp. References m_pImages, and NULL. Referenced by AddIcon(), AddImagesFromToolbar(), and CSkin::LoadCommandBitmap(). |
|
Definition at line 107 of file CoolInterface.cpp. References m_pImageMap. Referenced by CSkin::CreateDefault(). |
|
Definition at line 235 of file CoolInterface.cpp. References m_fntBold, m_fntBoldItalic, m_fntCaption, m_fntItalic, m_fntNormal, m_fntUnder, CShareazaApp::m_nDefaultFontSize, CShareazaApp::m_sDefaultFont, and theApp. Referenced by CCoolInterface(), and CSkin::CreateDefault(). |
|
|
Definition at line 345 of file CoolInterface.cpp. References NULL. |
|
Definition at line 114 of file CoolInterface.cpp. References ImageForID(), m_pImages, and NULL. Referenced by CSkin::Apply(), CSearchPadWnd::OnCreate(), CSearchInputBox::OnCreate(), CMediaVisDlg::OnInitDialog(), CPluginWnd::OnSkinChange(), CChildWnd::OnSkinChange(), CSearchInputBox::OnSkinChange(), CRichElement::PrePaintIcon(), CHomeSearchCtrl::Setup(), and CSkinDialog::SkinMe(). |
|
|
Definition at line 325 of file CoolInterface.cpp. References CalculateColour(). Referenced by CSkin::CreateDefault(), CRichSettingsPage::CRichSettingsPage(), CWarningsDlg::OnInitDialog(), CPromoteDlg::OnInitDialog(), CAboutDlg::OnInitDialog(), and CFilePropertiesPage::OnPaint(). |
|
Definition at line 93 of file CoolInterface.cpp. References m_pImageMap. Referenced by CCoolBarCtrl::Add(), CCoolBarItem::CCoolBarItem(), CWndTabBar::DoPaint(), ExtractIcon(), CCoolMenu::OnDrawItem(), CMediaVisDlg::OnInitDialog(), CDownloadReviewDlg::OnInitDialog(), CRichElement::PrePaint(), CCoolBarItem::SetImage(), and CUploadsSettingsPage::UpdateQueues(). |
|
Definition at line 333 of file CoolInterface.cpp. Referenced by CSchema::Load(), CPanelWnd::OnSize(), CSkinWindow::OnSize(), and CMainWnd::OnTimer(). |
|
Definition at line 77 of file CoolInterface.cpp. References m_pNameMap. Referenced by CSkin::LoadCommandMap(). |
|
Definition at line 82 of file CoolInterface.cpp. References m_pNameMap. Referenced by CRemoteWnd::CmdButton::CmdButton(), CShareazaApp::InternalURI(), CSkin::LookupCommandID(), CRichElement::PrePaint(), and CMainTabBarCtrl::TabItem::TabItem(). |
|
Definition at line 311 of file CoolInterface.cpp. References CalculateColours(), and m_bCustom. Referenced by CMainWnd::OnSysColorChange(). |
|
Definition at line 48 of file CoolInterface.h. Referenced by CalculateColours(), and OnSysColourChange(). |
|
Definition at line 78 of file CoolInterface.h. Referenced by Clear(), and GetBuffer(). |
|
Definition at line 79 of file CoolInterface.h. Referenced by Clear(), and GetBuffer(). |
|
Definition at line 56 of file CoolInterface.h. Referenced by CalculateColours(), CSkin::LoadColourScheme(), CCoolMenu::OnDrawItem(), and CCoolBarItem::Paint(). |
|
Definition at line 57 of file CoolInterface.h. Referenced by CalculateColours(), CSkin::LoadColourScheme(), CCoolMenu::OnDrawItem(), CIconButtonCtrl::OnPaint(), CWndTabBar::TabItem::Paint(), CDownloadTabBar::TabItem::Paint(), CCoolBarItem::Paint(), and CLanguageDlg::PaintItem(). |
|
Definition at line 54 of file CoolInterface.h. Referenced by CalculateColours(), CSkin::LoadColourScheme(), CCoolMenu::MenuProc(), CCoolMenu::OnDrawItem(), CIconButtonCtrl::OnPaint(), CWndTabBar::TabItem::Paint(), CLibraryThumbItem::Paint(), CDownloadTabBar::TabItem::Paint(), CCoolBarItem::Paint(), and CLanguageDlg::PaintItem(). |
|
|
|
|
Definition at line 62 of file CoolInterface.h. Referenced by CalculateColours(), CSkin::LoadColourScheme(), CCoolMenu::OnDrawItem(), CWndTabBar::TabItem::Paint(), CDownloadTabBar::TabItem::Paint(), CCoolBarItem::Paint(), and CLanguageDlg::PaintItem(). |
|
|
|
Definition at line 53 of file CoolInterface.h. Referenced by CalculateColours(), CSkin::LoadColourScheme(), CLibraryDetailView::OnCustomDraw(), CLibraryTreeItem::Paint(), CLibraryTileItem::Paint(), CLibraryThumbItem::Paint(), CLibraryAlbumTrack::Paint(), and CBrowseTreeItem::Paint(). |
|
|
|
Definition at line 60 of file CoolInterface.h. Referenced by CalculateColours(), CSkin::LoadColourScheme(), CCoolMenu::OnDrawItem(), CIconButtonCtrl::OnPaint(), CWndTabBar::TabItem::Paint(), CDownloadTabBar::TabItem::Paint(), CCoolBarItem::Paint(), and CLanguageDlg::PaintItem(). |
|
Definition at line 69 of file CoolInterface.h. Referenced by CalculateColours(), CSkin::LoadColourScheme(), and CTaskBox::PaintBorders(). |
|
Definition at line 73 of file CoolInterface.h. Referenced by CalculateColours(), CSkin::LoadColourScheme(), and CTaskBox::PaintBorders(). |
|
Definition at line 71 of file CoolInterface.h. Referenced by CalculateColours(), CSkin::LoadColourScheme(), and CTaskBox::PaintBorders(). |
|
Definition at line 74 of file CoolInterface.h. Referenced by CalculateColours(), CSkin::LoadColourScheme(), CTaskBox::OnPaint(), CSearchResultsBox::OnPaint(), CSearchAdvancedBox::OnPaint(), and CSearchInputBox::OnPaint(). |
|
Definition at line 70 of file CoolInterface.h. Referenced by CalculateColours(), CSkin::LoadColourScheme(), CTaskBox::PaintBorders(), and CTaskBox::SetCaptionmark(). |
|
Definition at line 72 of file CoolInterface.h. Referenced by CalculateColours(), CSkin::LoadColourScheme(), and CTaskBox::PaintBorders(). |
|
Definition at line 68 of file CoolInterface.h. Referenced by CalculateColours(), CSkin::LoadColourScheme(), CTaskPanel::OnPaint(), CTaskBox::PaintBorders(), and CTaskPanel::SetFooter(). |
|
|
|
|
Definition at line 65 of file CoolInterface.h. Referenced by CalculateColours(), CMatchTipCtrl::CMatchTipCtrl(), and CSkin::LoadColourScheme(). |
|
Definition at line 67 of file CoolInterface.h. Referenced by CalculateColours(), CMatchTipCtrl::CMatchTipCtrl(), and CSkin::LoadColourScheme(). |
|
|
Definition at line 76 of file CoolInterface.h. Referenced by CCoolInterface(), Clear(), and GetBuffer(). |
|
Definition at line 77 of file CoolInterface.h. Referenced by Clear(), and GetBuffer(). |
|
|
Definition at line 46 of file CoolInterface.h. Referenced by CreateFonts(). |
|
|
Definition at line 45 of file CoolInterface.h. Referenced by CreateFonts(), and CDownloadTipCtrl::OnPaint(). |
|
|
Definition at line 43 of file CoolInterface.h. Referenced by CreateFonts(), CLibraryHeaderPanel::DoPaint(), CSearchDetailPanel::OnPaint(), CLibraryMetaPanel::OnPaint(), CLibraryHistoryPanel::OnPaint(), and CMetaPanel::Paint(). |
|
Definition at line 38 of file CoolInterface.h. Referenced by AddIcon(), AddImagesFromToolbar(), Clear(), CopyIcon(), ImageForID(), and CSkin::LoadCommandBitmap(). |
|
|
Definition at line 37 of file CoolInterface.h. Referenced by Clear(), NameCommand(), and NameToID(). |