diff options
author | fluxgen <fluxgen> | 2003-08-13 10:19:57 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-08-13 10:19:57 (GMT) |
commit | 4eb377f5ef75359502685f3a73e3e24a520bcad5 (patch) | |
tree | 902b76be21a9264ff7fd99cc9e7099831f31ed2e /src/WorkspaceNameTool.cc | |
parent | 662be09609358784d08f1aa6d01ae0c88047cafa (diff) | |
download | fluxbox-4eb377f5ef75359502685f3a73e3e24a520bcad5.zip fluxbox-4eb377f5ef75359502685f3a73e3e24a520bcad5.tar.bz2 |
border theme
Diffstat (limited to 'src/WorkspaceNameTool.cc')
-rw-r--r-- | src/WorkspaceNameTool.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/WorkspaceNameTool.cc b/src/WorkspaceNameTool.cc index a41e449..09067ea 100644 --- a/src/WorkspaceNameTool.cc +++ b/src/WorkspaceNameTool.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: WorkspaceNameTool.cc,v 1.3 2003/08/12 00:22:11 fluxgen Exp $ | 23 | // $Id: WorkspaceNameTool.cc,v 1.4 2003/08/13 10:19:38 fluxgen Exp $ |
24 | 24 | ||
25 | #include "WorkspaceNameTool.hh" | 25 | #include "WorkspaceNameTool.hh" |
26 | 26 | ||
@@ -92,6 +92,9 @@ unsigned int WorkspaceNameTool::height() const { | |||
92 | return m_button.height(); | 92 | return m_button.height(); |
93 | } | 93 | } |
94 | 94 | ||
95 | unsigned int WorkspaceNameTool::borderWidth() const { | ||
96 | return m_button.borderWidth(); | ||
97 | } | ||
95 | 98 | ||
96 | void WorkspaceNameTool::show() { | 99 | void WorkspaceNameTool::show() { |
97 | m_button.show(); | 100 | m_button.show(); |
@@ -115,5 +118,7 @@ void WorkspaceNameTool::renderTheme() { | |||
115 | m_screen.imageControl().removeImage(tmp); | 118 | m_screen.imageControl().removeImage(tmp); |
116 | 119 | ||
117 | m_button.setJustify(m_theme.justify()); | 120 | m_button.setJustify(m_theme.justify()); |
121 | m_button.setBorderWidth(m_theme.border().width()); | ||
122 | m_button.setBorderColor(m_theme.border().color()); | ||
118 | m_button.clear(); | 123 | m_button.clear(); |
119 | } | 124 | } |