CopperButton Class Reference

CuUI Pressable Button. More...

#include <CopperPrimitives.h>

Inheritance diagram for CopperButton:

Inheritance graph
[legend]
Collaboration diagram for CopperButton:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void Init (CopperWindow *pParent, const MString &sName)
virtual bool MouseEvent (const CopperMouseEvent &pMouseEvent)
virtual bool IsFocusable ()
 CLASS_RTTI (CopperButton, CopperWindow)

Protected Member Functions

void ToggleDownImage (bool isPressed)

Protected Attributes

bool m_bCurrentlyPressed
CSTMessagePair m_pBrdReleaseInBox
MercurySprite m_pBGDown
MercurySprite m_pBGUp

Detailed Description

CuUI Pressable Button.

Definition at line 42 of file CopperPrimitives.h.


Member Function Documentation

virtual void CopperButton::Init ( CopperWindow pParent,
const MString sName 
) [virtual]

Reimplemented from CopperCaption.

bool CopperButton::MouseEvent ( const CopperMouseEvent pMouseEvent  )  [virtual]

Reimplemented from CopperWindow.

Definition at line 96 of file CopperPrimitives.cpp.

virtual bool CopperButton::IsFocusable (  )  [inline, virtual]

Reimplemented from CopperCaption.

Definition at line 48 of file CopperPrimitives.h.

CopperButton::CLASS_RTTI ( CopperButton  ,
CopperWindow   
)

void CopperButton::ToggleDownImage ( bool  isPressed  )  [protected]

Definition at line 116 of file CopperPrimitives.cpp.


Member Data Documentation

bool CopperButton::m_bCurrentlyPressed [protected]

Definition at line 52 of file CopperPrimitives.h.

CSTMessagePair CopperButton::m_pBrdReleaseInBox [protected]

Definition at line 54 of file CopperPrimitives.h.

MercurySprite CopperButton::m_pBGDown [protected]

Definition at line 56 of file CopperPrimitives.h.

MercurySprite CopperButton::m_pBGUp [protected]

Definition at line 57 of file CopperPrimitives.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo