Dillo
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dw
fltkcomplexbutton.hh
Go to the documentation of this file.
1
2
// fltkcomplexbutton.hh is derived from FL/Fl_Button.H from FLTK's 1.3 branch
3
// at http://fltk.org in early 2011.
4
// FL/Fl_Button.H is Copyright 1998-2010 by Bill Spitzak and others.
5
6
/*
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
21
#ifndef __FLTK_COMPLEX_BUTTON_HH__
22
#define __FLTK_COMPLEX_BUTTON_HH__
23
24
#include <FL/Fl_Group.H>
25
26
namespace
dw
{
27
namespace
fltk {
28
namespace
ui {
29
30
class
ComplexButton
:
public
Fl_Group {
31
char
value_
;
32
char
oldval
;
33
uchar
down_box_
;
34
35
protected
:
36
virtual
void
draw
();
37
38
public
:
39
virtual
int
handle
(
int
);
40
41
ComplexButton
(
int
X,
int
Y,
int
W,
int
H,
const
char
*L = 0);
42
~ComplexButton
();
43
44
int
value
(
int
v);
45
49
char
value
()
const
{
return
value_
;}
50
55
Fl_Boxtype
down_box
()
const
{
return
(Fl_Boxtype)
down_box_
;}
56
62
void
down_box
(Fl_Boxtype b) {down_box_ = b;}
63
};
64
65
}
// namespace ui
66
}
// namespace fltk
67
}
// namespace dw
68
69
#endif
70
71
//
72
//
dw::fltk::ui::ComplexButton::value_
char value_
Definition:
fltkcomplexbutton.hh:31
dw::fltk::ui::ComplexButton
Definition:
fltkcomplexbutton.hh:30
dw::fltk::ui::ComplexButton::down_box
void down_box(Fl_Boxtype b)
Definition:
fltkcomplexbutton.hh:62
dw::fltk::ui::ComplexButton::down_box
Fl_Boxtype down_box() const
Definition:
fltkcomplexbutton.hh:55
dw::fltk::ui::ComplexButton::draw
virtual void draw()
Definition:
fltkcomplexbutton.cc:45
dw::fltk::ui::ComplexButton::down_box_
uchar down_box_
Definition:
fltkcomplexbutton.hh:33
dw::fltk::ui::ComplexButton::value
char value() const
Definition:
fltkcomplexbutton.hh:49
dw::fltk::ui::ComplexButton::oldval
char oldval
Definition:
fltkcomplexbutton.hh:32
dw::fltk::ui::ComplexButton::ComplexButton
ComplexButton(int X, int Y, int W, int H, const char *L=0)
Definition:
fltkcomplexbutton.cc:120
dw
Dw is in this namespace, or sub namespaces of this one.
Definition:
alignedtablecell.cc:28
dw::fltk::ui::ComplexButton::handle
virtual int handle(int)
Definition:
fltkcomplexbutton.cc:58
dw::fltk::ui::ComplexButton::~ComplexButton
~ComplexButton()
Definition:
fltkcomplexbutton.cc:128
Generated on Sat May 28 2016 11:47:42 for Dillo by
1.8.8