UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
zq_rubberbox_inline.hpp
1 /* zq_rubberbox_inline.hpp */
2 /* $Id: zq_rubberbox_inline.hpp,v 1.2 2006/03/04 08:09:01 rus1 Exp $ */
3 #ifndef __zq_rubberbox_inline_hpp
4 #define __zq_rubberbox_inline_hpp
5 
6 
7 #ifdef __zq_rubberbox_hpp
8 #define INLINE inline
9 #else
10 #define INLINE
11 #endif /* __zq_rubberbox_hpp */
12 
13 
14 /*
15  * Properties
16  */
17 
22 INLINE void
23 ZqRubberBox::setThickness (int iThickness)
24 {
25  m_iThickness = iThickness;
26 }
27 
28 
33 INLINE int
35 {
36  return m_iThickness;
37 }
38 
39 
46 INLINE void
48 {
49  m_mMode = mMode;
50 }
51 
52 
58 INLINE int
60 {
61  return m_mMode;
62 }
63 
64 
69 INLINE void
71 {
72  if(iWidth >= 0)
73  m_iExtWidth = iWidth;
74 }
75 
76 
81 INLINE int
83 {
84  return m_iExtWidth;
85 }
86 
87 
88 #undef INLINE
89 
90 #endif /* zq_rubberbox_inline.hpp */
int m_iExtWidth
Definition: zq_rubberbox.hpp:107
virtual int getRangeMode() const
Definition: zq_rubberbox_inline.hpp:59
virtual void setThickness(int iThickness)
Definition: zq_rubberbox_inline.hpp:23
virtual void setSensExtWidth(int iWidth)
Definition: zq_rubberbox_inline.hpp:70
virtual void setRangeMode(int mMode)
Definition: zq_rubberbox_inline.hpp:47
int m_mMode
Definition: zq_rubberbox.hpp:103
int m_iThickness
Definition: zq_rubberbox.hpp:99
virtual int getSensExtWidth() const
Definition: zq_rubberbox_inline.hpp:82
virtual int getThickness() const
Definition: zq_rubberbox_inline.hpp:34