1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00
2022-09-27 21:45:01 +02:00

29 lines
579 B
C++

#pragma once
#include <ddraw.h>
#include <Common/CompatWeakPtr.h>
#include <Common/CompatRef.h>
#include <Gdi/Region.h>
namespace Gdi
{
namespace Window
{
struct LayeredWindow
{
HWND hwnd;
RECT rect;
Gdi::Region region;
};
std::vector<LayeredWindow> getVisibleLayeredWindows();
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 updateAll();
}
}