GME
13
|
#include <colorbtn.h>
Public Types | |
enum | { IDD = (5100) } |
Public Member Functions | |
CColorBtnDlg (CWnd *pParent=NULL) | |
Public Attributes | |
CButton * | parent |
int | colorindex |
Static Public Attributes | |
static COLORREF | colors [20] |
static BYTE | used [20] |
Protected Member Functions | |
virtual void | DoDataExchange (CDataExchange *pDX) |
virtual BOOL | OnInitDialog () |
afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
afx_msg void | OnDrawItem (int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct) |
afx_msg void | OnOther () |
afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
void | OnColor (UINT id) |
void | EndDialog (int nResult) |
Definition at line 28 of file colorbtn.h.
anonymous enum |
Definition at line 45 of file colorbtn.h.
CColorBtnDlg::CColorBtnDlg | ( | CWnd * | pParent = NULL | ) |
Definition at line 373 of file colorbtn.cpp.
void CColorBtnDlg::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 382 of file colorbtn.cpp.
void CColorBtnDlg::EndDialog | ( | int | nResult | ) | [protected] |
Definition at line 457 of file colorbtn.cpp.
void CColorBtnDlg::OnColor | ( | UINT | id | ) | [protected] |
Definition at line 543 of file colorbtn.cpp.
void CColorBtnDlg::OnDrawItem | ( | int | nIDCtl, |
LPDRAWITEMSTRUCT | lpDrawItemStruct | ||
) | [protected] |
Definition at line 511 of file colorbtn.cpp.
BOOL CColorBtnDlg::OnInitDialog | ( | ) | [protected, virtual] |
Definition at line 405 of file colorbtn.cpp.
void CColorBtnDlg::OnLButtonDown | ( | UINT | nFlags, |
CPoint | point | ||
) | [protected] |
Definition at line 465 of file colorbtn.cpp.
void CColorBtnDlg::OnLButtonUp | ( | UINT | nFlags, |
CPoint | point | ||
) | [protected] |
Definition at line 643 of file colorbtn.cpp.
void CColorBtnDlg::OnOther | ( | ) | [protected] |
Definition at line 569 of file colorbtn.cpp.
Definition at line 38 of file colorbtn.h.
COLORREF CColorBtnDlg::colors [static] |
{ RGB(0,0,0), RGB(128,0,0), RGB(0,128,0), RGB(128,128,0), RGB(0,0,128), RGB(128,0,128), RGB(0,128,128), RGB(192,192,192), RGB(192,220,192), RGB(166,202,240), RGB(255,251,240), RGB(160,160,164), RGB(128,128,128), RGB(255,0,0), RGB(0,255,0), RGB(255,255,0), RGB(0,0,255), RGB(255,0,255), RGB(0,255,255), }
Definition at line 34 of file colorbtn.h.
CButton* CColorBtnDlg::parent |
Definition at line 37 of file colorbtn.h.
BYTE CColorBtnDlg::used [static] |
{ 1,3,5,7,9,11,13,15,17,19,20,18,16,14,12,10,8,6,4,2 }
Definition at line 35 of file colorbtn.h.