HomeWildfire Games

There have been quite a bit of number of questions how to change scale of the…

Description

There have been quite a bit of number of questions how to change scale of the gui, because this option is hidden from the user.

Use dropdown with values. Implement confirmation box with countdown to revert scale change because buttons can get unable to click.

Differential revision: D3037
Comments by: @vladislavbelov, @Stan, @wraitii, @pieq, @sera
Tested by: @Langbart

Event Timeline

vladislavbelov added inline comments.Oct 17 2021, 1:12 PM
/ps/trunk/binaries/data/mods/public/gui/options/options.json
157

500ms? It's too short.

/ps/trunk/source/gui/CGUIText.cpp
442

const.

/ps/trunk/source/gui/GUIMatrix.cpp
21

Wrong order.

/ps/trunk/source/gui/ObjectTypes/CInput.cpp
1242

const.

Silier added inline comments.Oct 19 2021, 10:12 AM
/ps/trunk/binaries/data/mods/public/gui/options/options.json
157

Its actually 500 x tick

vladislavbelov raised a concern with this commit.Oct 19 2021, 4:04 PM
vladislavbelov added inline comments.
/ps/trunk/binaries/data/mods/public/gui/options/options.json
157

Its actually 500 x tick

It depends on FPS. And that's bad.

This commit now has outstanding concerns.Oct 19 2021, 4:04 PM
[20:04:32] <elexis> to whom it may concern, ./common/timer.js                                
(,,,)
[20:25:11] <elexis> for Angens concern
[20:25:21] <elexis> in the options timeout
[20:26:10] <elexis> also if one wanted to one could use the size property, which is a JS object, modify the width/height/post of that object and push that object back, this way one doesnt hardcode the 50%

hmm, yes, but thats again /mod dependent on /public
probably would need to move it to /mod
also, need a way to get remaining time

Silier requested verification of this commit.Feb 13 2022, 11:01 AM
This commit now requires verification by auditors.Feb 13 2022, 11:01 AM
vladislavbelov resigned from this commit.Apr 12 2022, 1:49 PM
This commit no longer requires audit.Apr 12 2022, 1:49 PM