LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LockButton Class Reference
Inheritance diagram for LockButton:
[legend]
Collaboration diagram for LockButton:
[legend]

Public Types

enum  Type { ImagePadlock = 0, ImageIncomingCall = 2 }
 

Public Member Functions

 LockButton ()
 
virtual ~LockButton ()
 
void press (bool down)
 
void setAnchor (int x, int y)
 
int distanceToAnchorSquared (int x, int y)
 
bool atRest () const
 
void reset ()
 
bool contains (int x, int y) const
 
void setImageType (Type type)
 

Public Attributes

bool m_pressed
 

Member Enumeration Documentation

Enumerator
ImagePadlock 
ImageIncomingCall 

Constructor & Destructor Documentation

LockButton::LockButton ( )
LockButton::~LockButton ( )
virtual

Member Function Documentation

bool LockButton::atRest ( ) const
bool LockButton::contains ( int  x,
int  y 
) const
int LockButton::distanceToAnchorSquared ( int  x,
int  y 
)
void LockButton::press ( bool  down)
void LockButton::reset ( )
void LockButton::setAnchor ( int  x,
int  y 
)
void LockButton::setImageType ( Type  type)

Member Data Documentation

bool LockButton::m_pressed

The documentation for this class was generated from the following file: