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 | |
parent | 662be09609358784d08f1aa6d01ae0c88047cafa (diff) | |
download | fluxbox_paul-4eb377f5ef75359502685f3a73e3e24a520bcad5.zip fluxbox_paul-4eb377f5ef75359502685f3a73e3e24a520bcad5.tar.bz2 |
border theme
-rw-r--r-- | src/WorkspaceNameTool.cc | 7 | ||||
-rw-r--r-- | src/WorkspaceNameTool.hh | 3 |
2 files changed, 8 insertions, 2 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 | } |
diff --git a/src/WorkspaceNameTool.hh b/src/WorkspaceNameTool.hh index a5d0188..0dc49ac 100644 --- a/src/WorkspaceNameTool.hh +++ b/src/WorkspaceNameTool.hh | |||
@@ -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.hh,v 1.1 2003/08/11 14:32:39 fluxgen Exp $ | 23 | // $Id: WorkspaceNameTool.hh,v 1.2 2003/08/13 10:19:57 fluxgen Exp $ |
24 | 24 | ||
25 | #ifndef WORKSPACENAMETOOL_HH | 25 | #ifndef WORKSPACENAMETOOL_HH |
26 | #define WORKSPACENAMETOOL_HH | 26 | #define WORKSPACENAMETOOL_HH |
@@ -47,6 +47,7 @@ public: | |||
47 | void hide(); | 47 | void hide(); |
48 | unsigned int width() const; | 48 | unsigned int width() const; |
49 | unsigned int height() const; | 49 | unsigned int height() const; |
50 | unsigned int borderWidth() const; | ||
50 | 51 | ||
51 | void update(FbTk::Subject *subj); | 52 | void update(FbTk::Subject *subj); |
52 | 53 | ||