all repos — fluxbox @ c5c5f7dca28c0f7f6da297f6aa2675d02ad123ae

custom fork of the fluxbox windowmanager

ImageControl moved to FbTk
fluxgen fluxgen
commit

c5c5f7dca28c0f7f6da297f6aa2675d02ad123ae

parent

12f1b0ed3d52e5bb21c614fd42083ee79709371a

2 files changed, 11 insertions(+), 7 deletions(-)

jump to
M util/bsetroot.ccutil/bsetroot.cc

@@ -18,12 +18,12 @@ // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER

// 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.14 2002/12/09 23:41:54 fluxgen Exp $ +// $Id: bsetroot.cc,v 1.15 2003/02/17 13:33:36 fluxgen Exp $ #include "bsetroot.hh" #include "../src/i18n.hh" -#include "../src/ImageControl.hh" +#include "../src/FbTk/ImageControl.hh" #ifdef HAVE_CONFIG_H #include "config.h"

@@ -47,9 +47,9 @@

bool mod = false, sol = false, grd = false; int mod_x = 0, mod_y = 0, i = 0; - img_ctrl = new BImageControl*[getNumberOfScreens()]; + img_ctrl = new FbTk::ImageControl*[getNumberOfScreens()]; for (; i < getNumberOfScreens(); i++) { - img_ctrl[i] = new BImageControl(i, true); + img_ctrl[i] = new FbTk::ImageControl(i, true); } for (i = 1; i < argc; i++) {
M util/bsetroot.hhutil/bsetroot.hh

@@ -18,14 +18,18 @@ // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER

// 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.hh,v 1.4 2002/08/18 09:47:03 fluxgen Exp $ +// $Id: bsetroot.hh,v 1.5 2003/02/17 13:33:07 fluxgen Exp $ #ifndef BSETROOT_HH #define BSETROOT_HH #include "../src/BaseDisplay.hh" -class BImageControl; +namespace FbTk { + +class ImageControl; + +}; class bsetroot : public BaseDisplay { public:

@@ -44,7 +48,7 @@ protected:

void handleEvent(XEvent *xe) { } private: - BImageControl **img_ctrl; + FbTk::ImageControl **img_ctrl; Pixmap *pixmaps; char *fore, *back, *grad;