summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {}
};
}