all repos — fluxbox @ 0bab849b7e4db17c106c173684b145083dc7f53d

custom fork of the fluxbox windowmanager

fixed iostream include
fluxgen fluxgen
commit

0bab849b7e4db17c106c173684b145083dc7f53d

parent

16cdbdeb9c93bcb3233b00fb24aa6f2a21f74bcc

1 files changed, 10 insertions(+), 6 deletions(-)

jump to
M src/TextureRender.ccsrc/TextureRender.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: TextureRender.cc,v 1.3 2002/12/01 13:42:00 rathnor Exp $ +// $Id: TextureRender.cc,v 1.4 2002/12/01 19:41:40 fluxgen Exp $ #include "TextureRender.hh"

@@ -30,7 +30,11 @@ #include "ImageControl.hh"

#include "i18n.hh" #include "App.hh" -TextureRender::TextureRender(BImageControl &imgctrl, unsigned int w, unsigned int h, +#include <iostream> +using namespace std; + +TextureRender::TextureRender(BImageControl &imgctrl, + unsigned int w, unsigned int h, XColor *_colors, size_t num_colors): control(imgctrl), colors(_colors),

@@ -82,10 +86,10 @@ Pixmap pixmap = XCreatePixmap(disp,

RootWindow(disp, control.screenNum()), width, height, control.depth()); if (pixmap == None) { - fprintf(stderr, - I18n::instance()->getMessage( - FBNLS::ImageSet, FBNLS::ImageErrorCreatingSolidPixmap, - "BImage::render_solid: error creating pixmap\n")); + cerr<<I18n::instance()-> + getMessage( + FBNLS::ImageSet, FBNLS::ImageErrorCreatingSolidPixmap, + "BImage::render_solid: error creating pixmap")<<endl; return None; }