mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
Extended GDI redirection to most of the GDI rendering methods. Readded handling of window messages and extended it to support scrolling. Readded manual drawing of the caret. Simplified the DC cache.
12 lines
144 B
C++
12 lines
144 B
C++
#pragma once
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
#include <Windows.h>
|
|
|
|
namespace CompatGdiDc
|
|
{
|
|
HDC getDc(HDC origDc);
|
|
void releaseDc(HDC origDc);
|
|
}
|