add a constructor for strut that takes margin sizes

This commit is contained in:
Dana Jansens 2002-11-16 11:55:03 +00:00
parent cd91abfd7c
commit 36ed114f49

View 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) {}
};
}