SCV  4.2.1
Simple Components for Visual
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
GapSpring.h
Go to the documentation of this file.
1 #ifndef __SCV_GAP_SPRING_H__
2 #define __SCV_GAP_SPRING_H__
3 
4 #include "Spring.h"
5 
6 namespace scv {
7 
8 class GapSpring : public Spring {
9 public:
10  GapSpring(int min, int pref, int max);
11 
12  virtual int calculateMinimumSize(Spring::Axis axis);
13  virtual int calculatePreferredSize(Spring::Axis axis);
14  virtual int calculateMaximumSize(Spring::Axis axis);
15 
16 protected:
17 
18 private:
19 };
20 
21 } //namespace scv
22 
23 #endif //__SCV_GAP_SPRING_H__