From 2d6fbde89b08b7dd4a2050c71fe6663ea8e9c2d9 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 21 Apr 2010 12:03:06 +0200 Subject: Move RedPixmap::Format to RedDrawable::Format We need to know the format for other drawables too (like for instance the native format of a window), so we're pushing this down. This changes a bunch of references to be RedDrawable::, but not all. The the old RedPixmap:: references still work, but will be phased out. --- client/gui/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/gui') diff --git a/client/gui/gui.cpp b/client/gui/gui.cpp index 6debdd1b..30b864d3 100644 --- a/client/gui/gui.cpp +++ b/client/gui/gui.cpp @@ -888,7 +888,7 @@ GUI::GUI(Application& app, Application::State state) : ScreenLayer (SCREEN_LAYER_GUI, false) , _app (app) , _state (state) - , _pixmap (new RedPixmapCairo(MAIN_GUI_WIDTH, MAIN_GUI_HEIGHT, RedPixmap::RGB32, true, NULL)) + , _pixmap (new RedPixmapCairo(MAIN_GUI_WIDTH, MAIN_GUI_HEIGHT, RedDrawable::RGB32, true, NULL)) , _renderer (new CEGUI::SoftRenderer(_pixmap->get_data(), MAIN_GUI_WIDTH, MAIN_GUI_HEIGHT, _pixmap->get_stride())) , _gui_system (new CEGUI::System(_renderer, new CEGUIResourceProvider())) -- cgit