From ff5f444666948d8fbd345f1b32e7ffd54fecfaeb Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 13 May 2003 14:06:45 +0000 Subject: removed ScreenInfo --- src/Makefile.am | 1 - src/Screen.cc | 3 +-- src/Screen.hh | 8 ++++---- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 44e6254..d2e871e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -64,7 +64,6 @@ fluxbox_SOURCES = AtomHandler.hh ArrowButton.hh ArrowButton.cc \ RootTheme.hh RootTheme.cc \ FbRootWindow.hh FbRootWindow.cc \ Screen.cc Screen.hh \ - ScreenInfo.hh ScreenInfo.cc \ Slit.cc Slit.hh \ TextButton.hh TextButton.cc \ Toolbar.cc Toolbar.hh \ diff --git a/src/Screen.cc b/src/Screen.cc index 58d2e22..a81e60b 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.162 2003/05/13 11:21:23 rathnor Exp $ +// $Id: Screen.cc,v 1.163 2003/05/13 14:03:27 fluxgen Exp $ #include "Screen.hh" @@ -494,7 +494,6 @@ BScreen::ScreenResource::ScreenResource(ResourceManager &rm, BScreen::BScreen(ResourceManager &rm, const string &screenname, const string &altscreenname, int scrn, int num_layers) : - ScreenInfo(scrn), m_clientlist_sig(*this), // client signal m_workspacecount_sig(*this), // workspace count signal m_workspacenames_sig(*this), // workspace names signal diff --git a/src/Screen.hh b/src/Screen.hh index 53ad211..85d3ff7 100644 --- a/src/Screen.hh +++ b/src/Screen.hh @@ -22,18 +22,18 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.hh,v 1.94 2003/05/12 04:28:46 fluxgen Exp $ +// $Id: Screen.hh,v 1.95 2003/05/13 14:02:48 fluxgen Exp $ #ifndef SCREEN_HH #define SCREEN_HH -#include "ScreenInfo.hh" #include "Resource.hh" #include "Subject.hh" #include "MultLayers.hh" #include "ToolbarHandler.hh" #include "Slit.hh" #include "FbRootWindow.hh" +#include "NotCopyable.hh" #include #include @@ -64,7 +64,7 @@ class XLayerItem; /** Create a toolbar and workspaces, handles switching between workspaces and windows */ -class BScreen : public ScreenInfo { +class BScreen : private FbTk::NotCopyable { public: typedef std::vector Workspaces; typedef std::vector WorkspaceNames; @@ -142,7 +142,7 @@ public: inline unsigned int getWidth() const { return rootWindow().width(); } inline unsigned int getHeight() const { return rootWindow().height(); } - + inline unsigned int getScreenNumber() const { return rootWindow().screenNumber(); } typedef std::vector Icons; typedef std::list FocusedWindows; -- cgit v0.11.2