diff options
Diffstat (limited to 'client/gui')
-rw-r--r-- | client/gui/gui.cpp | 4 | ||||
-rw-r--r-- | client/gui/gui.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/client/gui/gui.cpp b/client/gui/gui.cpp index 3e0f257b..9152ff1f 100644 --- a/client/gui/gui.cpp +++ b/client/gui/gui.cpp @@ -7,7 +7,7 @@ #include "screen.h" #include "utils.h" #include "debug.h" -#include "red_pixmap_cairo.h" +#include "red_pixmap_sw.h" #include "resource_provider.h" #include "CEGUISystem.h" @@ -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, RedDrawable::RGB32, true, 0)) + , _pixmap (new RedPixmapSw(MAIN_GUI_WIDTH, MAIN_GUI_HEIGHT, RedDrawable::RGB32, true, 0)) , _renderer (new CEGUI::SoftRenderer(_pixmap->get_data(), MAIN_GUI_WIDTH, MAIN_GUI_HEIGHT, _pixmap->get_stride())) , _gui_system (new CEGUI::System(_renderer, new CEGUIResourceProvider())) diff --git a/client/gui/gui.h b/client/gui/gui.h index fd7e56ab..df41efe6 100644 --- a/client/gui/gui.h +++ b/client/gui/gui.h @@ -6,7 +6,7 @@ #include "inputs_handler.h" #include "application.h" -class RedPixmapCairo; +class RedPixmapSw; class GUI : public ScreenLayer, public KeyHandler { public: @@ -86,7 +86,7 @@ private: private: Application& _app; Application::State _state; - RedPixmapCairo* _pixmap; + RedPixmapSw* _pixmap; CEGUI::SoftRenderer* _renderer; CEGUI::System* _gui_system; Dialog* _dialog; |