#include <GridCell.h>
Inheritance diagram for CGridDefaultCell:
Public Member Functions | |
CGridDefaultCell () | |
virtual | ~CGridDefaultCell () |
virtual DWORD | GetStyle () const |
virtual void | SetStyle (DWORD dwStyle) |
virtual int | GetWidth () const |
virtual int | GetHeight () const |
virtual void | SetWidth (int nWidth) |
virtual void | SetHeight (int nHeight) |
virtual void | SetData (LPARAM) |
virtual void | SetState (DWORD) |
virtual DWORD | GetState () const |
virtual void | SetCoords (int, int) |
virtual void | SetFont (const LOGFONT *) |
virtual LOGFONT * | GetFont () const |
virtual CFont * | GetFontObject () const |
Protected Attributes | |
CSize | m_Size |
CFont | m_Font |
DWORD | m_dwStyle |
Private Member Functions | |
DECLARE_DYNCREATE (CGridDefaultCell) |
Definition at line 108 of file GridCell.h.
CGridDefaultCell::CGridDefaultCell | ( | ) |
Definition at line 196 of file GridCell.cpp.
References CGridCell::m_crBkClr, CGridCell::m_crFgClr, m_dwStyle, CGridCell::m_nFormat, m_Size, SetFont(), and VERIFY.
CGridDefaultCell::~CGridDefaultCell | ( | ) | [virtual] |
CGridDefaultCell::DECLARE_DYNCREATE | ( | CGridDefaultCell | ) | [private] |
LOGFONT * CGridDefaultCell::GetFont | ( | ) | const [virtual] |
Reimplemented from CGridCell.
Definition at line 256 of file GridCell.cpp.
References ASSERT, and CGridCell::m_plfFont.
Referenced by CGridCell::GetFont().
CFont * CGridDefaultCell::GetFontObject | ( | ) | const [virtual] |
Reimplemented from CGridCell.
Definition at line 262 of file GridCell.cpp.
References ASSERT, and m_Font.
Referenced by CGridCell::GetFontObject(), and CGridCtrl::OnGetFont().
virtual int CGridDefaultCell::GetHeight | ( | ) | const [inline, virtual] |
Definition at line 121 of file GridCell.h.
References m_Size.
Referenced by CGridCtrl::AutoFill(), CGridCtrl::Create(), CGridCtrl::GetDefCellHeight(), CGridCellBase::GetTextExtent(), CGridCtrl::InsertRow(), and CGridCtrl::SetRowCount().
virtual DWORD CGridDefaultCell::GetState | ( | ) | const [inline, virtual] |
Reimplemented from CGridCellBase.
Definition at line 128 of file GridCell.h.
References CGridCellBase::GetState(), and GVIS_READONLY.
virtual DWORD CGridDefaultCell::GetStyle | ( | ) | const [inline, virtual] |
virtual int CGridDefaultCell::GetWidth | ( | ) | const [inline, virtual] |
Definition at line 120 of file GridCell.h.
References m_Size.
Referenced by CGridCtrl::AutoFill(), CGridCtrl::Create(), CGridCtrl::GetDefCellWidth(), CGridCellBase::GetTextExtent(), and CGridCtrl::SetColumnCount().
virtual void CGridDefaultCell::SetCoords | ( | int | , | |
int | ||||
) | [inline, virtual] |
virtual void CGridDefaultCell::SetData | ( | LPARAM | ) | [inline, virtual] |
void CGridDefaultCell::SetFont | ( | const LOGFONT * | ) | [virtual] |
Reimplemented from CGridCell.
Definition at line 225 of file GridCell.cpp.
References ASSERT, m_Font, m_Size, CGridCell::SetFont(), and CGridCell::SetMargin().
Referenced by CGridDefaultCell(), and CGridCtrl::OnSetFont().
virtual void CGridDefaultCell::SetHeight | ( | int | nHeight | ) | [inline, virtual] |
Definition at line 123 of file GridCell.h.
References m_Size.
Referenced by CGridCtrl::SetDefCellHeight().
virtual void CGridDefaultCell::SetState | ( | DWORD | ) | [inline, virtual] |
virtual void CGridDefaultCell::SetStyle | ( | DWORD | dwStyle | ) | [inline, virtual] |
virtual void CGridDefaultCell::SetWidth | ( | int | nWidth | ) | [inline, virtual] |
Definition at line 122 of file GridCell.h.
References m_Size.
Referenced by CGridCtrl::SetDefCellWidth().
DWORD CGridDefaultCell::m_dwStyle [protected] |
Definition at line 137 of file GridCell.h.
Referenced by CGridDefaultCell(), GetStyle(), and SetStyle().
CFont CGridDefaultCell::m_Font [protected] |
Definition at line 136 of file GridCell.h.
Referenced by GetFontObject(), SetFont(), and ~CGridDefaultCell().
CSize CGridDefaultCell::m_Size [protected] |
Definition at line 135 of file GridCell.h.
Referenced by CGridDefaultCell(), GetHeight(), GetWidth(), SetFont(), SetHeight(), and SetWidth().