hollyhock
radioButton.hpp
1 #pragma once
2 #include "util.hpp"
3 
4 class GUIRadioButton : public GUIElement {
5 public:
6  enum Flag : int {
8  FlagSelected = 1 << 2,
9 
11  FlagEnabled = 1 << 15
12  };
13 
15  int x, int y,
16  const char *text,
17  int flags
18  );
19 };
20 
22 extern "C"
23 void *GUIRadioButton_ctor(
24  void *radioButton,
25  int x, int y,
26  const char *text,
27  int unknown0,
28  int flags,
29  void *font,
30  int unknown2
31 );
Definition: util.hpp:78
Definition: radioButton.hpp:4
Flag
Definition: radioButton.hpp:6
@ FlagEnabled
Makes the radio button interactive.
Definition: radioButton.hpp:11
@ FlagSelected
Causes the radio button to be selected by default.
Definition: radioButton.hpp:8
GUIRadioButton(int x, int y, const char *text, int flags)
Definition: radioButton.cpp:13