From 8fc193eea2ef97a57901717ae418e6d8f98703ca Mon Sep 17 00:00:00 2001 From: Joseph Date: Tue, 16 Aug 2022 00:21:27 +0100 Subject: [PATCH] Add 1440p & 4K resolutions to Gui Editor Add 2560x1440 (QHD) and 3840x2160 (4K UHD) to the Gui Editor list --- .../tools/guiEditor/scripts/guiEditor.ed.tscript | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Templates/BaseGame/game/tools/guiEditor/scripts/guiEditor.ed.tscript b/Templates/BaseGame/game/tools/guiEditor/scripts/guiEditor.ed.tscript index b124b99f3..0367ae1fd 100644 --- a/Templates/BaseGame/game/tools/guiEditor/scripts/guiEditor.ed.tscript +++ b/Templates/BaseGame/game/tools/guiEditor/scripts/guiEditor.ed.tscript @@ -777,11 +777,13 @@ function GuiEditorResList::init( %this ) // Widescreen formats. %this.add( "1280x720 (WXGA, 16:9)", 720 ); - %this.add( "1600x900 (16:9)", 900 ); - %this.add( "1920x1080 (16:9)", 1080 ); + %this.add( "1600x900 (HD+, 16:9)", 900 ); + %this.add( "1920x1080 (FHD, 16:9)", 1080 ); + %this.add( "2560x1440 (QHD, 16:9)", 1440 ); + %this.add( "3840x2160 (4K UHD, 16:9)", 2160 ); %this.add( "1440x900 (WXGA+, 16:10)", 900 ); %this.add( "1680x1050 (WSXGA+, 16:10)", 1050 ); - %this.add( "1920x1200 (WUXGA, 16:10)", 1200 ); + %this.add( "1920x1200 (WUXGA, 16:10)", 1200 ); } //--------------------------------------------------------------------------------------------- @@ -865,6 +867,12 @@ function GuiEditorResList::onSelect( %this, %id ) case 1200: GuiEditor.setPreviewResolution( 1920, 1200 ); + + case 1440: + GuiEditor.setPreviewResolution( 2560, 1440 ); + + case 2160: + GuiEditor.setPreviewResolution( 3840, 2160 ); } }