From 23077d0291426037b6b120cf765664b4487c9330 Mon Sep 17 00:00:00 2001 From: Leifa <26681464+TrickyLeifa@users.noreply.github.com> Date: Sat, 13 Jul 2024 15:31:51 +0200 Subject: Resize mode patch (#1019) * Fix transformation mode for layers Resolve #997 * always use smooth transform resampling for stretched images * Used fixed frame size * Implemented resize mode changes Resolve #999 * Added alias to pixel resize mode * Added user option --------- Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com> --- data/ui/options_dialog.ui | 503 ++++++++++++++++++++++++---------------------- 1 file changed, 261 insertions(+), 242 deletions(-) (limited to 'data') diff --git a/data/ui/options_dialog.ui b/data/ui/options_dialog.ui index bcdb7a44..882092ea 100644 --- a/data/ui/options_dialog.ui +++ b/data/ui/options_dialog.ui @@ -39,93 +39,122 @@ 0 - -555 + -385 394 - 872 + 878 - - + + + + Sets the theme used in-game. If the new theme changes the lobby's look as well, you'll need to reload the Lobby for the changes to take effect, such as by joining a server and leaving it. + - + Theme: - - + + + + + - Stop music when double-clicking a category. If this is disabled, use the right-click context menu to stop music. + Sets a 'subtheme', which will stack on top of the current theme and replace anything it can. Keep it at 'server' to let the server decide. Keep it at 'default' to keep it unchanging. - Stop Music w/ Category: + Subtheme: - - + + + + + + + Refresh the theme and update all of the ui elements to match. + - + Reload Theme - - - - - + + - Sets the default scaling method, if there is not one already defined specifically for the character. + Open the theme folder of the currently selected theme. - Scaling: + Open Theme Folder - - + + - Turn this on to allow characters to define their own custom chat box designs. + <html><head/><body><p>The factor by which to scale the size of the UI</p></body></html> - Custom Chatboxes: + UI Scaling Factor - - + + + + 1 + + + 8 + + + + + - Allows screen effects. Disable this if you have concerns or issues with photosensitivity and/or seizures. + If ticked, themes will be allowed to have animated elements. - Allow Effects: + Animated Theme: - - + + - - - - Open the theme folder of the currently selected theme. + + + + QFrame::HLine - - Open Theme Folder + + QFrame::Sunken - - + + - Overrides the base URL to retrieve server information from. + Minimum amount of time (in miliseconds) an IC message must stay on screen before the next IC message is shown, acting as a 'queue'. Set to 0 to disable this behavior. - Alternate Server List: + Text Stay Time: + + + + + + + ms + + + 10000 @@ -136,39 +165,30 @@ - - - - ms - - - 500 + + + + - - + + - Sets the theme used in-game. If the new theme changes the lobby's look as well, you'll need to reload the Lobby for the changes to take effect, such as by joining a server and leaving it. + Amount of time (in miliseconds) spent on each letter when the in-character text is being displayed. - Theme: + Text crawl: - - - - - - - - - - Send screen-shaking, flashes and sounds as defined in the char.ini over the network. Only works for servers that support this functionality. + + + + ms - - Network Frame Effects: + + 500 @@ -192,41 +212,45 @@ - - - - If ticked, themes will be allowed to have animated elements. + + + + QFrame::HLine - - Animated Theme: + + QFrame::Sunken - - + + - Amount of time (in miliseconds) spent on each letter when the in-character text is being displayed. + Your OOC name will be automatically set to this value when you join a server. - Text crawl: + Default username: - - + + + + 30 + + + + + - Refresh the theme and update all of the ui elements to match. + Gives the default value for the in-game 'Custom shownames' tickbox, which in turn determines whether the client should display custom in-character names. - Reload Theme + Custom shownames: - - - - - + + @@ -242,111 +266,103 @@ - - - - + + + + + + + QFrame::HLine + + + QFrame::Sunken - - - - - + + - Turn this on to allow characters to define their own stickers (unique images that show up over the chatbox - like avatars or shownames). + Overrides the base URL to retrieve server information from. - Stickers: + Alternate Server List: - - + + + + + - Turn this on to prevent preanimation checkbox from clearing after playing the emote. + Allows others on Discord to see what server you are in, what character are you playing, and how long you have been playing for. - Sticky Preanims: + Discord: - - - - ms - - - 10000 + + + + - - + + - Gives the default value for the in-game 'Custom shownames' tickbox, which in turn determines whether the client should display custom in-character names. + Sets the language if you don't want to use your system language. - Custom shownames: + Language: - - + + + + + - Turn this on to prevent the effects dropdown from clearing the effect after playing it. + Allows screenshaking. Disable this if you have concerns or issues with photosensitivity and/or seizures. - Sticky Effects: + Allow Screenshake: - - + + - - - - Minimum amount of time (in miliseconds) an IC message must stay on screen before the next IC message is shown, acting as a 'queue'. Set to 0 to disable this behavior. - - - Text Stay Time: - - - - - + + - Sets the language if you don't want to use your system language. + Allows screen effects. Disable this if you have concerns or issues with photosensitivity and/or seizures. - Language: + Allow Effects: - - + + - - - - + + + + Send screen-shaking, flashes and sounds as defined in the char.ini over the network. Only works for servers that support this functionality. - - - - - + Network Frame Effects: @@ -357,13 +373,20 @@ - - + + - If the SFX dropdown has an SFX selected, send the custom SFX alongside the message even if Preanim is OFF. + Use the markup colors in the server IC chatlog. - Always Send SFX: + Colors in IC Log: + + + + + + + @@ -377,182 +400,146 @@ - - + + - - - - Your OOC name will be automatically set to this value when you join a server. - - - Default username: - - - - - + + - Allows screenshaking. Disable this if you have concerns or issues with photosensitivity and/or seizures. + Turn this on to prevent the effects dropdown from clearing the effect after playing it. - Allow Screenshake: + Sticky Effects: - - + + - - + + - Allows others on Discord to see what server you are in, what character are you playing, and how long you have been playing for. + Turn this on to prevent preanimation checkbox from clearing after playing the emote. - Discord: + Sticky Preanims: - - - - Use the markup colors in the server IC chatlog. - + + - Colors in IC Log: + - - + + - Sets a 'subtheme', which will stack on top of the current theme and replace anything it can. Keep it at 'server' to let the server decide. Keep it at 'default' to keep it unchanging. + Turn this on to allow characters to define their own custom chat box designs. - Subtheme: + Custom Chatboxes: - - + + - - + + + + Turn this on to allow characters to define their own stickers (unique images that show up over the chatbox - like avatars or shownames). + - + Stickers: - - + + - - - - - - - QFrame::HLine - - - QFrame::Sunken - - - - - - - QFrame::HLine + + + + Whether or not to resume playing animations from where they left off. Turning off might reduce lag. - - QFrame::Sunken + + Continuous Playback: - - + + - - + + - If ticked, Evidence needs a double-click to view rather than a single click. + Stop music when double-clicking a category. If this is disabled, use the right-click context menu to stop music. - Evidence Double Click: - - - - - - - QFrame::HLine - - - QFrame::Sunken + Stop Music w/ Category: - - + + - - + + - Whether or not to resume playing animations from where they left off. Turning off might reduce lag. + If the SFX dropdown has an SFX selected, send the custom SFX alongside the message even if Preanim is OFF. - Continuous Playback: + Always Send SFX: - - - - 30 + + + + - - - - 1 + + + + If ticked, Evidence needs a double-click to view rather than a single click. - - 8 + + Evidence Double Click: - - - - <html><head/><body><p>The factor by which to scale the size of the UI</p></body></html> - + + - UI Scaling Factor + @@ -573,14 +560,14 @@ - + - + If ticked, some windows restore their last known position where they were closed. @@ -590,6 +577,38 @@ + + + + <html><head/><body><p>The scaling algorithm to be used when upscaling or downscaling images.</p><p>Automatic: The image will be scaled based on the image's predetermined scaling algorithm.<br/>Pixelated: The image will be scaled using a nearest neighbor algorithm.<br/>Smooth: The image will be scaled using a bilinear algorithm.</p></body></html> + + + Image Scaling + + + + + + + <html><head/><body><p>The scaling algorithm to be used when upscaling or downscaling images.</p><p>Automatic: The image will be scaled based on the image's predetermined scaling algorithm.<br/>Pixelated: The image will be scaled using a nearest neighbor algorithm.<br/>Smooth: The image will be scaled using a bilinear algorithm.</p></body></html> + + + + Automatic + + + + + Pixelated + + + + + Smooth + + + + @@ -944,7 +963,7 @@ Use this when you have added an asset that takes precedence over another existin - If ticked, new messages will appear separated, with the message coming on the next line after the name. + If ticked, new messages will appear separated, with the message coming on the next line after the name. When unticked, it displays it as 'name: message'. @@ -962,7 +981,7 @@ When unticked, it displays it as 'name: message'. - The distance in pixels between each entry in the IC log. + The distance in pixels between each entry in the IC log. Default: 0. -- cgit