using imagecontrol
fluxgen fluxgen
5 files changed,
11 insertions(+),
8 deletions(-)
M
src/IconBar.cc
→
src/IconBar.cc
@@ -19,12 +19,13 @@ // 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 // 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>
M
src/Screen.cc
→
src/Screen.cc
@@ -22,14 +22,14 @@ // 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 // 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 @@
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;
M
src/fluxbox.cc
→
src/fluxbox.cc
@@ -22,7 +22,7 @@ // 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 // 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 "StringUtil.hh"
#include "Resource.hh" #include "XrmDatabaseHelper.hh" #include "AtomHandler.hh" - +#include "ImageControl.hh" //Use GNU extensions #ifndef _GNU_SOURCE