summaryrefslogtreecommitdiff
path: root/plugins/modernb/hdr/modern_layered_window_engine.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-05-18 22:10:43 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-05-18 22:10:43 +0000
commit725f68b6808a8a30778f58223fac75386f082785 (patch)
treeccba410760749d45139e5e78fd5e08f416ade1a0 /plugins/modernb/hdr/modern_layered_window_engine.h
parentf920ef497f3299ae24fe783ce03bdd93b419f764 (diff)
plugins folders renaming
git-svn-id: http://svn.miranda-ng.org/main/trunk@61 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/modernb/hdr/modern_layered_window_engine.h')
-rw-r--r--plugins/modernb/hdr/modern_layered_window_engine.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/plugins/modernb/hdr/modern_layered_window_engine.h b/plugins/modernb/hdr/modern_layered_window_engine.h
deleted file mode 100644
index 918bfabf37..0000000000
--- a/plugins/modernb/hdr/modern_layered_window_engine.h
+++ /dev/null
@@ -1,51 +0,0 @@
-#pragma once
-#include "../m_api/m_skin_eng.h"
-
-// typedef int (/*__stdcall*/ *tPaintCallbackProc)(HWND hWnd, HDC hDC, RECT * rcPaint, HRGN rgnUpdate, DWORD dFlags, void * CallBackData);
-
-class CLayeredWindowEngine
-{
-private:
- /*class CLweInfo
- {
- HWND hWnd;
- HRGN hInvalidRgn;
- };
- */
- //typedef std::map<HWND, CLweInfo> WndInfos;
-
- enum { state_invalid, state_normal };
-
- //WndInfos m_infos;
- DWORD m_hValidatorThread;
- CRITICAL_SECTION m_cs;
- int m_state;
- volatile bool m_invalid;
-
-public:
- CLayeredWindowEngine(void);
- ~CLayeredWindowEngine(void);
-
- void _init();
- void _deinit();
-
- void lock() { EnterCriticalSection( &m_cs ); }
- void unlock() { LeaveCriticalSection( &m_cs ); }
-
- int get_state();
-
-public:
- static void __cdecl LweValidatorProc();
-
- void LweValidatorProcWorker();
-
- void LweValidatorWorker();
- int LweInvalidateRect( HWND hWnd, const RECT * rect, BOOL bErase );
- // int LweValidateWindowRect( HWND hWnd, RECT * rect );
- // int RegisterWindow( HWND hwnd, tPaintCallbackProc pPaintCallBackProc );
-
-};
-
-extern CLayeredWindowEngine _lwe;
-
-#define _InvalidateRect _lwe.LweInvalidateRect \ No newline at end of file