From: Dana Jansens Date: Sat, 16 Nov 2002 11:55:03 +0000 (+0000) Subject: add a constructor for strut that takes margin sizes X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=36ed114f49544eb17bacf4c359d67bc5d9324b13;p=chaz%2Fopenbox add a constructor for strut that takes margin sizes --- 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) {} }; }