From 36ed114f49544eb17bacf4c359d67bc5d9324b13 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 16 Nov 2002 11:55:03 +0000 Subject: [PATCH] add a constructor for strut that takes margin sizes --- otk/strut.hh | 2 ++ 1 file changed, 2 insertions(+) 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) {} }; } -- 2.45.2