projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd91abf
)
add a constructor for strut that takes margin sizes
author
Dana Jansens
<danakj@orodu.net>
Sat, 16 Nov 2002 11:55:03 +0000
(11:55 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 16 Nov 2002 11:55:03 +0000
(11:55 +0000)
otk/strut.hh
patch
|
blob
|
history
diff --git
a/otk/strut.hh
b/otk/strut.hh
index 494cc4f13a77342cf123f2f2e7d498855ae736bc..365055d4a1e8818afc16200d7245f34778cd2a7d 100644
(file)
--- 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) {}
};
}