From b9134162f9633784d9097df18769a699a62650fe Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 30 Nov 2002 21:08:07 +0000 Subject: [PATCH] updated for imagecontrol --- util/Makefile.am | 6 +++--- util/bsetroot.cc | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/util/Makefile.am b/util/Makefile.am index 0adef2f4..d0af97af 100644 --- a/util/Makefile.am +++ b/util/Makefile.am @@ -4,8 +4,8 @@ INCLUDES=-I../src/FbTk/ bin_SCRIPTS = bsetbg fluxbox-generate_menu bin_PROGRAMS = bsetroot bsetroot_SOURCES = bsetroot.cc bsetroot.hh -bsetroot_LDADD = ../src/BaseDisplay.o ../src/Timer.o ../src/Image.o ../src/i18n.o ../src/FbAtoms.o \ - ../src/StringUtil.o ../src/FbTk/libFbTk.a +bsetroot_LDADD = ../src/BaseDisplay.o ../src/Timer.o ../src/ImageControl.o ../src/i18n.o ../src/FbAtoms.o \ + ../src/StringUtil.o ../src/TextureRender.o ../src/FbTk/libFbTk.a MAINTAINERCLEANFILES = Makefile.in EXTRA_DIST=bsetbg fluxbox-generate_menu @@ -14,5 +14,5 @@ distclean-local: rm -f *\~ bsetroot.o: bsetroot.cc ../config.h bsetroot.hh ../src/BaseDisplay.hh \ - ../src/Timer.hh ../src/Image.hh ../src/FbAtoms.hh ../src/FbTk/Color.hh ../src/FbTk/Texture.hh + ../src/Timer.hh ../src/ImageControl.hh ../src/FbAtoms.hh diff --git a/util/bsetroot.cc b/util/bsetroot.cc index cb00594f..6365689c 100644 --- a/util/bsetroot.cc +++ b/util/bsetroot.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2002 Henrik Kinnunen (fluxgen@linuxmail.org) +// Copyright (c) 2002 Henrik Kinnunen (fluxgen at linuxmail.org) // Copyright (c) 1997 - 2000 Brad Hughes // // Permission is hereby granted, free of charge, to any person obtaining a @@ -18,15 +18,15 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -// $Id: bsetroot.cc,v 1.12 2002/11/27 21:52:34 fluxgen Exp $ +// $Id: bsetroot.cc,v 1.13 2002/11/30 21:07:51 fluxgen Exp $ #include "bsetroot.hh" #include "../src/i18n.hh" -#include "../src/Image.hh" +#include "../src/ImageControl.hh" #ifdef HAVE_CONFIG_H -# include "../config.h" +#include "config.h" #endif // HAVE_CONFIG_H #include @@ -49,7 +49,7 @@ bsetroot::bsetroot(int argc, char **argv, char *dpy_name) img_ctrl = new BImageControl*[getNumberOfScreens()]; for (; i < getNumberOfScreens(); i++) { - img_ctrl[i] = new BImageControl(getScreenInfo(i), true); + img_ctrl[i] = new BImageControl(i, true); } for (i = 1; i < argc; i++) {