From b2cd18b3d9071cce2d09f4f994b91070a84226f5 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Fri, 10 Jan 2003 01:02:02 +0000 Subject: removed i18n --- src/FbTk/TextureRender.cc | 33 ++++++--------------------------- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/src/FbTk/TextureRender.cc b/src/FbTk/TextureRender.cc index fc7d76d..1ad1b16 100644 --- a/src/FbTk/TextureRender.cc +++ b/src/FbTk/TextureRender.cc @@ -22,12 +22,11 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: TextureRender.cc,v 1.1 2003/01/09 21:09:49 fluxgen Exp $ +// $Id: TextureRender.cc,v 1.2 2003/01/10 01:02:02 fluxgen Exp $ #include "TextureRender.hh" #include "ImageControl.hh" -#include "i18n.hh" #include "App.hh" #include @@ -118,10 +117,7 @@ Pixmap TextureRender::renderSolid(const FbTk::Texture &texture) { RootWindow(disp, control.screenNum()), width, height, control.depth()); if (pixmap == None) { - cerr< - getMessage( - FBNLS::ImageSet, FBNLS::ImageErrorCreatingSolidPixmap, - "BImage::render_solid: error creating pixmap")<display(); XImage *image = XCreateImage(disp, @@ -271,11 +266,7 @@ XImage *TextureRender::renderXImage() { width, height, 32, 0); if (! image) { - fprintf(stderr, - i18n-> - getMessage( - FBNLS::ImageSet, FBNLS::ImageErrorCreatingXImage, - "BImage::renderXImage: error creating XImage\n")); + cerr<<"FbTk::TextureRender::renderXImage(): error creating XImage"< - getMessage( - FBNLS::ImageSet, FBNLS::ImageUnsupVisual, - "BImage::renderXImage: unsupported visual\n")); + cerr<<"TextureRender::renderXImage(): unsupported visual"< - getMessage( - FBNLS::ImageSet, FBNLS::ImageUnsupVisual, - "BImage::renderXImage: unsupported visual\n")); + cerr<<"TextureRender::renderXImage(): unsupported visual"<display(); - I18n *i18n = I18n::instance(); Pixmap pixmap = XCreatePixmap(disp, RootWindow(disp, control.screenNum()), width, height, control.depth()); if (pixmap == None) { - fprintf(stderr, - i18n->getMessage( - FBNLS::ImageSet, FBNLS::ImageErrorCreatingPixmap, - "BImage::renderPixmap: error creating pixmap\n")); + cerr<<"TextureRender::renderPixmap(): error creating pixmap"<