2018-06-07 23:07:58 +02:00
|
|
|
#pragma once
|
|
|
|
|
2020-12-27 17:08:44 +01:00
|
|
|
#include <ddraw.h>
|
2018-06-07 23:07:58 +02:00
|
|
|
|
2020-12-27 17:08:44 +01:00
|
|
|
#include <Common/CompatRef.h>
|
|
|
|
#include <Gdi/Region.h>
|
2018-06-07 23:07:58 +02:00
|
|
|
|
|
|
|
namespace Gdi
|
|
|
|
{
|
2020-12-27 17:08:44 +01:00
|
|
|
namespace Window
|
2018-06-07 23:07:58 +02:00
|
|
|
{
|
2020-12-27 17:08:44 +01:00
|
|
|
void onStyleChanged(HWND hwnd, WPARAM wParam);
|
|
|
|
void onSyncPaint(HWND hwnd);
|
|
|
|
void present(CompatRef<IDirectDrawSurface7> dst, CompatRef<IDirectDrawSurface7> src,
|
|
|
|
CompatRef<IDirectDrawClipper> clipper);
|
|
|
|
void present(Gdi::Region excludeRegion);
|
|
|
|
void presentLayered(CompatRef<IDirectDrawSurface7> dst, POINT offset);
|
|
|
|
void updateAll();
|
|
|
|
void updateLayeredWindowInfo(HWND hwnd, COLORREF colorKey, BYTE alpha);
|
|
|
|
}
|
2018-06-07 23:07:58 +02:00
|
|
|
}
|