FDOSTUI
FreeDOS Text User Interface
radiobtn.hpp
Go to the documentation of this file.
1 /*
2  RADIOBTN.HPP
3 
4  License CC0 PUBLIC DOMAIN
5 
6  To the extent possible under law, Mark J. Olesen has waived all copyright
7  and related or neighboring rights to FDOSTUI Library. This work is published
8  from: United States.
9 */
10 #ifndef __radiobtn_hpp__
11 
12 #include "checkbtn.hpp"
13 
14 class radiobutton : public checkbutton
15 {
16 
17 public:
18 
20  int const i_pos_x,
21  int const i_pos_y,
22  unsigned int const i_len_x,
23  unsigned int const i_len_y);
24 
25  virtual
26  ~radiobutton();
27 
28  bool
29  join(
30  radiobutton*const i_radiobutton);
31 
32 protected:
33 
34  virtual void
35  toggled();
36 
37 private:
38 
39  radiobutton();
40 
42  const radiobutton&);
43 
45  operator=(radiobutton const&);
46 
47 public:
48 
51 
52 };
53 
54 #define __radiobtn_hpp__
55 #endif
check button widget
Definition: checkbtn.hpp:15
virtual ~radiobutton()
destructor
Definition: radiobtn.cpp:25
radiobutton * m_next
Definition: radiobtn.hpp:49
bool join(radiobutton *const i_radiobutton)
adds a radio button to this buttons group
Definition: radiobtn.cpp:94
radiobutton * m_prev
Definition: radiobtn.hpp:50
radio button widget
Definition: radiobtn.hpp:14
virtual void toggled()
handler when the button has been toggled
Definition: radiobtn.cpp:31
contains checkbutton class