From 302c63e2dfbd426144280cc3d0b64a2d416ebe42 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 18 Mar 2006 22:01:06 +0000 Subject: no more session.titlebar.left/right. They are now screen specific and the resources are created on the fly in FluxboxWindow --- src/fluxbox.hh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/fluxbox.hh b/src/fluxbox.hh index ad75957..da0a60a 100644 --- a/src/fluxbox.hh +++ b/src/fluxbox.hh @@ -111,15 +111,12 @@ public: void removeAtomHandler(AtomHandler *atomh); /// obsolete - enum Titlebar{SHADE=0, MINIMIZE, MAXIMIZE, CLOSE, STICK, MENUICON, EMPTY}; enum TabsAttachArea{ATTACH_AREA_WINDOW= 0, ATTACH_AREA_TITLEBAR}; bool getIgnoreBorder() const { return *m_rc_ignoreborder; } bool &getPseudoTrans() { return *m_rc_pseudotrans; } - const std::vector& getTitlebarRight() const { return *m_rc_titlebar_right; } - const std::vector& getTitlebarLeft() const { return *m_rc_titlebar_left; } Fluxbox::TabsAttachArea getTabsAttachArea() const { return *m_rc_tabs_attach_area; } const std::string &getStyleFilename() const { return *m_rc_stylefile; } const std::string &getStyleOverlayFilename() const { return *m_rc_styleoverlayfile; } @@ -198,7 +195,6 @@ public: /// get screen from number BScreen *findScreen(int num); - typedef std::vector TitlebarList; /// @return whether the timestamps on the menu changed bool menuTimestampsChanged() const; bool haveShape() const { return m_have_shape; } @@ -235,7 +231,6 @@ private: void handleUnmapNotify(XUnmapEvent &ue); void handleClientMessage(XClientMessageEvent &ce); void handleKeyEvent(XKeyEvent &ke); - void setTitlebar(std::vector& dir, const char *arg); std::auto_ptr m_fbatoms; @@ -255,7 +250,6 @@ private: m_rc_groupfile, m_rc_appsfile; - FbTk::Resource m_rc_titlebar_left, m_rc_titlebar_right; FbTk::Resource m_rc_tabs_attach_area; FbTk::Resource m_rc_cache_life, m_rc_cache_max; FbTk::Resource m_rc_auto_raise_delay; @@ -300,7 +294,6 @@ private: std::auto_ptr m_key; //default arguments for titlebar left and right - static Fluxbox::Titlebar s_titlebar_left[], s_titlebar_right[]; static Fluxbox *s_singleton; typedef std::map AtomHandlerContainer; -- cgit v0.11.2