summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-12-01 19:41:40 (GMT)
committerfluxgen <fluxgen>2002-12-01 19:41:40 (GMT)
commit0bab849b7e4db17c106c173684b145083dc7f53d (patch)
treeb61650c082c92a0a9e9dc130bf7957c663c1108e
parent16cdbdeb9c93bcb3233b00fb24aa6f2a21f74bcc (diff)
downloadfluxbox_lack-0bab849b7e4db17c106c173684b145083dc7f53d.zip
fluxbox_lack-0bab849b7e4db17c106c173684b145083dc7f53d.tar.bz2
fixed iostream include
-rw-r--r--src/TextureRender.cc16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/TextureRender.cc b/src/TextureRender.cc
index 4a3b91e..2ce5c03 100644
--- a/src/TextureRender.cc
+++ b/src/TextureRender.cc
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: TextureRender.cc,v 1.3 2002/12/01 13:42:00 rathnor Exp $ 25// $Id: TextureRender.cc,v 1.4 2002/12/01 19:41:40 fluxgen Exp $
26 26
27#include "TextureRender.hh" 27#include "TextureRender.hh"
28 28
@@ -30,7 +30,11 @@
30#include "i18n.hh" 30#include "i18n.hh"
31#include "App.hh" 31#include "App.hh"
32 32
33TextureRender::TextureRender(BImageControl &imgctrl, unsigned int w, unsigned int h, 33#include <iostream>
34using namespace std;
35
36TextureRender::TextureRender(BImageControl &imgctrl,
37 unsigned int w, unsigned int h,
34 XColor *_colors, size_t num_colors): 38 XColor *_colors, size_t num_colors):
35 control(imgctrl), 39 control(imgctrl),
36 colors(_colors), 40 colors(_colors),
@@ -82,10 +86,10 @@ Pixmap TextureRender::renderSolid(const FbTk::Texture &texture) {
82 RootWindow(disp, control.screenNum()), width, 86 RootWindow(disp, control.screenNum()), width,
83 height, control.depth()); 87 height, control.depth());
84 if (pixmap == None) { 88 if (pixmap == None) {
85 fprintf(stderr, 89 cerr<<I18n::instance()->
86 I18n::instance()->getMessage( 90 getMessage(
87 FBNLS::ImageSet, FBNLS::ImageErrorCreatingSolidPixmap, 91 FBNLS::ImageSet, FBNLS::ImageErrorCreatingSolidPixmap,
88 "BImage::render_solid: error creating pixmap\n")); 92 "BImage::render_solid: error creating pixmap")<<endl;
89 return None; 93 return None;
90 } 94 }
91 95