Built-in rendering functions for the label widget.
These function may be passed to gwinSetCustomDraw()
to get different label drawing styles.
- Note
- In your custom label drawing function you may optionally call these standard functions and then draw your extra details on top.
-
These custom drawing routines don't have to worry about setting clipping as the framework sets clipping to the object window prior to calling these routines.
◆ gwinLabelDrawJustified()
Renders a label with the text justified based on the parameter.
- Parameters
-
[in] | gw | The widget object (must be a label object) |
[in] | param | A parameter passed in from the user. Must be of type gJustify. |
- Function Class: Normal API, this function can be invoked by regular system threads.
◆ gwinLabelDrawJustifiedCenter()
void gwinLabelDrawJustifiedCenter |
( |
GWidgetObject * |
gw, |
|
|
void * |
param |
|
) |
| |
Renders a label with the text center jestified.
- Parameters
-
[in] | gw | The widget object (must be a label object) |
[in] | param | A parameter passed in from the user. Ignored by this function. |
- Function Class: Normal API, this function can be invoked by regular system threads.
◆ gwinLabelDrawJustifiedLeft()
void gwinLabelDrawJustifiedLeft |
( |
GWidgetObject * |
gw, |
|
|
void * |
param |
|
) |
| |
Renders a label with the text left jestified.
- Note
- This is the default rendering function.
- Parameters
-
[in] | gw | The widget object (must be a label object) |
[in] | param | A parameter passed in from the user. Ignored by this function. |
- Function Class: Normal API, this function can be invoked by regular system threads.
◆ gwinLabelDrawJustifiedRight()
void gwinLabelDrawJustifiedRight |
( |
GWidgetObject * |
gw, |
|
|
void * |
param |
|
) |
| |
Renders a label with the text right jestified.
- Parameters
-
[in] | gw | The widget object (must be a label object) |
[in] | param | A parameter passed in from the user. Ignored by this function. |
- Function Class: Normal API, this function can be invoked by regular system threads.