mirror of
https://github.com/dolphin-emu/dolphin
synced 2024-11-24 14:24:11 -05:00
34 lines
638 B
C++
34 lines
638 B
C++
// Copyright 2023 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#ifdef USE_RETRO_ACHIEVEMENTS
|
|
#include <QWidget>
|
|
|
|
#include "Core/AchievementManager.h"
|
|
|
|
class QGroupBox;
|
|
class QLabel;
|
|
class QProgressBar;
|
|
|
|
class AchievementHeaderWidget final : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit AchievementHeaderWidget(QWidget* parent);
|
|
void UpdateData();
|
|
|
|
private:
|
|
QLabel* m_user_icon;
|
|
QLabel* m_game_icon;
|
|
QLabel* m_name;
|
|
QLabel* m_points;
|
|
QProgressBar* m_game_progress;
|
|
QLabel* m_progress_label;
|
|
QLabel* m_rich_presence;
|
|
QGroupBox* m_header_box;
|
|
};
|
|
|
|
#endif // USE_RETRO_ACHIEVEMENTS
|