Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Description
Radio Button is an object that can be used to offer set of choices to the user. Only one of the choices is selectable.
Changing selection automatically removes the selection on the previous option.
Radio Button supports Keyboard and Touchscreen inputs, replying to their events with the pre-defined actions (see
GFX_GOL_RadioButtonActionGet() and GFX_GOL_RadioButtonActionSet() for details).
The Radio Button object is rendered using the assigned style scheme. The following figure illustrates the usage of the style
schemes in the object.
When creating the object, the alignment of the text of the object can be formatted with the same options that
GFX_TextStringBoxDraw() allows.
1.6.2.1.10.1 GFX_GOL_RadioButtonTextGet Macro
This function returns the address of the current text string used by the object.
File
gfx_gol_radio_button.h
Syntax
#define GFX_GOL_RadioButtonTextGet(pObject) (((GFX_GOL_RADIOBUTTON *)pObject)->pText)
Returns
Pointer to text string.
Description
This function returns the address of the current text string used by the object.
Preconditions
Object must exist in memory.
Example
// assume RADIO_BUTTON_OBJECT is a radio button that exists
GFX_XCHAR *pChar;
GFX_GOL_RADIOBUTTON *pRadioButton = &RADIO_BUTTON_OBJECT;
pChar = GFX_GOL_ButtonRadioTextGet(pRadioButton);
1.6 Library Interface MLA - Graphics Library Help Graphics Object Layer
245
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_gfx.pdf