libt3widget
Main Page
Modules
Namespaces
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
src
widgets
separator.h
1
/* Copyright (C) 2011-2012 G.P. Halkes
2
This program is free software: you can redistribute it and/or modify
3
it under the terms of the GNU General Public License version 3, as
4
published by the Free Software Foundation.
5
6
This program is distributed in the hope that it will be useful,
7
but WITHOUT ANY WARRANTY; without even the implied warranty of
8
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9
GNU General Public License for more details.
10
11
You should have received a copy of the GNU General Public License
12
along with this program. If not, see <http://www.gnu.org/licenses/>.
13
*/
14
#ifndef T3_WIDGET_SEPARATOR_H
15
#define T3_WIDGET_SEPARATOR_H
16
17
#include <t3widget/widgets/widget.h>
18
19
namespace
t3_widget {
20
21
class
T3_WIDGET_API
separator_t
:
public
widget_t
{
22
private
:
23
bool
horizontal;
24
25
public
:
26
separator_t
(
bool
_horizontal =
true
);
27
virtual
bool
process_key(
key_t
key);
28
virtual
bool
set_size(
optint
height,
optint
width);
29
virtual
void
update_contents(
void
);
30
virtual
void
set_focus(focus_t focus);
31
virtual
bool
accepts_focus(
void
);
32
};
33
34
};
// namespace
35
#endif
Generated on Sun Jun 9 2013 14:42:33 for libt3widget by
1.8.1.2