From c50299dcf4ee0380cf1fdd6fc39ae0f9e9f95e4d Mon Sep 17 00:00:00 2001 From: suchmememanyskill <38142618+suchmememanyskill@users.noreply.github.com> Date: Thu, 13 Jun 2024 22:43:10 +0200 Subject: [PATCH] Remote: Implement multiple base games --- LauncherGamePlugin/Forms/Form.cs | 40 +++++++++++------------ RemoteDownloaderPlugin/Game/OnlineGame.cs | 25 ++++++++++++++ SteamGridDbMiddleware/Gui/OnImageEdit.cs | 2 +- 3 files changed, 46 insertions(+), 21 deletions(-) diff --git a/LauncherGamePlugin/Forms/Form.cs b/LauncherGamePlugin/Forms/Form.cs index 5e0b02e..f090eb2 100644 --- a/LauncherGamePlugin/Forms/Form.cs +++ b/LauncherGamePlugin/Forms/Form.cs @@ -66,31 +66,31 @@ public static Form CreateDismissibleTextPrompt(string text, IApp app) }); } - public static FormEntry TextInput(string label, string value = "") - => new TextInputElement(label, value); + public static TextInputElement TextInput(string label, string value = "") + => new(label, value); public static TextBoxElement TextBox(string text, FormAlignment alignment = FormAlignment.Default, string fontWeight = "") => new(text, fontWeight, alignment: alignment); - public static FormEntry ClickableLinkBox(string text, Action