From d30e16f159efa7bde19dd01e560794b43dea6620 Mon Sep 17 00:00:00 2001
From: akir <akir>
Date: Sun, 10 Oct 2004 16:06:24 +0000
Subject: added session.tabPadding and session.focusTabMinWidth

---
 src/fluxbox.cc | 5 ++++-
 src/fluxbox.hh | 8 ++++++--
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 24f2556..3563c8c 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -22,7 +22,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: fluxbox.cc,v 1.257 2004/09/12 14:56:19 rathnor Exp $
+// $Id: fluxbox.cc,v 1.258 2004/10/10 16:06:23 akir Exp $
 
 #include "fluxbox.hh"
 
@@ -203,6 +203,9 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile
       // TODO: shouldn't need a separate one for screen
       m_screen_rm(m_resourcemanager),
       m_rc_tabs(m_resourcemanager, true, "session.tabs", "Session.Tabs"),
+      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_ignoreborder(m_resourcemanager, false, "session.ignoreBorder", "Session.IgnoreBorder"),
       m_rc_pseudotrans(m_resourcemanager, false, "session.forcePseudoTransparency", "Session.forcePseudoTransparency"),
       m_rc_colors_per_channel(m_resourcemanager, 4, 
diff --git a/src/fluxbox.hh b/src/fluxbox.hh
index 6258651..0b67b44 100644
--- a/src/fluxbox.hh
+++ b/src/fluxbox.hh
@@ -22,7 +22,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: fluxbox.hh,v 1.91 2004/09/12 14:56:19 rathnor Exp $
+// $Id: fluxbox.hh,v 1.92 2004/10/10 16:06:24 akir Exp $
 
 #ifndef	 FLUXBOX_HH
 #define	 FLUXBOX_HH
@@ -126,6 +126,8 @@ public:
     inline const std::string &getSlitlistFilename() const { return *m_rc_slitlistfile; }
     inline int colorsPerChannel() const { return *m_rc_colors_per_channel; }
     inline int getNumberOfLayers() const { return *m_rc_numlayers; }
+    inline int getTabsPadding() const { return *m_rc_tabs_padding; }
+    inline int getFocusedTabMinWidth() const { return *m_rc_focused_tab_min_width; }
 
     // class to store layer numbers (special Resource type)
     // we have a special resource type because we need to be able to name certain layers
@@ -253,7 +255,9 @@ private:
     FbTk::Resource<bool> m_rc_tabs, m_rc_ignoreborder;
     FbTk::Resource<bool> m_rc_pseudotrans;
     FbTk::Resource<int> m_rc_colors_per_channel, m_rc_numlayers,
-        m_rc_double_click_interval, m_rc_update_delay_time;
+        m_rc_double_click_interval, m_rc_update_delay_time,
+        m_rc_tabs_padding,
+        m_rc_focused_tab_min_width;
     FbTk::Resource<std::string> m_rc_stylefile, 
         m_rc_menufile, m_rc_keyfile, m_rc_slitlistfile,
         m_rc_groupfile;
-- 
cgit v0.11.2