diff options
Diffstat (limited to 'src/Strut.hh')
-rw-r--r-- | src/Strut.hh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Strut.hh b/src/Strut.hh index 41c9739..ea2252d 100644 --- a/src/Strut.hh +++ b/src/Strut.hh | |||
@@ -27,16 +27,16 @@ | |||
27 | 27 | ||
28 | class Strut { | 28 | class Strut { |
29 | public: | 29 | public: |
30 | Strut(int head, int left, int right, | 30 | Strut(int head, int left, int right, |
31 | int top, int bottom, Strut* next = 0) | 31 | int top, int bottom, Strut* next = 0) |
32 | :m_head(head), m_left(left), m_right(right), | 32 | :m_head(head), m_left(left), m_right(right), |
33 | m_top(top), m_bottom(bottom), m_next(next) { } | 33 | m_top(top), m_bottom(bottom), m_next(next) { } |
34 | inline int head() const { return m_head; } | 34 | int head() const { return m_head; } |
35 | inline int left() const { return m_left; } | 35 | int left() const { return m_left; } |
36 | inline int right() const { return m_right; } | 36 | int right() const { return m_right; } |
37 | inline int bottom() const { return m_bottom; } | 37 | int bottom() const { return m_bottom; } |
38 | inline int top() const { return m_top; } | 38 | int top() const { return m_top; } |
39 | inline Strut* next() const { return m_next; } | 39 | Strut* next() const { return m_next; } |
40 | bool operator == (const Strut &test) const { | 40 | bool operator == (const Strut &test) const { |
41 | return (head() == test.head() && | 41 | return (head() == test.head() && |
42 | left() == test.left() && | 42 | left() == test.left() && |