diff options
author | fluxgen <fluxgen> | 2003-05-13 14:06:45 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-05-13 14:06:45 (GMT) |
commit | ff5f444666948d8fbd345f1b32e7ffd54fecfaeb (patch) | |
tree | bae607be8c2ad6f7ff0edd67ef3e756d1a3a2f40 | |
parent | 56af958aa5be9e624775bcae4a7dfb8535138547 (diff) | |
download | fluxbox_pavel-ff5f444666948d8fbd345f1b32e7ffd54fecfaeb.zip fluxbox_pavel-ff5f444666948d8fbd345f1b32e7ffd54fecfaeb.tar.bz2 |
removed ScreenInfo
-rw-r--r-- | src/Makefile.am | 1 | ||||
-rw-r--r-- | src/Screen.cc | 3 | ||||
-rw-r--r-- | 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 \ | |||
64 | RootTheme.hh RootTheme.cc \ | 64 | RootTheme.hh RootTheme.cc \ |
65 | FbRootWindow.hh FbRootWindow.cc \ | 65 | FbRootWindow.hh FbRootWindow.cc \ |
66 | Screen.cc Screen.hh \ | 66 | Screen.cc Screen.hh \ |
67 | ScreenInfo.hh ScreenInfo.cc \ | ||
68 | Slit.cc Slit.hh \ | 67 | Slit.cc Slit.hh \ |
69 | TextButton.hh TextButton.cc \ | 68 | TextButton.hh TextButton.cc \ |
70 | Toolbar.cc Toolbar.hh \ | 69 | 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 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.cc,v 1.162 2003/05/13 11:21:23 rathnor Exp $ | 25 | // $Id: Screen.cc,v 1.163 2003/05/13 14:03:27 fluxgen Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "Screen.hh" | 28 | #include "Screen.hh" |
@@ -494,7 +494,6 @@ BScreen::ScreenResource::ScreenResource(ResourceManager &rm, | |||
494 | BScreen::BScreen(ResourceManager &rm, | 494 | BScreen::BScreen(ResourceManager &rm, |
495 | const string &screenname, const string &altscreenname, | 495 | const string &screenname, const string &altscreenname, |
496 | int scrn, int num_layers) : | 496 | int scrn, int num_layers) : |
497 | ScreenInfo(scrn), | ||
498 | m_clientlist_sig(*this), // client signal | 497 | m_clientlist_sig(*this), // client signal |
499 | m_workspacecount_sig(*this), // workspace count signal | 498 | m_workspacecount_sig(*this), // workspace count signal |
500 | m_workspacenames_sig(*this), // workspace names signal | 499 | 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 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.hh,v 1.94 2003/05/12 04:28:46 fluxgen Exp $ | 25 | // $Id: Screen.hh,v 1.95 2003/05/13 14:02:48 fluxgen Exp $ |
26 | 26 | ||
27 | #ifndef SCREEN_HH | 27 | #ifndef SCREEN_HH |
28 | #define SCREEN_HH | 28 | #define SCREEN_HH |
29 | 29 | ||
30 | #include "ScreenInfo.hh" | ||
31 | #include "Resource.hh" | 30 | #include "Resource.hh" |
32 | #include "Subject.hh" | 31 | #include "Subject.hh" |
33 | #include "MultLayers.hh" | 32 | #include "MultLayers.hh" |
34 | #include "ToolbarHandler.hh" | 33 | #include "ToolbarHandler.hh" |
35 | #include "Slit.hh" | 34 | #include "Slit.hh" |
36 | #include "FbRootWindow.hh" | 35 | #include "FbRootWindow.hh" |
36 | #include "NotCopyable.hh" | ||
37 | 37 | ||
38 | #include <X11/Xlib.h> | 38 | #include <X11/Xlib.h> |
39 | #include <X11/Xresource.h> | 39 | #include <X11/Xresource.h> |
@@ -64,7 +64,7 @@ class XLayerItem; | |||
64 | /** | 64 | /** |
65 | Create a toolbar and workspaces, handles switching between workspaces and windows | 65 | Create a toolbar and workspaces, handles switching between workspaces and windows |
66 | */ | 66 | */ |
67 | class BScreen : public ScreenInfo { | 67 | class BScreen : private FbTk::NotCopyable { |
68 | public: | 68 | public: |
69 | typedef std::vector<Workspace *> Workspaces; | 69 | typedef std::vector<Workspace *> Workspaces; |
70 | typedef std::vector<std::string> WorkspaceNames; | 70 | typedef std::vector<std::string> WorkspaceNames; |
@@ -142,7 +142,7 @@ public: | |||
142 | 142 | ||
143 | inline unsigned int getWidth() const { return rootWindow().width(); } | 143 | inline unsigned int getWidth() const { return rootWindow().width(); } |
144 | inline unsigned int getHeight() const { return rootWindow().height(); } | 144 | inline unsigned int getHeight() const { return rootWindow().height(); } |
145 | 145 | inline unsigned int getScreenNumber() const { return rootWindow().screenNumber(); } | |
146 | typedef std::vector<FluxboxWindow *> Icons; | 146 | typedef std::vector<FluxboxWindow *> Icons; |
147 | typedef std::list<WinClient *> FocusedWindows; | 147 | typedef std::list<WinClient *> FocusedWindows; |
148 | 148 | ||