Slider.
More...
#include <Slider.h>
List of all members.
Public Member Functions |
| CSlider (SallyAPI::GUI::CGUIBaseObject *parent, int x, int y, int width, int controlId=0) |
| Constructor.
|
virtual | ~CSlider () |
| Destructor.
|
int | GetPosition () |
| Gets the position of the knob.
|
void | SetPosition (int position) |
| Sets a position.
|
void | SetMaxPosition (int position) |
| Sets a maximum position.
|
void | SetDrawProgressbar (bool value) |
| Sets if the progressbar should be drawn. If set to false, you will get only the background and the knob drawn.
|
virtual void | SendMessageToChilds (SallyAPI::GUI::CGUIBaseObject *reporter, int reporterId, int messageId, SallyAPI::GUI::SendMessage::CParameterBase *messageParameter=NULL) |
| Send message to childs.
|
virtual bool | CheckProcessMouseDown (int x, int y) |
| Check process mouse down.
|
Protected Member Functions |
virtual void | RenderControl () |
| Renders a control.
|
virtual bool | ProcessMouseUp (int x, int y) |
| Process a mouse up.
|
virtual bool | ProcessMouseMove (int x, int y) |
| Process a mouse move.
|
Protected Attributes |
int | m_iPosition |
int | m_iPositionMax |
bool | m_bDrawPgrogressbar |
Detailed Description
Slider.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
Constructor & Destructor Documentation
Constructor.
m_iPosition(0), m_iPositionMax(0)
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
[in,out] | parent | If non-null, the parent. |
| x | The x coordinate. |
| y | The y coordinate. |
| width | The width. |
| controlId | Identifier for the control. |
Destructor.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
Member Function Documentation
Check process mouse down.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
x | The x coordinate. |
y | The y coordinate. |
- Returns:
- true if it succeeds, false if it fails.
Reimplemented from SallyAPI::GUI::CControl.
Gets the position of the knob.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Returns:
- The position.
Process a mouse move.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
x | The x coordinate. |
y | The y coordinate. |
- Returns:
- true if it succeeds, false if it fails.
Reimplemented from SallyAPI::GUI::CControl.
Process a mouse up.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
x | The x coordinate. |
y | The y coordinate. |
- Returns:
- true if it succeeds, false if it fails.
Reimplemented from SallyAPI::GUI::CControl.
Send message to childs.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
[in,out] | reporter | If non-null, the reporter. |
| reporterId | Identifier for the reporter. |
| messageId | Identifier for the message. |
[in,out] | messageParameter | If non-null, the message parameter. |
Reimplemented from SallyAPI::GUI::CControl.
Sets if the progressbar should be drawn. If set to false, you will get only the background and the knob drawn.
- Author:
- Christian Knobloch
- Date:
- 26.12.2011
- Parameters:
-
Sets a maximum position.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
Sets a position.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
Member Data Documentation
The documentation for this class was generated from the following files:
- D:/source/c++/Programme/sally/sally/sallyAPI/Slider.h
- D:/source/c++/Programme/sally/sally/sallyAPI/Slider.cpp