aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/game_list.cpp
diff options
context:
space:
mode:
authorPabloMK7 <hackyglitch2@gmail.com>2025-04-09 23:45:12 +0200
committerBriar <205427297+icy-briar@users.noreply.github.com>2025-04-10 00:18:18 +0200
commit5f0542c2bf2edb3481ca042e6ad3367b68634bf0 (patch)
treeb0808bf3b0ac7ed90ba1181d7557fdab30a59da3 /src/yuzu/game_list.cpp
parent077592903e3a4204fb81655d2af0a8a69bd7f5e8 (diff)
Pre alpha watermark
* android: Add pre-alpha warning dialog and banner * qt: android: Add pre-alpha warning banner
Diffstat (limited to 'src/yuzu/game_list.cpp')
-rw-r--r--src/yuzu/game_list.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp
index 19adef7a2b..d59e9c89e3 100644
--- a/src/yuzu/game_list.cpp
+++ b/src/yuzu/game_list.cpp
@@ -369,6 +369,25 @@ GameList::GameList(FileSys::VirtualFilesystem vfs_, FileSys::ManualContentProvid
layout->setContentsMargins(0, 0, 0, 0);
layout->setSpacing(0);
+
+ warning_layout = new QHBoxLayout;
+ pre_alpha_warning = new QLabel;
+ pre_alpha_warning->setText(
+ tr("IMPORTANT: Eden is PRE-ALPHA SOFTWARE and is not meant to be used by or get shared to the public just yet; "
+ "Bugs and unfinished features are expected to be present at this stage."));
+ pre_alpha_warning->setOpenExternalLinks(true);
+ pre_alpha_warning->setStyleSheet(
+ QString::fromStdString("color: black; font-weight: bold;"));
+
+ warning_layout->addWidget(pre_alpha_warning);
+ warning_layout->addStretch();
+ warning_layout->setContentsMargins(3, 3, 3, 3);
+ warning_widget = new QWidget;
+ warning_widget->setStyleSheet(QString::fromStdString("background-color: khaki;"));
+ warning_widget->setLayout(warning_layout);
+
+ layout->addWidget(warning_widget);
+
layout->addWidget(tree_view);
layout->addWidget(search_field);
setLayout(layout);