added session.tabPadding and session.focusTabMinWidth
This commit is contained in:
parent
876a70fce2
commit
d30e16f159
2 changed files with 10 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue