Achievements: Use big picture for confirm hardcore disable

This commit is contained in:
Stenzek
2023-11-26 22:11:18 +10:00
parent c1d0419361
commit 72716719b3
6 changed files with 86 additions and 116 deletions

View File

@@ -1,11 +1,15 @@
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
// SPDX-FileCopyrightText: 2019-2023 Connor McLaughlin <stenzek@gmail.com>
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
#pragma once
#include "common/progress_callback.h"
#include "common/types.h"
#include <functional>
#include <memory>
#include <string>
#include <string_view>
class SmallStringBase;
@@ -37,10 +41,6 @@ void Render();
void InvalidateCoverCache();
void TimeToPrintableString(SmallStringBase* str, time_t t);
// Returns true if the message has been dismissed.
bool DrawErrorWindow(const char* message);
bool DrawConfirmWindow(const char* message, bool* result);
class ProgressCallback final : public BaseProgressCallback
{
public: