]> Dogcows Code - chaz/openbox/blobdiff - otk/strut.hh
set the log domain for each plugin properly
[chaz/openbox] / otk / strut.hh
index 494cc4f13a77342cf123f2f2e7d498855ae736bc..71553da2e74a09845d8f928948803caf25af4212 100644 (file)
@@ -21,6 +21,13 @@ 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) {}
+
+  bool operator==(const Strut &o) const {
+    return top == o.top && bottom == o.bottom && left == o.left &&
+      right == o.right;
+  }
 };
 
 }
This page took 0.022176 seconds and 4 git commands to generate.