summaryrefslogtreecommitdiff
path: root/otk/strut.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-03-21 18:42:39 +0000
committerDana Jansens <danakj@orodu.net>2003-03-21 18:42:39 +0000
commita52a6d96d701c993896f276e4198003317632aaf (patch)
treebe2f51e6a433d1fdf9a7c8248b343cb3f6297212 /otk/strut.hh
parenta36c7543d4eedaa9e10bfd9f4d9b81279b1bb7e6 (diff)
rm the old code including the .pys and the c++ shit
Diffstat (limited to 'otk/strut.hh')
-rw-r--r--otk/strut.hh35
1 files changed, 0 insertions, 35 deletions
diff --git a/otk/strut.hh b/otk/strut.hh
deleted file mode 100644
index 71553da2..00000000
--- a/otk/strut.hh
+++ /dev/null
@@ -1,35 +0,0 @@
-// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
-#ifndef __strut_hh
-#define __strut_hh
-
-/*! @file strut.hh
- @brief The Strut struct defines a margin on 4 sides
-*/
-
-namespace otk {
-
-//! Defines a margin on 4 sides
-struct Strut {
- //! The margin on the top of the Strut
- unsigned int top;
- //! The margin on the bottom of the Strut
- unsigned int bottom;
- //! The margin on the left of the Strut
- unsigned int left;
- //! The margin on the right of the Strut
- unsigned int right;
-
- //! Constructs a new Strut with no margins
- Strut(void): top(0), bottom(0), left(0), right(0) {}
- //! Constructs a new Strut with margins
- Strut(int l, int t, int r, int b): top(t), bottom(b), left(l), right(r) {}
-
- bool operator==(const Strut &o) const {
- return top == o.top && bottom == o.bottom && left == o.left &&
- right == o.right;
- }
-};
-
-}
-
-#endif // __strut_hh