My Project
SallyAPI::GUI::CProcessbar Class Reference

Processbar. More...

#include <Processbar.h>

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

List of all members.

Public Member Functions

 CProcessbar (SallyAPI::GUI::CGUIBaseObject *parent, int x, int y, int width, int controlId=0)
 Constructor.
virtual ~CProcessbar ()
 Destructor.
int GetPosition ()
 Gets the position.
void SetPosition (int position)
 Sets a position.
void SetMaxPosition (int position)
 Sets a maximum position.
virtual void SendMessageToChilds (CGUIBaseObject *reporter, int reporterId, int messageId, SallyAPI::GUI::SendMessage::CParameterBase *messageParameter=NULL)
 Send message to childs.

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

Detailed Description

Processbar.

Author:
Christian Knobloch
Date:
19.04.2010

Constructor & Destructor Documentation

CProcessbar::CProcessbar ( 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

Gets the position.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The position.
bool CProcessbar::ProcessMouseMove ( int  x,
int  y 
) [protected, virtual]

Process a mouse move.

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.

bool CProcessbar::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 CProcessbar::RenderControl ( ) [protected, virtual]

Renders a control.

Author:
Christian Knobloch
Date:
19.04.2010

Implements SallyAPI::GUI::CGUIBaseObject.

void CProcessbar::SendMessageToChilds ( CGUIBaseObject reporter,
int  reporterId,
int  messageId,
SallyAPI::GUI::SendMessage::CParameterBase messageParameter = NULL 
) [virtual]

Send message to childs.

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::CControl.

void CProcessbar::SetMaxPosition ( int  position)

Sets a maximum position.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
positionThe position.
void CProcessbar::SetPosition ( int  position)

Sets a position.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
positionThe position.

Member Data Documentation


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