My Project
SallyAPI::GUI::CNumberSelector Class Reference

Number selector. More...

#include <NumberSelector.h>

Inheritance diagram for SallyAPI::GUI::CNumberSelector:
SallyAPI::GUI::CForm SallyAPI::GUI::CControl SallyAPI::GUI::CGUIBaseObject SallyAPI::Core::CBaseObject

List of all members.

Public Member Functions

 CNumberSelector (SallyAPI::GUI::CGUIBaseObject *parent, int x, int y, int width, int controlId=0)
 Constructor.
virtual ~CNumberSelector ()
 Destructor.
virtual void SendMessageToParent (SallyAPI::GUI::CGUIBaseObject *reporter, int reporterId, int messageId, SallyAPI::GUI::SendMessage::CParameterBase *messageParameter=NULL)
 Send message to parent.
virtual void Enable (bool enable)
 Enables.
virtual void Timer (float timeDelta)
 Timers.
void SetValue (int value)
 Sets a value.
int GetValue ()
 Gets the value.
int GetMinValue ()
 Gets the minimum value.
int GetMaxValue ()
 Gets the maximum value.
int GetSteps ()
 Gets the steps.
void SetMinValue (int value)
 Sets a minimum value.
void SetMaxValue (int value)
 Sets a maximum value.
void SetSteps (int value)
 Sets the steps.

Detailed Description

Number selector.

Author:
Christian Knobloch
Date:
19.04.2010

Constructor & Destructor Documentation

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

Constructor.

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

void CNumberSelector::Enable ( bool  enable) [virtual]

Enables.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
enabletrue to enable, false to disable.

Reimplemented from SallyAPI::GUI::CControl.

Gets the maximum value.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The maximum value.

Gets the minimum value.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The minimum value.

Gets the steps.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The steps.

Gets the value.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The value.
void CNumberSelector::SendMessageToParent ( SallyAPI::GUI::CGUIBaseObject reporter,
int  reporterId,
int  messageId,
SallyAPI::GUI::SendMessage::CParameterBase messageParameter = NULL 
) [virtual]

Send message to parent.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
[in,out]reporterIf non-null, the reporter.
reporterIdIdentifier for the reporter.
messageIdIdentifier for the message.
[in,out]messageParameterIf non-null, the message parameter.

Reimplemented from SallyAPI::GUI::CForm.

void CNumberSelector::SetMaxValue ( int  value)

Sets a maximum value.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
valueThe value.
void CNumberSelector::SetMinValue ( int  value)

Sets a minimum value.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
valueThe value.
void CNumberSelector::SetSteps ( int  value)

Sets the steps.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
valueThe value.
void CNumberSelector::SetValue ( int  value)

Sets a value.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
valueThe value.
void CNumberSelector::Timer ( float  timeDelta) [virtual]

Timers.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
timeDeltaThe time delta.

Reimplemented from SallyAPI::GUI::CForm.


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