Debian Codegraph @

src/option/RadioBox.h

raw
1 #ifndef HEADER_RADIOBOX_H
2 #define HEADER_RADIOBOX_H
3
4 class Path;
5
6 #include "WiContainer.h"
7
8 /**
9 * Radio box with picture background.
10 */
11 class RadioBox : public WiContainer {
12 private:
13 static const int BORDER = 4;
14 std::string m_param;
15 std::string m_value;
16 protected:
17 virtual void own_mouseButton(const MouseStroke &stroke);
18 public:
19 RadioBox(const std::string &param, const std::string &value,
20 const Path &picture);
21
22 virtual void drawOn(SDL_Surface *screen);
23 };
24
25 #endif