My Project
|
Rating. More...
#include <Rating.h>
Public Member Functions | |
CRating (SallyAPI::GUI::CGUIBaseObject *parent, int x, int y, SallyAPI::GUI::RatingType ratingType, int controlId=0) | |
Constructor. | |
virtual | ~CRating () |
Destructor. | |
virtual void | SendMessageToChilds (SallyAPI::GUI::CGUIBaseObject *reporter, int reporterId, int messageId, SallyAPI::GUI::SendMessage::CParameterBase *messageParameter=NULL) |
Send message to childs. | |
int | GetRating () |
Gets the rating. | |
void | SetRating (int rating) |
Sets a rating. |
Rating.
CRating::CRating | ( | SallyAPI::GUI::CGUIBaseObject * | parent, |
int | x, | ||
int | y, | ||
SallyAPI::GUI::RatingType | ratingType, | ||
int | controlId = 0 |
||
) |
Constructor.
m_eRatingType(ratingType)
[in,out] | parent | If non-null, the parent. |
x | The x coordinate. | |
y | The y coordinate. | |
ratingType | Type of the rating. | |
controlId | Identifier for the control. |
CRating::~CRating | ( | ) | [virtual] |
Destructor.
int CRating::GetRating | ( | ) |
Gets the rating.
void CRating::SendMessageToChilds | ( | SallyAPI::GUI::CGUIBaseObject * | reporter, |
int | reporterId, | ||
int | messageId, | ||
SallyAPI::GUI::SendMessage::CParameterBase * | messageParameter = NULL |
||
) | [virtual] |
Send message to childs.
[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::CForm.
void CRating::SetRating | ( | int | rating | ) |
Sets a rating.
rating | The rating. |