µGFX  2.9
version 2.9
Renderings

Detailed Description

Built-in rendering functions for the radiobutton widget.

These function may be passed to gwinSetCustomDraw() to get different radiobutton drawing styles.

Note
In your custom radiobutton 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.

Functions

void gwinRadioDraw_Radio (GWidgetObject *gw, void *param)
 The default rendering function for the radiobutton widget. More...
 
void gwinRadioDraw_Button (GWidgetObject *gw, void *param)
 Renders the radiobutton in form of a regular rectangular button. More...
 
void gwinRadioDraw_Tab (GWidgetObject *gw, void *param)
 Used to render tabbed menus. More...
 

Function Documentation

◆ gwinRadioDraw_Button()

void gwinRadioDraw_Button ( GWidgetObject gw,
void *  param 
)

Renders the radiobutton in form of a regular rectangular button.

Parameters
[in]gwThe widget object (must be a button radioobject)
[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.

◆ gwinRadioDraw_Radio()

void gwinRadioDraw_Radio ( GWidgetObject gw,
void *  param 
)

The default rendering function for the radiobutton widget.

Parameters
[in]gwThe widget object (must be a button radioobject)
[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.

◆ gwinRadioDraw_Tab()

void gwinRadioDraw_Tab ( GWidgetObject gw,
void *  param 
)

Used to render tabbed menus.

Multiple radiobutton widgets can be placed right next to each other and be used to implement a tabbed menu using this rendering function.

Note
This exists for legacy reasons. Have a look at the Tabset widget instead.
Parameters
[in]gwThe widget object (must be a button radioobject)
[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.