From 59e52a6906f53145b18030e8b52010706b9ed563 Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Sat, 30 Nov 2002 20:18:35 +0000
Subject: using imagecontrol

---
 src/Basemenu.cc   | 3 ++-
 src/Configmenu.cc | 3 ++-
 src/IconBar.cc    | 3 ++-
 src/Screen.cc     | 6 +++---
 src/fluxbox.cc    | 4 ++--
 5 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/src/Basemenu.cc b/src/Basemenu.cc
index d35c403..d838654 100644
--- a/src/Basemenu.cc
+++ b/src/Basemenu.cc
@@ -22,7 +22,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: Basemenu.cc,v 1.37 2002/11/27 22:06:06 fluxgen Exp $
+// $Id: Basemenu.cc,v 1.38 2002/11/30 20:09:19 fluxgen Exp $
 
 //use GNU extensions
 #ifndef	 _GNU_SOURCE
@@ -37,6 +37,7 @@
 #include "fluxbox.hh"
 #include "Basemenu.hh"
 #include "Screen.hh"
+#include "ImageControl.hh"
 #include "StringUtil.hh"
 
 #include <cstdio>
diff --git a/src/Configmenu.cc b/src/Configmenu.cc
index d6a35b4..d432990 100644
--- a/src/Configmenu.cc
+++ b/src/Configmenu.cc
@@ -22,7 +22,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: Configmenu.cc,v 1.20 2002/10/25 21:10:58 fluxgen Exp $
+// $Id: Configmenu.cc,v 1.21 2002/11/30 20:10:09 fluxgen Exp $
 
 #include "Configmenu.hh"
 
@@ -32,6 +32,7 @@
 #include "Screen.hh"
 #include "Tab.hh"
 #include "fluxbox.hh"
+#include "ImageControl.hh"
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
diff --git a/src/IconBar.cc b/src/IconBar.cc
index ad18468..9446165 100644
--- a/src/IconBar.cc
+++ b/src/IconBar.cc
@@ -19,12 +19,13 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: IconBar.cc,v 1.19 2002/11/27 21:46:14 fluxgen Exp $
+// $Id: IconBar.cc,v 1.20 2002/11/30 20:10:42 fluxgen Exp $
 
 #include "IconBar.hh"
 #include "i18n.hh"
 #include "Screen.hh"
 #include "fluxbox.hh"
+#include "ImageControl.hh"
 
 #include <algorithm>
 
diff --git a/src/Screen.cc b/src/Screen.cc
index e9c1846..296cb4e 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -22,14 +22,14 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: Screen.cc,v 1.86 2002/11/27 21:55:36 fluxgen Exp $
+// $Id: Screen.cc,v 1.87 2002/11/30 20:15:27 fluxgen Exp $
 
 
 #include "Screen.hh"
 
 #include "i18n.hh"
 #include "fluxbox.hh"
-#include "Image.hh"
+#include "ImageControl.hh"
 #include "Toolbar.hh"
 #include "Window.hh"
 #include "Workspace.hh"
@@ -283,7 +283,7 @@ resource(rm, screenname, altscreenname)
 	XDefineCursor(disp, getRootWindow(), fluxbox->getSessionCursor());
 
 	image_control =
-		new BImageControl(this, true, fluxbox->colorsPerChannel(),
+		new BImageControl(scrn, true, fluxbox->colorsPerChannel(),
 			fluxbox->getCacheLife(), fluxbox->getCacheMax());
 	image_control->installRootColormap();
 	root_colormap_installed = true;
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index dab26bd..3d707ac 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.82 2002/11/27 22:00:19 fluxgen Exp $
+// $Id: fluxbox.cc,v 1.83 2002/11/30 20:18:35 fluxgen Exp $
 
 
 #include "fluxbox.hh"
@@ -40,7 +40,7 @@
 #include "Resource.hh"
 #include "XrmDatabaseHelper.hh"
 #include "AtomHandler.hh"
-
+#include "ImageControl.hh"
 
 //Use GNU extensions
 #ifndef	 _GNU_SOURCE
-- 
cgit v0.11.2