Defines a text label.
More...
#include <ckLabel.h>
◆ CKLabel()
◆ ~CKLabel()
◆ AddedToWindow()
void CKLabel::AddedToWindow |
( |
CKWindow * |
window | ) |
|
|
virtual |
Called by CKApp when the control has been added to a window.
Reimplemented from CKControl.
◆ AutoHeight()
void CKLabel::AutoHeight |
( |
int |
maxHeight = 0 | ) |
|
Increase the height until it fits.
- Parameters
-
maxHeight | If set to non-zero value, will limit maximum height. |
◆ DoTEIdle()
void CKLabel::DoTEIdle |
( |
| ) |
|
|
inline |
◆ GetFont()
short CKLabel::GetFont |
( |
| ) |
|
◆ GetText()
const char * CKLabel::GetText |
( |
| ) |
|
|
virtual |
◆ PrepareForDraw()
void CKLabel::PrepareForDraw |
( |
| ) |
|
|
virtual |
◆ RaisePropertyChange()
void CKLabel::RaisePropertyChange |
( |
const char * |
propertyName | ) |
|
|
virtual |
◆ Redraw()
Called by CKApp when the control needs to (re-)draw itself, usually due to an event like mouseDown or updateEvt.
YOU MOST LIKELY DO NOT NEED TO CALL THIS. USE MarkAsDirty
!
Reimplemented from CKControl.
Reimplemented in CKTextArea, and CKTextField.
◆ RemovedFromWindow()
void CKLabel::RemovedFromWindow |
( |
| ) |
|
|
virtual |
Called by CKApp when the control has been removed from a window.
Reimplemented from CKControl.
◆ ResizeTE()
void CKLabel::ResizeTE |
( |
| ) |
|
|
protectedvirtual |
◆ SetFont()
void CKLabel::SetFont |
( |
short |
fontId | ) |
|
◆ SetText()
void CKLabel::SetText |
( |
const char * |
text | ) |
|
|
virtual |
◆ TECreated()
void CKLabel::TECreated |
( |
| ) |
|
|
protectedvirtual |
◆ __fontNumber
short CKLabel::__fontNumber |
|
protected |
◆ __needsPreparing
bool CKLabel::__needsPreparing = true |
|
protected |
◆ __teHandle
TEHandle CKLabel::__teHandle = nullptr |
|
protected |
◆ __tempTextStorage
char* CKLabel::__tempTextStorage = nullptr |
|
protected |
◆ bold
◆ color
◆ fontSize
◆ italic
◆ justification
◆ multiline
◆ underline
The documentation for this class was generated from the following files: