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

CAvatarProfilePage Class Reference

#include <PageProfileAvatar.h>

Inheritance diagram for CAvatarProfilePage:

CSettingsPage List of all members.

Public Types

enum  { IDD = IDD_PROFILE_AVATAR }

Public Member Functions

 CAvatarProfilePage ()
virtual ~CAvatarProfilePage ()
virtual void OnOK ()

Public Attributes

CButton m_wndRemove
CStatic m_wndPreview

Protected Member Functions

void PrepareImage ()
virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnPaint ()
afx_msg void OnAvatarBrowse ()
afx_msg void OnAvatarRemove ()

Protected Attributes

CString m_sAvatar
CBitmap m_bmAvatar

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 42 of file PageProfileAvatar.h.


Constructor & Destructor Documentation

CAvatarProfilePage::CAvatarProfilePage  ) 
 

Definition at line 50 of file PageProfileAvatar.cpp.

CAvatarProfilePage::~CAvatarProfilePage  )  [virtual]
 

Definition at line 56 of file PageProfileAvatar.cpp.


Member Function Documentation

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

Reimplemented from CSettingsPage.

Definition at line 60 of file PageProfileAvatar.cpp.

References CSettingsPage::DoDataExchange(), IDC_AVATAR_REMOVE, IDC_PREVIEW, m_wndPreview, and m_wndRemove.

void CAvatarProfilePage::OnAvatarBrowse  )  [protected]
 

Definition at line 121 of file PageProfileAvatar.cpp.

References m_sAvatar, and PrepareImage().

void CAvatarProfilePage::OnAvatarRemove  )  [protected]
 

Definition at line 134 of file PageProfileAvatar.cpp.

References m_bmAvatar, m_sAvatar, and NULL.

BOOL CAvatarProfilePage::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 72 of file PageProfileAvatar.cpp.

References CGProfile::GetXML(), m_sAvatar, MyProfile, CSettingsPage::OnInitDialog(), and PrepareImage().

void CAvatarProfilePage::OnOK  )  [virtual]
 

Reimplemented from CSettingsPage.

Definition at line 85 of file PageProfileAvatar.cpp.

References CGProfile::GetXML(), m_sAvatar, MyProfile, and CSettingsPage::OnOK().

void CAvatarProfilePage::OnPaint  )  [protected]
 

Definition at line 95 of file PageProfileAvatar.cpp.

References m_bmAvatar, m_wndPreview, and NULL.

void CAvatarProfilePage::PrepareImage  )  [protected]
 

Definition at line 141 of file PageProfileAvatar.cpp.

References CImageFile::CreateBitmap(), CImageFile::EnsureRGB(), CImageFile::LoadFromFile(), m_bmAvatar, m_sAvatar, m_wndPreview, NULL, and CImageFile::Resample().

Referenced by OnAvatarBrowse(), and OnInitDialog().


Member Data Documentation

CBitmap CAvatarProfilePage::m_bmAvatar [protected]
 

Definition at line 50 of file PageProfileAvatar.h.

Referenced by OnAvatarRemove(), OnPaint(), and PrepareImage().

CString CAvatarProfilePage::m_sAvatar [protected]
 

Definition at line 49 of file PageProfileAvatar.h.

Referenced by OnAvatarBrowse(), OnAvatarRemove(), OnInitDialog(), OnOK(), and PrepareImage().

CStatic CAvatarProfilePage::m_wndPreview
 

Definition at line 44 of file PageProfileAvatar.h.

Referenced by DoDataExchange(), OnPaint(), and PrepareImage().

CButton CAvatarProfilePage::m_wndRemove
 

Definition at line 43 of file PageProfileAvatar.h.

Referenced by DoDataExchange().


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