#include <CopperWindow.h>
Inheritance diagram for CopperWindow:
Public Member Functions | |
virtual | ~CopperWindow () |
virtual void | Init (CopperWindow *pParent, const MString &sName) |
virtual void | KeyPress (const CopperKeypress &pKeypress) |
virtual bool | MouseEvent (const CopperMouseEvent &pMouseEvent) |
virtual bool | IsMouseEventOnTarget (const CopperMouseEvent &pMouseEvent) |
virtual bool | IsFocusable ()=0 |
MString | GetFocus () |
void | SetFocus (const MString &sFocus) |
void | SetWidth (float fWidth) |
void | SetHeight (float fHeight) |
float | GetWidth () |
float | GetHeight () |
CLASS_RTTI (CopperWindow, MercuryObject) | |
Protected Attributes | |
CSTMessagePair | m_pBrdOverOn |
CSTMessagePair | m_pBrdOverOff |
CSTMessagePair | m_pBrdUpInTarget |
CSTMessagePair | m_pBrdUpOutTarget |
CSTMessagePair | m_pBrdDown |
CopperWindow * | m_pParent |
MVector< CopperWindow * > | m_vWindows |
int | m_iCurrentFocus |
float | m_fHeight |
float | m_fWidth |
int | m_iLastMouseWindow |
Definition at line 44 of file CopperWindow.h.
CopperWindow::~CopperWindow | ( | ) | [virtual] |
Definition at line 6 of file CopperWindow.cpp.
void CopperWindow::Init | ( | CopperWindow * | pParent, | |
const MString & | sName | |||
) | [virtual] |
Reimplemented in CopperWindowLoadable, CopperPicture, CopperCaption, and CopperButton.
Definition at line 12 of file CopperWindow.cpp.
void CopperWindow::KeyPress | ( | const CopperKeypress & | pKeypress | ) | [virtual] |
Definition at line 39 of file CopperWindow.cpp.
bool CopperWindow::MouseEvent | ( | const CopperMouseEvent & | pMouseEvent | ) | [virtual] |
bool CopperWindow::IsMouseEventOnTarget | ( | const CopperMouseEvent & | pMouseEvent | ) | [virtual] |
Definition at line 108 of file CopperWindow.cpp.
virtual bool CopperWindow::IsFocusable | ( | ) | [pure virtual] |
Implemented in CopperWindowLoadable, CopperPicture, CopperCaption, and CopperButton.
MString CopperWindow::GetFocus | ( | ) |
Definition at line 113 of file CopperWindow.cpp.
void CopperWindow::SetFocus | ( | const MString & | sFocus | ) |
Definition at line 118 of file CopperWindow.cpp.
void CopperWindow::SetWidth | ( | float | fWidth | ) | [inline] |
Definition at line 59 of file CopperWindow.h.
void CopperWindow::SetHeight | ( | float | fHeight | ) | [inline] |
Definition at line 60 of file CopperWindow.h.
float CopperWindow::GetWidth | ( | ) | [inline] |
Definition at line 62 of file CopperWindow.h.
float CopperWindow::GetHeight | ( | ) | [inline] |
Definition at line 63 of file CopperWindow.h.
CopperWindow::CLASS_RTTI | ( | CopperWindow | , | |
MercuryObject | ||||
) |
CSTMessagePair CopperWindow::m_pBrdOverOn [protected] |
Definition at line 66 of file CopperWindow.h.
CSTMessagePair CopperWindow::m_pBrdOverOff [protected] |
Definition at line 67 of file CopperWindow.h.
CSTMessagePair CopperWindow::m_pBrdUpInTarget [protected] |
Definition at line 68 of file CopperWindow.h.
CSTMessagePair CopperWindow::m_pBrdUpOutTarget [protected] |
Definition at line 69 of file CopperWindow.h.
CSTMessagePair CopperWindow::m_pBrdDown [protected] |
Definition at line 70 of file CopperWindow.h.
CopperWindow* CopperWindow::m_pParent [protected] |
Definition at line 72 of file CopperWindow.h.
MVector< CopperWindow * > CopperWindow::m_vWindows [protected] |
Definition at line 73 of file CopperWindow.h.
int CopperWindow::m_iCurrentFocus [protected] |
Definition at line 74 of file CopperWindow.h.
float CopperWindow::m_fHeight [protected] |
Definition at line 75 of file CopperWindow.h.
float CopperWindow::m_fWidth [protected] |
Definition at line 75 of file CopperWindow.h.
int CopperWindow::m_iLastMouseWindow [protected] |
Definition at line 76 of file CopperWindow.h.