From 52ec1258663f6518883128c6949d7e3f40de873d Mon Sep 17 00:00:00 2001 From: Vitaly Date: Wed, 18 Sep 2024 14:42:50 +0200 Subject: [PATCH] Added a new private method to the FrmMainW class for getting the screenshot URL of the selected HUD. --- src/srcrepair/FrmMainW.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/srcrepair/FrmMainW.cs b/src/srcrepair/FrmMainW.cs index 7fc681f5..2cc0c11c 100644 --- a/src/srcrepair/FrmMainW.cs +++ b/src/srcrepair/FrmMainW.cs @@ -1700,6 +1700,15 @@ private string GetHUDDownloadURI(bool ForceMirror) return Result; } + /// + /// Gets the HUD screenshot URL. + /// + /// Returns HUD screenshot URL. + private string GetHUDScreenshotURL() + { + return App.SourceGames[AppSelector.Text].HUDMan[HD_HSel.Text].Preview; + } + /// /// Gets the local screenshot file name of the selected HUD. ///