aboutsummaryrefslogtreecommitdiff
path: root/src/ButtonTool.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2004-08-29 08:33:13 (GMT)
committerrathnor <rathnor>2004-08-29 08:33:13 (GMT)
commit97ef84da598aed61a6cb57a62796f302043181e8 (patch)
treefd68f9ef6703322537eca3743c3217b281d6ce7c /src/ButtonTool.cc
parent8a59b9b4541490badaf3e1a0503b4ca5f0105c8f (diff)
downloadfluxbox_pavel-97ef84da598aed61a6cb57a62796f302043181e8.zip
fluxbox_pavel-97ef84da598aed61a6cb57a62796f302043181e8.tar.bz2
a few random fixes
Diffstat (limited to 'src/ButtonTool.cc')
-rw-r--r--src/ButtonTool.cc7
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
51void ButtonTool::updateSizing() {
52 FbTk::Button &btn = static_cast<FbTk::Button &>(window());
53 btn.setBorderWidth(theme().border().width());
54}
55
51void ButtonTool::renderTheme() { 56void ButtonTool::renderTheme() {
52 FbTk::Button &btn = static_cast<FbTk::Button &>(window()); 57 FbTk::Button &btn = static_cast<FbTk::Button &>(window());
53 58