]> Dogcows Code - chaz/openbox/commitdiff
add a constructor for strut that takes margin sizes
authorDana Jansens <danakj@orodu.net>
Sat, 16 Nov 2002 11:55:03 +0000 (11:55 +0000)
committerDana Jansens <danakj@orodu.net>
Sat, 16 Nov 2002 11:55:03 +0000 (11:55 +0000)
otk/strut.hh

index 494cc4f13a77342cf123f2f2e7d498855ae736bc..365055d4a1e8818afc16200d7245f34778cd2a7d 100644 (file)
@@ -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) {}
 };
 
 }
This page took 0.027173 seconds and 4 git commands to generate.