diff options
author | rathnor <rathnor> | 2004-08-29 08:33:13 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2004-08-29 08:33:13 (GMT) |
commit | 97ef84da598aed61a6cb57a62796f302043181e8 (patch) | |
tree | fd68f9ef6703322537eca3743c3217b281d6ce7c /src/ButtonTool.cc | |
parent | 8a59b9b4541490badaf3e1a0503b4ca5f0105c8f (diff) | |
download | fluxbox-97ef84da598aed61a6cb57a62796f302043181e8.zip fluxbox-97ef84da598aed61a6cb57a62796f302043181e8.tar.bz2 |
a few random fixes
Diffstat (limited to 'src/ButtonTool.cc')
-rw-r--r-- | src/ButtonTool.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ButtonTool.cc b/src/ButtonTool.cc index 78edbe7..0640048 100644 --- a/src/ButtonTool.cc +++ b/src/ButtonTool.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: ButtonTool.cc,v 1.4 2004/08/26 15:09:33 rathnor Exp $ | 22 | // $Id: ButtonTool.cc,v 1.5 2004/08/29 08:33:12 rathnor Exp $ |
23 | 23 | ||
24 | #include "ButtonTool.hh" | 24 | #include "ButtonTool.hh" |
25 | 25 | ||
@@ -48,6 +48,11 @@ ButtonTool::~ButtonTool() { | |||
48 | 48 | ||
49 | } | 49 | } |
50 | 50 | ||
51 | void ButtonTool::updateSizing() { | ||
52 | FbTk::Button &btn = static_cast<FbTk::Button &>(window()); | ||
53 | btn.setBorderWidth(theme().border().width()); | ||
54 | } | ||
55 | |||
51 | void ButtonTool::renderTheme() { | 56 | void ButtonTool::renderTheme() { |
52 | FbTk::Button &btn = static_cast<FbTk::Button &>(window()); | 57 | FbTk::Button &btn = static_cast<FbTk::Button &>(window()); |
53 | 58 | ||