mangayomi-mirror/packages/media_kit_video/windows/utils.h
kodjomoustapha 7cd4ab860c fix #206
2024-06-29 10:48:47 +01:00

29 lines
656 B
C++

// This file is a part of media_kit
// (https://github.com/media-kit/media-kit).
//
// Copyright © 2021 & onwards, Hitesh Kumar Saini <saini123hitesh@gmail.com>.
// All rights reserved.
// Use of this source code is governed by MIT license that can be found in the
// LICENSE file.
#ifndef UTILS_H_
#define UTILS_H_
#include <cstdint>
#include <Windows.h>
class Utils {
public:
static void EnterNativeFullscreen(HWND window);
static void ExitNativeFullscreen(HWND window);
private:
static constexpr auto kFlutterViewWindowClassName = L"FLUTTERVIEW";
static bool fullscreen_;
static RECT rect_before_fullscreen_;
};
#endif // UTILS_H_