hollyhock
Loading...
Searching...
No Matches
GUIRadioButton Class Reference
Inheritance diagram for GUIRadioButton:
Collaboration diagram for GUIRadioButton:

Public Types

enum  Flag : int { FlagSelected = 1 << 2 , FlagEnabled = 1 << 15 }

Public Member Functions

 GUIRadioButton (int x, int y, const char *text, int flags)
Public Member Functions inherited from Wrapped
template<typename T>
T * GetWrapped ()

Additional Inherited Members

Protected Member Functions inherited from Wrapped
 Wrapped (Wrapped const &)=delete
void operator= (Wrapped const &)=delete
Protected Attributes inherited from Wrapped
void * m_wrapped
 A pointer to the wrapped class.

Member Enumeration Documentation

◆ Flag

Enumerator
FlagSelected 

Causes the radio button to be selected by default.

FlagEnabled 

Makes the radio button interactive.

Constructor & Destructor Documentation

◆ GUIRadioButton()

GUIRadioButton::GUIRadioButton ( int x,
int y,
const char * text,
int flags )

Creates a radio button.

Parameters
x,yThe position to place the radio button at, in pixels and relative to the top left of the display.
[in]textThe text to display to the right-hand side of the radio button.
flagsA bitfield of flags specified by bitwise-ORing members of the Flag enum.

The documentation for this class was generated from the following files: