DolphinQt: Add function to set a QWidget's window decorations to dark ones on Windows.

This commit is contained in:
Admiral H. Curtiss
2023-07-31 00:40:15 +02:00
parent adbe56ce15
commit e8d23af0f2
5 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,9 @@
// Copyright 2023 Dolphin Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
class QWidget;
// Changes the window decorations (title bar) to dark if the user uses dark mode on Windows.
void SetQWidgetWindowDecorations(QWidget* widget);