diff options
author | fluxgen <fluxgen> | 2003-06-18 12:27:48 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-06-18 12:27:48 (GMT) |
commit | 06349993edb7722fcc03039e0fa36d9e80ba707b (patch) | |
tree | 180f9ee0bf06e3a64532c3a9d2a2cfc48a3e9626 /src | |
parent | c9daf1dcf3a1e84581f5b0cd1ef3e22cbeced82d (diff) | |
download | fluxbox_pavel-06349993edb7722fcc03039e0fa36d9e80ba707b.zip fluxbox_pavel-06349993edb7722fcc03039e0fa36d9e80ba707b.tar.bz2 |
for requesting space on screen
Diffstat (limited to 'src')
-rw-r--r-- | src/Strut.hh | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/Strut.hh b/src/Strut.hh new file mode 100644 index 0000000..fac2d42 --- /dev/null +++ b/src/Strut.hh | |||
@@ -0,0 +1,39 @@ | |||
1 | // Strut.hh for Fluxbox Window Manager | ||
2 | // Copyright (c) 2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) | ||
3 | // and Simon Bowden (rathnor at users.sourceforge.net) | ||
4 | // | ||
5 | // Permission is hereby granted, free of charge, to any person obtaining a | ||
6 | // copy of this software and associated documentation files (the "Software"), | ||
7 | // to deal in the Software without restriction, including without limitation | ||
8 | // the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
9 | // and/or sell copies of the Software, and to permit persons to whom the | ||
10 | // Software is furnished to do so, subject to the following conditions: | ||
11 | // | ||
12 | // The above copyright notice and this permission notice shall be included in | ||
13 | // all copies or substantial portions of the Software. | ||
14 | // | ||
15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
18 | // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
21 | // DEALINGS IN THE SOFTWARE. | ||
22 | |||
23 | // $Id: Strut.hh,v 1.1 2003/06/18 12:27:48 fluxgen Exp $ | ||
24 | |||
25 | #ifndef STRUT_HH | ||
26 | #define STRUT_HH | ||
27 | |||
28 | class Strut { | ||
29 | public: | ||
30 | Strut(int left, int right, int top, int bottom):m_left(left), m_right(right), m_top(top), m_bottom(bottom) { } | ||
31 | int left() const { return m_left; } | ||
32 | int right() const { return m_right; } | ||
33 | int bottom() const { return m_bottom; } | ||
34 | int top() const { return m_top; } | ||
35 | private: | ||
36 | int m_left, m_right, m_top, m_bottom; | ||
37 | }; | ||
38 | |||
39 | #endif // STRUT_HH | ||