mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-05-13 18:40:37 +00:00
29 lines
656 B
C++
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_
|