summaryrefslogtreecommitdiffstats
path: root/client/gui
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-04-21 12:03:06 +0200
committerAlexander Larsson <alexl@redhat.com>2010-04-23 16:36:35 +0200
commit2d6fbde89b08b7dd4a2050c71fe6663ea8e9c2d9 (patch)
tree7a21036fa2fe975dac3462a075ee968eb3ec267f /client/gui
parent98d91203c5d2f6f7249f38941466857b6a566f5d (diff)
downloadspice-2d6fbde89b08b7dd4a2050c71fe6663ea8e9c2d9.tar.gz
spice-2d6fbde89b08b7dd4a2050c71fe6663ea8e9c2d9.tar.xz
spice-2d6fbde89b08b7dd4a2050c71fe6663ea8e9c2d9.zip
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.
Diffstat (limited to 'client/gui')
-rw-r--r--client/gui/gui.cpp2
1 files changed, 1 insertions, 1 deletions
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()))