diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-15 11:24:03 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-15 11:24:03 (GMT) |
commit | e5c61a72799485d6751000a127163bd6390d44ba (patch) | |
tree | 06846dffe135e57f958dc69e9731e1f68fb56615 /src/FbWinFrame.hh | |
parent | 1dab657708cd8246c2ce5a6aaa05cc5733e09c54 (diff) | |
download | fluxbox-e5c61a72799485d6751000a127163bd6390d44ba.zip fluxbox-e5c61a72799485d6751000a127163bd6390d44ba.tar.bz2 |
move some frame size calculations to FbWinFrame
Diffstat (limited to 'src/FbWinFrame.hh')
-rw-r--r-- | src/FbWinFrame.hh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/FbWinFrame.hh b/src/FbWinFrame.hh index 70f0a4c..23a8141 100644 --- a/src/FbWinFrame.hh +++ b/src/FbWinFrame.hh | |||
@@ -99,7 +99,7 @@ public: | |||
99 | void apply(unsigned int &w, unsigned int &h, | 99 | void apply(unsigned int &w, unsigned int &h, |
100 | bool maximizing = false) const; | 100 | bool maximizing = false) const; |
101 | bool valid(unsigned int width, unsigned int height) const; | 101 | bool valid(unsigned int width, unsigned int height) const; |
102 | void displaySize(int &i, int &j, | 102 | void displaySize(unsigned int &i, unsigned int &j, |
103 | unsigned int width, unsigned int height) const; | 103 | unsigned int width, unsigned int height) const; |
104 | unsigned int min_width; | 104 | unsigned int min_width; |
105 | unsigned int max_width; | 105 | unsigned int max_width; |
@@ -208,6 +208,10 @@ public: | |||
208 | const SizeHints &sizeHints() const { return m_size_hints; } | 208 | const SizeHints &sizeHints() const { return m_size_hints; } |
209 | void setSizeHints(const SizeHints &hint) { m_size_hints = hint; } | 209 | void setSizeHints(const SizeHints &hint) { m_size_hints = hint; } |
210 | 210 | ||
211 | void applySizeHints(unsigned int &width, unsigned int &height, | ||
212 | bool maximizing) const; | ||
213 | void displaySize(unsigned int width, unsigned int height) const; | ||
214 | |||
211 | void setDecorationMask(unsigned int mask) { m_decoration_mask = mask; } | 215 | void setDecorationMask(unsigned int mask) { m_decoration_mask = mask; } |
212 | void applyDecorations(); | 216 | void applyDecorations(); |
213 | 217 | ||