Label box.
More...
#include <LabelBox.h>
List of all members.
Public Member Functions |
| CLabelBox (SallyAPI::GUI::CGUIBaseObject *parent, int x, int y, int width, int height, bool showScrollbar=false, int controlId=0) |
| Constructor.
|
virtual | ~CLabelBox () |
| Destructor.
|
void | SetFont (const std::string &fontName) |
| Sets a font.
|
void | SetAutoResize (bool value) |
| Sets an automatic resize. If it is set to true, the control will automatically resize it's height to fit in the text.
|
virtual void | SetText (const std::string &text) |
| Sets a text.
|
virtual void | Resize (int width, int height) |
| Resizes.
|
virtual void | SendMessageToChilds (SallyAPI::GUI::CGUIBaseObject *reporter, int reporterId, int messageId, SallyAPI::GUI::SendMessage::CParameterBase *messageParameter=NULL) |
| Send message to childs.
|
Detailed Description
Label box.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
Constructor & Destructor Documentation
Constructor.
- Author:
- Christian Knobloch
- Date:
- 06.07.2011
- Parameters:
-
[in,out] | parent | If non-null, the parent. |
| x | The x coordinate. |
| y | The y coordinate. |
| width | The width. |
| height | The height. |
| showScrollbar | true to show, false to hide the scrollbar. |
| controlId | Identifier for the control. |
Destructor.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
Member Function Documentation
Resizes.
- Author:
- Christian Knobloch
- Date:
- 06.07.2011
- Parameters:
-
width | The width. |
height | The height. |
Reimplemented from SallyAPI::GUI::CControl.
Send message to childs.
- Author:
- Christian Knobloch
- Date:
- 10.08.2011
- 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::CForm.
Sets an automatic resize. If it is set to true, the control will automatically resize it's height to fit in the text.
- Author:
- Christian Knobloch
- Date:
- 17.08.2011
- Parameters:
-
Sets a font.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
fontName | Name of the font. |
The documentation for this class was generated from the following files:
- D:/source/c++/Programme/sally/sally/sallyAPI/LabelBox.h
- D:/source/c++/Programme/sally/sally/sallyAPI/LabelBox.cpp