Files
plezy/windows/runner/mpv/utils.h
T

19 lines
402 B
C++
Raw Normal View History

2025-12-01 15:30:28 +01:00
#ifndef MPV_UTILS_H_
#define MPV_UTILS_H_
#include <Windows.h>
#include <dwmapi.h>
#include <cstdint>
namespace mpv {
// Sets window composition attribute for transparency.
// accent_state = 6 enables per-pixel transparency.
// accent_state = 0 makes window opaque.
2026-05-01 05:47:13 +02:00
void SetWindowComposition(HWND window, int32_t accent_state, int32_t gradient_color);
2025-12-01 15:30:28 +01:00
} // namespace mpv
#endif // MPV_UTILS_H_