My Project
SallyAPI::GUI::CRadioButton Class Reference

Radio button. More...

#include <RadioButton.h>

Inheritance diagram for SallyAPI::GUI::CRadioButton:
SallyAPI::GUI::CControl SallyAPI::GUI::CGUIBaseObject SallyAPI::Core::CBaseObject

List of all members.

Public Member Functions

 CRadioButton (SallyAPI::GUI::CGUIBaseObject *parent, int x, int y, int width, int controlId=0)
 Constructor.
virtual ~CRadioButton ()
 Destructor.
bool GetCheckStatus ()
 Gets the check status.
void SetCheckStatus (bool checked)
 Sets a check status.

Protected Member Functions

virtual void RenderControl ()
 Renders a control.
virtual bool ProcessMouseUp (int x, int y)
 Process a mouse up.

Protected Attributes

bool m_bChecked

Detailed Description

Radio button.

Author:
Christian Knobloch
Date:
19.04.2010

Constructor & Destructor Documentation

CRadioButton::CRadioButton ( SallyAPI::GUI::CGUIBaseObject parent,
int  x,
int  y,
int  width,
int  controlId = 0 
)

Constructor.

m_bChecked(false)

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
[in,out]parentIf non-null, the parent.
xThe x coordinate.
yThe y coordinate.
widthThe width.
controlIdIdentifier for the control.

Destructor.

Author:
Christian Knobloch
Date:
19.04.2010

Member Function Documentation

Gets the check status.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
true if it succeeds, false if it fails.
bool CRadioButton::ProcessMouseUp ( int  x,
int  y 
) [protected, virtual]

Process a mouse up.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
xThe x coordinate.
yThe y coordinate.
Returns:
true if it succeeds, false if it fails.

Reimplemented from SallyAPI::GUI::CControl.

void CRadioButton::RenderControl ( ) [protected, virtual]

Renders a control.

Author:
Christian Knobloch
Date:
19.04.2010

Implements SallyAPI::GUI::CGUIBaseObject.

void CRadioButton::SetCheckStatus ( bool  checked)

Sets a check status.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
checkedtrue to checked.

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines