aboutsummaryrefslogtreecommitdiff
path: root/src/RootTheme.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-09-12 23:33:13 (GMT)
committerfluxgen <fluxgen>2003-09-12 23:33:13 (GMT)
commit7e320b7d315a5ae1acf75c0d685731aaa6c2b296 (patch)
tree578997ccba5348f97d38af09ed93cb3e363b4cd1 /src/RootTheme.cc
parent5aae53172bad9dff1a1d2abb44819bcf81876129 (diff)
downloadfluxbox-7e320b7d315a5ae1acf75c0d685731aaa6c2b296.zip
fluxbox-7e320b7d315a5ae1acf75c0d685731aaa6c2b296.tar.bz2
removed bevel width and handle width
Diffstat (limited to 'src/RootTheme.cc')
-rw-r--r--src/RootTheme.cc12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/RootTheme.cc b/src/RootTheme.cc
index 6e489e1..15723ac 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.5 2003/09/12 21:34:22 fluxgen Exp $ 22// $Id: RootTheme.cc,v 1.6 2003/09/12 23:33:13 fluxgen Exp $
23 23
24#include "RootTheme.hh" 24#include "RootTheme.hh"
25 25
@@ -29,13 +29,9 @@
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_bevel_width(*this, "bevelWidth", "BevelWidth"),
33 m_handle_width(*this, "handleWidth", "HandleWidth"),
34 m_screen_root_command(screen_root_command), 32 m_screen_root_command(screen_root_command),
35 m_opgc(RootWindow(FbTk::App::instance()->display(), screen_num)) { 33 m_opgc(RootWindow(FbTk::App::instance()->display(), screen_num)) {
36 34
37 *m_bevel_width = 0;
38 *m_handle_width = 0;
39 Display *disp = FbTk::App::instance()->display(); 35 Display *disp = FbTk::App::instance()->display();
40 m_opgc.setForeground(WhitePixel(disp, screen_num)^BlackPixel(disp, screen_num)); 36 m_opgc.setForeground(WhitePixel(disp, screen_num)^BlackPixel(disp, screen_num));
41 m_opgc.setFunction(GXxor); 37 m_opgc.setFunction(GXxor);
@@ -47,12 +43,6 @@ RootTheme::~RootTheme() {
47} 43}
48 44
49void RootTheme::reconfigTheme() { 45void RootTheme::reconfigTheme() {
50 if (*m_bevel_width > 20)
51 *m_bevel_width = 20;
52
53 if (*m_handle_width > 20)
54 *m_handle_width = 20;
55
56 // override resource root command? 46 // override resource root command?
57 if (m_screen_root_command == "") { 47 if (m_screen_root_command == "") {
58 // do root command 48 // do root command