]> Dogcows Code - chaz/openbox/blob - otk/strut.hh
494cc4f13a77342cf123f2f2e7d498855ae736bc
[chaz/openbox] / otk / strut.hh
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
2 #ifndef __strut_hh
3 #define __strut_hh
4
5 /*! @file strut.hh
6 @brief The Strut struct defines a margin on 4 sides
7 */
8
9 namespace otk {
10
11 //! Defines a margin on 4 sides
12 struct Strut {
13 //! The margin on the top of the Strut
14 unsigned int top;
15 //! The margin on the bottom of the Strut
16 unsigned int bottom;
17 //! The margin on the left of the Strut
18 unsigned int left;
19 //! The margin on the right of the Strut
20 unsigned int right;
21
22 //! Constructs a new Strut with no margins
23 Strut(void): top(0), bottom(0), left(0), right(0) {}
24 };
25
26 }
27
28 #endif // __strut_hh
This page took 0.034222 seconds and 3 git commands to generate.