all repos — fluxbox @ 7e320b7d315a5ae1acf75c0d685731aaa6c2b296

custom fork of the fluxbox windowmanager

removed bevel width and handle width
fluxgen fluxgen
commit

7e320b7d315a5ae1acf75c0d685731aaa6c2b296

parent

5aae53172bad9dff1a1d2abb44819bcf81876129

2 files changed, 2 insertions(+), 16 deletions(-)

jump to
M src/RootTheme.ccsrc/RootTheme.cc

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: RootTheme.cc,v 1.5 2003/09/12 21:34:22 fluxgen Exp $ +// $Id: RootTheme.cc,v 1.6 2003/09/12 23:33:13 fluxgen Exp $ #include "RootTheme.hh"

@@ -29,13 +29,9 @@

RootTheme::RootTheme(int screen_num, std::string &screen_root_command): FbTk::Theme(screen_num), m_root_command(*this, "rootCommand", "RootCommand"), - m_bevel_width(*this, "bevelWidth", "BevelWidth"), - m_handle_width(*this, "handleWidth", "HandleWidth"), m_screen_root_command(screen_root_command), m_opgc(RootWindow(FbTk::App::instance()->display(), screen_num)) { - *m_bevel_width = 0; - *m_handle_width = 0; Display *disp = FbTk::App::instance()->display(); m_opgc.setForeground(WhitePixel(disp, screen_num)^BlackPixel(disp, screen_num)); m_opgc.setFunction(GXxor);

@@ -47,12 +43,6 @@

} void RootTheme::reconfigTheme() { - if (*m_bevel_width > 20) - *m_bevel_width = 20; - - if (*m_handle_width > 20) - *m_handle_width = 20; - // override resource root command? if (m_screen_root_command == "") { // do root command
M src/RootTheme.hhsrc/RootTheme.hh

@@ -19,13 +19,12 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: RootTheme.hh,v 1.4 2003/09/12 21:34:22 fluxgen Exp $ +// $Id: RootTheme.hh,v 1.5 2003/09/12 23:33:13 fluxgen Exp $ #ifndef ROOTTHEME_HH #define ROOTTHEME_HH #include "FbTk/Theme.hh" -#include "FbTk/Color.hh" #include "FbTk/GContext.hh" #include <X11/Xlib.h>

@@ -44,13 +43,10 @@ ~RootTheme();

void reconfigTheme(); - int bevelWidth() const { return *m_bevel_width; } - int handleWidth() const { return *m_handle_width; } GC opGC() const { return m_opgc.gc(); } private: FbTk::ThemeItem<std::string> m_root_command; - FbTk::ThemeItem<int> m_bevel_width, m_handle_width; std::string &m_screen_root_command; ///< string to execute and override theme rootCommand FbTk::GContext m_opgc; };