diff options
| author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-11-04 08:59:15 +0000 |
|---|---|---|
| committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-11-04 08:59:15 +0000 |
| commit | c77821d0b4b3ae09e47ce6d6ca9d6b21dbb56d30 (patch) | |
| tree | 4063ea096104679033e757b724b22da17534da21 /plugins/MirandaG15/LCDFramework/src/CLCDBitmap.cpp | |
| parent | 9d51dbf389539696b5d5e3417683c1709d957b6b (diff) | |
LCDFramework project removed, integrated to MirandaG15 project
git-svn-id: http://svn.miranda-ng.org/main/trunk@6767 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirandaG15/LCDFramework/src/CLCDBitmap.cpp')
| -rw-r--r-- | plugins/MirandaG15/LCDFramework/src/CLCDBitmap.cpp | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/plugins/MirandaG15/LCDFramework/src/CLCDBitmap.cpp b/plugins/MirandaG15/LCDFramework/src/CLCDBitmap.cpp deleted file mode 100644 index 5ce448769d..0000000000 --- a/plugins/MirandaG15/LCDFramework/src/CLCDBitmap.cpp +++ /dev/null @@ -1,48 +0,0 @@ -#include "stdafx.h"
-#include "CLCDBitmap.h"
-
-CLCDBitmap::CLCDBitmap()
-{
- m_hBitmap = NULL;
-}
-
-CLCDBitmap::~CLCDBitmap()
-{
-}
-
-bool CLCDBitmap::Initialize()
-{
- return true;
-}
-
-bool CLCDBitmap::Shutdown()
-{
- return true;
-}
-
-bool CLCDBitmap::Update()
-{
- return true;
-}
-
-bool CLCDBitmap::Draw(CLCDGfx *pGfx)
-{
- if(m_hBitmap)
- {
- HDC hCompatibleDC = CreateCompatibleDC(pGfx->GetHDC());
- HBITMAP hOldBitmap = (HBITMAP)SelectObject(hCompatibleDC, m_hBitmap);
-
- BitBlt(pGfx->GetHDC(), 0, 0, GetWidth(), GetHeight(), hCompatibleDC, 0, 0, SRCCOPY);
-
- // restores
- SelectObject(hCompatibleDC, hOldBitmap);
- DeleteDC(hCompatibleDC);
- }
- return true;
-}
-
-void CLCDBitmap::SetBitmap(HBITMAP hBitmap)
-{
- ASSERT(NULL != hBitmap);
- m_hBitmap = hBitmap;
-}
\ No newline at end of file |
