aboutsummaryrefslogtreecommitdiff
path: root/src/ClockTool.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/ClockTool.cc
parent8a59b9b4541490badaf3e1a0503b4ca5f0105c8f (diff)
downloadfluxbox-97ef84da598aed61a6cb57a62796f302043181e8.zip
fluxbox-97ef84da598aed61a6cb57a62796f302043181e8.tar.bz2
a few random fixes
Diffstat (limited to 'src/ClockTool.cc')
-rw-r--r--src/ClockTool.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ClockTool.cc b/src/ClockTool.cc
index dca1d86..2364a5b 100644
--- a/src/ClockTool.cc
+++ b/src/ClockTool.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: ClockTool.cc,v 1.12 2004/08/25 17:16:40 rathnor Exp $ 23// $Id: ClockTool.cc,v 1.13 2004/08/29 08:33:12 rathnor Exp $
24 24
25#include "ClockTool.hh" 25#include "ClockTool.hh"
26 26
@@ -246,6 +246,11 @@ void ClockTool::updateTime() {
246 m_button.clear(); 246 m_button.clear();
247} 247}
248 248
249// Just change things that affect the size
250void ClockTool::updateSizing() {
251 m_button.setBorderWidth(m_theme.border().width());
252}
253
249void ClockTool::renderTheme() { 254void ClockTool::renderTheme() {
250 Pixmap old_pm = m_pixmap; 255 Pixmap old_pm = m_pixmap;
251 if (!m_theme.texture().usePixmap()) { 256 if (!m_theme.texture().usePixmap()) {