-
-
Notifications
You must be signed in to change notification settings - Fork 408
Add Screen Scaling Type to graphics settings dialog and Interface Type to the game settings dialog #9971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add Screen Scaling Type to graphics settings dialog and Interface Type to the game settings dialog #9971
Conversation
…e game settings dialog
@Districh-ru, nice job adding all of these. I was thinking if we should have the scaling filters and mouse rendering under the graphics settings? Consider that we're probably soon-ish going to add the numeric army estimate option too, then we could add that to the main options page? I'm talking about this one: EDIT: I guess it would also make sense to have the cursor rendering option under a sub menu for cursor settings, in which we would include the color/b&w setting. |
@ihhub and @zenseii, we can add a UI option for "numeric army estimate" in this PR after #9678 is merged. @zenseii We can move the made options to the other dialog. It is not difficult. :) Making an extra dialog for two options sounds not good to me: a user has to make more clicks to get to the option ... but I'll give it a chance. :) And IMHO we can make not all lines with 3 options, what do you think about the next approach: PS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looked over the strings and didn't find much. I'll test on Vita and report back soon.
@Districh-ru, I agree about your sentiments about 2 options for cursor so we can drop that idea. My main concern is that the cursor rendering setting is so technical that having it on the main page of settings will confuse users, which means it might be better on the graphics page. Ideally we would not need an option for it but apply this whenever an integer or larger than 640x480 resolution is selected (?). But this is a much bigger discussion and not necessary here. I think it looks good to have the grid you showed: |
Hi @Districh-ru please note that on devices with touchpad/touchscreen software-rendered mouse cursor is mandatory, because automatic conversion of mouse events to touch events and vice versa is disabled because we need to reliably distinguish between them. Please see the |
Co-authored-by: Zenseii <[email protected]>
… to force nearest scaling of the game image
Thanks for the warning, @oleg-derevenetz! But as I can see the cursor "software emulation" stays only for how to render it on the screen:
The events processing in |
Please note the |
You are absolutely right. I guess for now we need to disable this option for systems with touchscreen by making it gray or simply not showing it. Later we can think about if we can use |
I strongly doubt that |
Agree. If there is no cursor then there is nothing to move and the only way is to use software cursor. I'll add the corresponding comments about why we must use hardware cursor for touchscreen devices. I did a test for Android and it acts the same as Windows - the system (hardware) cursor is visible only if mouse if plugged. |
Hi @Districh-ru what do you think about making the software cursor the only option (or perhaps a default with config file-only configuration)? Pros of the software cursor:
Cons of the software cursor:
|
Hi @oleg-derevenetz, I prefer to keep as it is now - "software" default with config file-only configuration. But I'm also OK with leaving only software cursor. We can discuss it separately with the team and active players and remove the hardware cursor ability from the engine in a new PR if we decide to do this. |
Hello @ihhub, @oleg-derevenetz and @zenseii! |
Enjoy your vacation, @Districh-ru ! |
Have a nice vacation! |
Thanks guys! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically this PR looks okay to me, I'm also fine with proposed GUI solutions (although I suspect they may cause a debate).
Thanks to @PusshPop for the Linear/Nearest scaling icon!
This PR adds new settings:
The parameter names, description texts and place in the dialog can be discussed.
The new Screen Scaling Type option must be tested on all supported platforms.