FDOSTUI
FreeDOS Text User Interface
include
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
19
radiobutton
(
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
41
radiobutton
(
42
const
radiobutton
&);
43
44
radiobutton
&
45
operator=(
radiobutton
const
&);
46
47
public
:
48
49
radiobutton
*
m_next
;
50
radiobutton
*
m_prev
;
51
52
};
53
54
#define __radiobtn_hpp__
55
#endif
checkbutton
check button widget
Definition:
checkbtn.hpp:15
radiobutton::~radiobutton
virtual ~radiobutton()
destructor
Definition:
radiobtn.cpp:25
radiobutton::m_next
radiobutton * m_next
Definition:
radiobtn.hpp:49
radiobutton::join
bool join(radiobutton *const i_radiobutton)
adds a radio button to this buttons group
Definition:
radiobtn.cpp:94
radiobutton::m_prev
radiobutton * m_prev
Definition:
radiobtn.hpp:50
radiobutton
radio button widget
Definition:
radiobtn.hpp:14
radiobutton::toggled
virtual void toggled()
handler when the button has been toggled
Definition:
radiobtn.cpp:31
checkbtn.hpp
contains checkbutton class
Generated by
1.8.14