SCV
4.2.1
Simple Components for Visual
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
ToggleButton.h
Go to the documentation of this file.
1
7
#ifndef __SCV_TOGGLE_BUTTON_H__
8
#define __SCV_TOGGLE_BUTTON_H__
9
10
#include "
StateButton.h
"
11
#include "
Button.h
"
12
13
namespace
scv {
14
15
class
ToggleButton
:
public
StateButton
,
public
Button
{
16
public
:
17
ToggleButton
(
const
scv::Point
&p1,
const
scv::Point
&p2,
bool
state,
const
std::string &str);
18
ToggleButton
(
const
scv::Point
&p1,
unsigned
int
width,
bool
state,
const
std::string &str);
19
ToggleButton
(
const
scv::Point
&p1,
bool
state,
const
std::string &str);
20
virtual
~ToggleButton
(
void
);
21
22
virtual
void
onValueChange
(
void
);
23
24
virtual
void
display
(
void
);
25
26
protected
:
27
void
processMouse
(
const
scv::MouseEvent
&evt);
28
};
29
30
}
// namespace scv
31
32
#endif // __SCV_TOGGLE_BUTTON_H__
include
SCV
ToggleButton.h
Generated on Fri Dec 14 2012 09:44:49 for SCV by
1.8.2