version 2.8
Renderings

Detailed Description

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.
The built-in functions below ignore the param parameter.
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.

Functions

void gwinLabelDrawJustifiedLeft (GWidgetObject *gw, void *param)
 Renders a label with the text left jestified. More...
 
void gwinLabelDrawJustifiedRight (GWidgetObject *gw, void *param)
 Renders a label with the text right jestified. More...
 
void gwinLabelDrawJustifiedCenter (GWidgetObject *gw, void *param)
 Renders a label with the text center jestified. More...
 

Function Documentation

void gwinLabelDrawJustifiedCenter ( GWidgetObject gw,
void *  param 
)

Renders a label with the text center jestified.

Parameters
[in]gwThe widget object (must be a label object)
[in]paramA parameter passed in from the user. Ignored by this function.
Function Class:
Normal API, this function can be invoked by regular system threads.
void gwinLabelDrawJustifiedLeft ( GWidgetObject gw,
void *  param 
)

Renders a label with the text left jestified.

Note
This is the default rendering function.
Parameters
[in]gwThe widget object (must be a label object)
[in]paramA parameter passed in from the user. Ignored by this function.
Function Class:
Normal API, this function can be invoked by regular system threads.
void gwinLabelDrawJustifiedRight ( GWidgetObject gw,
void *  param 
)

Renders a label with the text right jestified.

Parameters
[in]gwThe widget object (must be a label object)
[in]paramA parameter passed in from the user. Ignored by this function.
Function Class:
Normal API, this function can be invoked by regular system threads.