diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-05-03 12:08:00 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-05-03 12:38:02 +0200 |
commit | ae40f270cfbe4629c041074e2b0c28dfd3f554b8 (patch) | |
tree | 5bfcd3f0e129f3c098eb26334b71af54762356d2 /client/cursor_channel.cpp | |
parent | 295c8ed8bc508d69c88ec83b82afc4573500ff12 (diff) | |
download | spice-ae40f270cfbe4629c041074e2b0c28dfd3f554b8.tar.gz spice-ae40f270cfbe4629c041074e2b0c28dfd3f554b8.tar.xz spice-ae40f270cfbe4629c041074e2b0c28dfd3f554b8.zip |
Remove all mentions of "cairo" from the code
The command line option is renamed from "cairo" to "sw", and
similarly all filenames and types from Cairo to Sw (and similar).
Diffstat (limited to 'client/cursor_channel.cpp')
-rw-r--r-- | client/cursor_channel.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/client/cursor_channel.cpp b/client/cursor_channel.cpp index db020a06..402d69fd 100644 --- a/client/cursor_channel.cpp +++ b/client/cursor_channel.cpp @@ -24,7 +24,7 @@ #include "debug.h" #include "utils.h" #include "screen.h" -#include "red_pixmap_cairo.h" +#include "red_pixmap_sw.h" #include "rect.h" static inline uint8_t revers_bits(uint8_t byte) @@ -111,8 +111,8 @@ void UnsupportedCursor::draw(RedDrawable& dest, int x, int y, const SpiceRect& a } AlphaCursor::AlphaCursor(const SpiceCursorHeader& header, const uint8_t* data) - : _pixmap (new RedPixmapCairo(header.width, header.height, - RedDrawable::ARGB32, true, NULL)) + : _pixmap (new RedPixmapSw(header.width, header.height, + RedDrawable::ARGB32, true, NULL)) { int stride = _pixmap->get_stride(); uint8_t* dest = _pixmap->get_data(); @@ -131,8 +131,8 @@ MonoCursor::MonoCursor(const SpiceCursorHeader& header, const uint8_t* data) : _pixmap (NULL) , _height (header.height) { - _pixmap.reset(new RedPixmapCairo(header.width, _height * 2, RedDrawable::A1, - true, NULL)); + _pixmap.reset(new RedPixmapSw(header.width, _height * 2, RedDrawable::A1, + true, NULL)); int dest_stride = _pixmap->get_stride(); uint8_t *dest_line = _pixmap->get_data(); @@ -175,12 +175,12 @@ private: }; ColorCursor::ColorCursor(const SpiceCursorHeader& header) - : _pixmap (new RedPixmapCairo(header.width, header.height, - RedDrawable::ARGB32, true, NULL)) + : _pixmap (new RedPixmapSw(header.width, header.height, + RedDrawable::ARGB32, true, NULL)) , _invers (NULL) { - _invers.reset(new RedPixmapCairo(header.width, header.height, RedDrawable::A1, - true, NULL)); + _invers.reset(new RedPixmapSw(header.width, header.height, RedDrawable::A1, + true, NULL)); } void ColorCursor::init_pixels(const SpiceCursorHeader& header, const uint8_t* pixels, |