aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/HextileDecoder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/HextileDecoder.cxx')
-rw-r--r--common/rfb/HextileDecoder.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/rfb/HextileDecoder.cxx b/common/rfb/HextileDecoder.cxx
index 35ec7928..0adffd54 100644
--- a/common/rfb/HextileDecoder.cxx
+++ b/common/rfb/HextileDecoder.cxx
@@ -41,10 +41,10 @@ HextileDecoder::~HextileDecoder()
{
}
-bool HextileDecoder::readRect(const Rect& r, rdr::InStream* is,
+bool HextileDecoder::readRect(const core::Rect& r, rdr::InStream* is,
const ServerParams& server, rdr::OutStream* os)
{
- Rect t;
+ core::Rect t;
size_t bytesPerPixel;
is->setRestorePoint();
@@ -113,7 +113,7 @@ bool HextileDecoder::readRect(const Rect& r, rdr::InStream* is,
return true;
}
-void HextileDecoder::decodeRect(const Rect& r, const uint8_t* buffer,
+void HextileDecoder::decodeRect(const core::Rect& r, const uint8_t* buffer,
size_t buflen, const ServerParams& server,
ModifiablePixelBuffer* pb)
{
@@ -138,11 +138,11 @@ inline T HextileDecoder::readPixel(rdr::InStream* is)
}
template<class T>
-void HextileDecoder::hextileDecode(const Rect& r, rdr::InStream* is,
+void HextileDecoder::hextileDecode(const core::Rect& r, rdr::InStream* is,
const PixelFormat& pf,
ModifiablePixelBuffer* pb)
{
- Rect t;
+ core::Rect t;
T bg = 0;
T fg = 0;
T buf[16 * 16];