From 6cd9ad46cc0d9660a4e582ee5e61a97c68782f1d Mon Sep 17 00:00:00 2001 From: markt Date: Tue, 4 Jul 2006 01:01:44 +0000 Subject: some dead resources and the functions that go with them --- src/IconbarTheme.hh | 2 -- src/Screen.cc | 1 - src/Screen.hh | 3 +-- src/fluxbox.cc | 2 -- src/fluxbox.hh | 6 +----- 5 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/IconbarTheme.hh b/src/IconbarTheme.hh index 1a7308a..62fa2ef 100644 --- a/src/IconbarTheme.hh +++ b/src/IconbarTheme.hh @@ -39,8 +39,6 @@ public: void reconfigTheme(); bool fallback(FbTk::ThemeItem_base &item); - void setAntialias(bool antialias); - TextTheme &focusedText() { return m_focused_text; } TextTheme &unfocusedText() { return m_unfocused_text; } diff --git a/src/Screen.cc b/src/Screen.cc index 384ae86..47599bc 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -254,7 +254,6 @@ BScreen::ScreenResource::ScreenResource(FbTk::ResourceManager &rm, desktop_wheeling(rm, true, scrname+".desktopwheeling", altscrname+".DesktopWheeling"), reverse_wheeling(rm, false, scrname+".reversewheeling", altscrname+".ReverseWheeling"), show_window_pos(rm, true, scrname+".showwindowposition", altscrname+".ShowWindowPosition"), - antialias(rm, false, scrname+".antialias", altscrname+".Antialias"), auto_raise(rm, false, scrname+".autoRaise", altscrname+".AutoRaise"), click_raises(rm, true, scrname+".clickRaises", altscrname+".ClickRaises"), decorate_transient(rm, false, scrname+".decorateTransient", altscrname+".DecorateTransient"), diff --git a/src/Screen.hh b/src/Screen.hh index 46f50da..0a96df2 100644 --- a/src/Screen.hh +++ b/src/Screen.hh @@ -118,7 +118,6 @@ public: bool doOpaqueMove() const { return *resource.opaque_move; } bool doFullMax() const { return *resource.full_max; } bool doShowWindowPos() const { return *resource.show_window_pos; } - bool antialias() const { return *resource.antialias; } bool decorateTransient() const { return *resource.decorate_transient; } const std::string &windowMenuFilename() const { return *resource.windowmenufile; } FbTk::ImageControl &imageControl() { return *m_image_control.get(); } @@ -436,7 +435,7 @@ private: FbTk::Resource image_dither, opaque_move, full_max, workspace_warping, desktop_wheeling, reverse_wheeling, show_window_pos, - antialias, auto_raise, click_raises, decorate_transient; + auto_raise, click_raises, decorate_transient; FbTk::Resource rootcommand; FbTk::Resource resize_model; FbTk::Resource tab_placement; diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 4e4187a..737eda2 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc @@ -202,8 +202,6 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile m_rc_numlayers(m_resourcemanager, 13, "session.numLayers", "Session.NumLayers"), m_rc_double_click_interval(m_resourcemanager, 250, "session.doubleClickInterval", "Session.DoubleClickInterval"), m_rc_tabs_padding(m_resourcemanager, 0, "session.tabPadding", "Session.TabPadding"), - m_rc_focused_tab_min_width(m_resourcemanager, 0, "session.focusTabMinWidth", - "Session.FocusTabMinWidth"), m_rc_stylefile(m_resourcemanager, DEFAULTSTYLE, "session.styleFile", "Session.StyleFile"), m_rc_styleoverlayfile(m_resourcemanager, "~/.fluxbox/overlay", "session.styleOverlay", "Session.StyleOverlay"), m_rc_menufile(m_resourcemanager, DEFAULTMENU, "session.menuFile", "Session.MenuFile"), diff --git a/src/fluxbox.hh b/src/fluxbox.hh index 667b4a9..57fa803 100644 --- a/src/fluxbox.hh +++ b/src/fluxbox.hh @@ -128,9 +128,6 @@ public: int colorsPerChannel() const { return *m_rc_colors_per_channel; } int getNumberOfLayers() const { return *m_rc_numlayers; } int getTabsPadding() const { return *m_rc_tabs_padding; } -#ifdef NOT_USED - int getFocusedTabMinWidth() const { return *m_rc_focused_tab_min_width; } -#endif // class to store layer numbers (special Resource type) // we have a special resource type because we need to be able to name certain layers @@ -246,8 +243,7 @@ private: FbTk::Resource m_rc_pseudotrans; FbTk::Resource m_rc_colors_per_channel, m_rc_numlayers, m_rc_double_click_interval, - m_rc_tabs_padding, - m_rc_focused_tab_min_width; + m_rc_tabs_padding; FbTk::Resource m_rc_stylefile, m_rc_styleoverlayfile, m_rc_menufile, m_rc_keyfile, m_rc_slitlistfile, -- cgit v0.11.2