diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-11-16 11:55:03 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-11-16 11:55:03 +0000 |
| commit | 36ed114f49544eb17bacf4c359d67bc5d9324b13 (patch) | |
| tree | 8c863085039e3fd4f947a824b0f1ccb6d7d9a56b /otk | |
| parent | cd91abfd7cb1e48acae946717e835bc700a8bb85 (diff) | |
add a constructor for strut that takes margin sizes
Diffstat (limited to 'otk')
| -rw-r--r-- | otk/strut.hh | 2 |
1 files changed, 2 insertions, 0 deletions
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) {} }; } |
