summaryrefslogtreecommitdiff
path: root/src/RootTheme.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-25 16:07:09 (GMT)
committerfluxgen <fluxgen>2003-08-25 16:07:09 (GMT)
commit49f5eef946f588f647b3be93f799d958a4de4bd4 (patch)
tree04917853374a906b2eeb55ab360af92ebf57d618 /src/RootTheme.cc
parent06a66cc30446945e9d2a440de2b9a9e9f6561ead (diff)
downloadfluxbox_lack-49f5eef946f588f647b3be93f799d958a4de4bd4.zip
fluxbox_lack-49f5eef946f588f647b3be93f799d958a4de4bd4.tar.bz2
moved border color and width to frame theme
Diffstat (limited to 'src/RootTheme.cc')
-rw-r--r--src/RootTheme.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/RootTheme.cc b/src/RootTheme.cc
index b174d25..f3695dd 100644
--- a/src/RootTheme.cc
+++ b/src/RootTheme.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: RootTheme.cc,v 1.3 2003/08/16 10:01:57 fluxgen Exp $ 22// $Id: RootTheme.cc,v 1.4 2003/08/25 16:02:24 fluxgen Exp $
23 23
24#include "RootTheme.hh" 24#include "RootTheme.hh"
25 25
@@ -29,13 +29,10 @@
29RootTheme::RootTheme(int screen_num, std::string &screen_root_command): 29RootTheme::RootTheme(int screen_num, std::string &screen_root_command):
30 FbTk::Theme(screen_num), 30 FbTk::Theme(screen_num),
31 m_root_command(*this, "rootCommand", "RootCommand"), 31 m_root_command(*this, "rootCommand", "RootCommand"),
32 m_border_width(*this, "borderWidth", "BorderWidth"),
33 m_bevel_width(*this, "bevelWidth", "BevelWidth"), 32 m_bevel_width(*this, "bevelWidth", "BevelWidth"),
34 m_handle_width(*this, "handleWidth", "HandleWidth"), 33 m_handle_width(*this, "handleWidth", "HandleWidth"),
35 m_border_color(*this, "borderColor", "BorderColor"),
36 m_screen_root_command(screen_root_command) { 34 m_screen_root_command(screen_root_command) {
37 35
38 *m_border_width = 0;
39 *m_bevel_width = 0; 36 *m_bevel_width = 0;
40 *m_handle_width = 0; 37 *m_handle_width = 0;
41 38
@@ -55,10 +52,6 @@ RootTheme::~RootTheme() {
55} 52}
56 53
57void RootTheme::reconfigTheme() { 54void RootTheme::reconfigTheme() {
58 // clamp values to "normal" size
59 if (*m_border_width > 20)
60 *m_border_width = 20;
61
62 if (*m_bevel_width > 20) 55 if (*m_bevel_width > 20)
63 *m_bevel_width = 20; 56 *m_bevel_width = 20;
64 57