summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-16 11:55:03 +0000
committerDana Jansens <danakj@orodu.net>2002-11-16 11:55:03 +0000
commit36ed114f49544eb17bacf4c359d67bc5d9324b13 (patch)
tree8c863085039e3fd4f947a824b0f1ccb6d7d9a56b
parentcd91abfd7cb1e48acae946717e835bc700a8bb85 (diff)
add a constructor for strut that takes margin sizes
-rw-r--r--otk/strut.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/otk/strut.hh b/otk/strut.hh
index 494cc4f1..365055d4 100644
--- a/otk/strut.hh
+++ b/otk/strut.hh
@@ -21,6 +21,8 @@ struct Strut {
//! 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) {}
};
}