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
Separator.h
Go to the documentation of this file.
1
7
#ifndef __SCV_SEPARATOR_H__
8
#define __SCV_SEPARATOR_H__
9
10
#include "
MatrixTemplate.h
"
11
#include "
Component.h
"
12
#include "
ComponentTexture.h
"
13
14
namespace
scv {
15
16
class
Separator
:
public
Component
{
17
public
:
18
enum
Orientation
{
HORIZONTAL
,
VERTICAL
};
19
20
Separator
(
const
scv::Point
&p1,
Separator::Orientation
align,
unsigned
int
size);
21
22
inline
Separator::Orientation
getAlign
(
void
)
const
;
23
24
virtual
void
display
(
void
);
25
26
protected
:
27
void
createTexture
(
void
);
28
ComponentTexture
*
_cTexture
;
29
30
Separator::Orientation
_align
;
31
};
32
34
35
Separator::Orientation
Separator::getAlign
(
void
)
const
{
36
return
_align
;
37
}
38
39
}
// namespace scv
40
41
#endif // __SCV_SEPARATOR_H__
include
SCV
Separator.h
Generated on Fri Dec 14 2012 09:44:49 for SCV by
1.8.2