diff options
Diffstat (limited to 'src/ui/LCDUI/LCDAnimatedBitmap.cpp')
-rw-r--r-- | src/ui/LCDUI/LCDAnimatedBitmap.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/LCDUI/LCDAnimatedBitmap.cpp b/src/ui/LCDUI/LCDAnimatedBitmap.cpp index 497fa40dd..0f309b08d 100644 --- a/src/ui/LCDUI/LCDAnimatedBitmap.cpp +++ b/src/ui/LCDUI/LCDAnimatedBitmap.cpp @@ -5,7 +5,7 @@ // The CLCDAnimatedBitmap class draws animated bitmaps onto the LCD.
// An animated bitmap consists of a tiled bitmap representing the
// animation. The tile size is set with the SetSubpicWidth.
-//
+//
// Logitech LCD SDK
//
// Copyright 2005 Logitech Inc.
@@ -142,16 +142,16 @@ void CLCDAnimatedBitmap::OnDraw(CLCDGfx &rGfx) m_dwElapsedTime %= m_dwRate;
m_dwLastUpdate = GetTickCount();
}
-
+
// stolen from: CLCDBitmap::OnDraw(rGfx);
if(m_hBitmap)
{
HDC hCompatibleDC = CreateCompatibleDC(rGfx.GetHDC());
HBITMAP hOldBitmap = (HBITMAP)SelectObject(hCompatibleDC, m_hBitmap);
-
+
// get
BitBlt(rGfx.GetHDC(), 0, 0, m_Size.cx, m_Size.cy, hCompatibleDC, xoffs, 0, m_dwROP);
-
+
// restores
SelectObject(hCompatibleDC, hOldBitmap);
DeleteDC(hCompatibleDC);
|