Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CSkinsSettingsPage Class Reference

#include <PageSettingsSkins.h>

Inheritance diagram for CSkinsSettingsPage:

CSettingsPage List of all members.

Public Types

enum  { IDD = IDD_SETTINGS_SKINS }

Public Member Functions

 CSkinsSettingsPage ()
virtual ~CSkinsSettingsPage ()
void EnumerateSkins (LPCTSTR pszPath=NULL)
BOOL AddSkin (LPCTSTR pszPath, LPCTSTR pszName)
virtual void OnOK ()

Public Attributes

CButton m_wndDelete
CEdit m_wndDesc
CStatic m_wndName
CStatic m_wndAuthor
CListCtrl m_wndList
CImageList m_gdiImageList
int m_nSelected

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
afx_msg BOOL OnSetCursor (CWnd *pWnd, UINT nHitTest, UINT message)
afx_msg HBRUSH OnCtlColor (CDC *pDC, CWnd *pWnd, UINT nCtlColor)
afx_msg void OnItemChangedSkins (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnSkinsBrowse ()
afx_msg void OnSkinsWeb ()
afx_msg void OnSkinsDelete ()

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 42 of file PageSettingsSkins.h.


Constructor & Destructor Documentation

CSkinsSettingsPage::CSkinsSettingsPage  ) 
 

Definition at line 55 of file PageSettingsSkins.cpp.

CSkinsSettingsPage::~CSkinsSettingsPage  )  [virtual]
 

Definition at line 61 of file PageSettingsSkins.cpp.


Member Function Documentation

BOOL CSkinsSettingsPage::AddSkin LPCTSTR  pszPath,
LPCTSTR  pszName
 

Definition at line 154 of file PageSettingsSkins.cpp.

References CLiveItem::Add(), CXMLElement::AddElement(), CXMLElement::FromString(), CSettings::General, CXMLElement::GetAttributeValue(), CXMLElement::GetElementByName(), CXMLNode::IsNamed(), CShareazaApp::m_bRTL, m_gdiImageList, CLiveItem::m_nImage, m_wndList, NULL, CSettings::sGeneral::Path, CLiveItem::Set(), Settings, and theApp.

Referenced by EnumerateSkins().

void CSkinsSettingsPage::DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 65 of file PageSettingsSkins.cpp.

References CSettingsPage::DoDataExchange(), IDC_SKIN_AUTHOR, IDC_SKIN_DESC, IDC_SKIN_NAME, IDC_SKINS, IDC_SKINS_DELETE, m_wndAuthor, m_wndDelete, m_wndDesc, m_wndList, and m_wndName.

void CSkinsSettingsPage::EnumerateSkins LPCTSTR  pszPath = NULL  ) 
 

Definition at line 117 of file PageSettingsSkins.cpp.

References _tcsistr(), AddSkin(), CSettings::General, NULL, CSettings::sGeneral::Path, and Settings.

Referenced by OnInitDialog().

HBRUSH CSkinsSettingsPage::OnCtlColor CDC *  pDC,
CWnd *  pWnd,
UINT  nCtlColor
[protected]
 

Reimplemented from CSettingsPage.

Definition at line 355 of file PageSettingsSkins.cpp.

References CShareazaApp::m_gdiFontLine, m_nSelected, m_wndAuthor, m_wndList, m_wndName, CSettingsPage::OnCtlColor(), and theApp.

BOOL CSkinsSettingsPage::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 80 of file PageSettingsSkins.cpp.

References CreateMirroredIcon(), EnumerateSkins(), IDI_SKIN, CShareazaApp::m_bRTL, m_gdiImageList, m_nSelected, m_wndAuthor, m_wndDelete, m_wndDesc, m_wndList, m_wndName, CSettingsPage::OnInitDialog(), and theApp.

void CSkinsSettingsPage::OnItemChangedSkins NMHDR *  pNMHDR,
LRESULT *  pResult
[protected]
 

Definition at line 330 of file PageSettingsSkins.cpp.

References m_nSelected, m_wndAuthor, m_wndDelete, m_wndDesc, m_wndList, and m_wndName.

void CSkinsSettingsPage::OnLButtonUp UINT  nFlags,
CPoint  point
[protected]
 

Definition at line 416 of file PageSettingsSkins.cpp.

References m_nSelected, m_wndAuthor, m_wndList, m_wndName, and NULL.

void CSkinsSettingsPage::OnOK  )  [virtual]
 

Reimplemented from CSettingsPage.

Definition at line 471 of file PageSettingsSkins.cpp.

References m_wndList, CSettingsPage::OnOK(), theApp, and WM_SKINCHANGED.

BOOL CSkinsSettingsPage::OnSetCursor CWnd *  pWnd,
UINT  nHitTest,
UINT  message
[protected]
 

Definition at line 382 of file PageSettingsSkins.cpp.

References IDC_HAND, m_nSelected, m_wndAuthor, m_wndList, m_wndName, and theApp.

void CSkinsSettingsPage::OnSkinsBrowse  )  [protected]
 

Definition at line 452 of file PageSettingsSkins.cpp.

References NULL.

void CSkinsSettingsPage::OnSkinsDelete  )  [protected]
 

Definition at line 494 of file PageSettingsSkins.cpp.

References CSettings::General, IDS_SKIN_DELETE, CSkin::LoadString(), m_nSelected, m_wndAuthor, m_wndDelete, m_wndDesc, m_wndList, m_wndName, NULL, CSettings::sGeneral::Path, Settings, Skin, and theApp.

void CSkinsSettingsPage::OnSkinsWeb  )  [protected]
 

Definition at line 464 of file PageSettingsSkins.cpp.

References CShareazaApp::m_sVersion, NULL, and theApp.


Member Data Documentation

CImageList CSkinsSettingsPage::m_gdiImageList
 

Definition at line 52 of file PageSettingsSkins.h.

Referenced by AddSkin(), and OnInitDialog().

int CSkinsSettingsPage::m_nSelected
 

Definition at line 53 of file PageSettingsSkins.h.

Referenced by OnCtlColor(), OnInitDialog(), OnItemChangedSkins(), OnLButtonUp(), OnSetCursor(), and OnSkinsDelete().

CStatic CSkinsSettingsPage::m_wndAuthor
 

Definition at line 46 of file PageSettingsSkins.h.

Referenced by DoDataExchange(), OnCtlColor(), OnInitDialog(), OnItemChangedSkins(), OnLButtonUp(), OnSetCursor(), and OnSkinsDelete().

CButton CSkinsSettingsPage::m_wndDelete
 

Definition at line 43 of file PageSettingsSkins.h.

Referenced by DoDataExchange(), OnInitDialog(), OnItemChangedSkins(), and OnSkinsDelete().

CEdit CSkinsSettingsPage::m_wndDesc
 

Definition at line 44 of file PageSettingsSkins.h.

Referenced by DoDataExchange(), OnInitDialog(), OnItemChangedSkins(), and OnSkinsDelete().

CListCtrl CSkinsSettingsPage::m_wndList
 

Definition at line 47 of file PageSettingsSkins.h.

Referenced by AddSkin(), DoDataExchange(), OnCtlColor(), OnInitDialog(), OnItemChangedSkins(), OnLButtonUp(), OnOK(), OnSetCursor(), and OnSkinsDelete().

CStatic CSkinsSettingsPage::m_wndName
 

Definition at line 45 of file PageSettingsSkins.h.

Referenced by DoDataExchange(), OnCtlColor(), OnInitDialog(), OnItemChangedSkins(), OnLButtonUp(), OnSetCursor(), and OnSkinsDelete().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:12 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2