SCV  4.2.1
Simple Components for Visual
 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:
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);
29 
31 };
32 
34 
36  return _align;
37 }
38 
39 } // namespace scv
40 
41 #endif // __SCV_SEPARATOR_H__