Commit Graph

50 Commits

Author SHA1 Message Date
Ivaylo Draganov
79ae71a517 Rename *_RIGHT to *_WIDTH and *_BOTTOM to *_HEIGHT in integer expressions for widgets
The terms "width" and "height" are clearer and they match what the values actually represent (window or parent width/height). The YAML changes are generated with the update rule.
2024-10-07 12:59:25 +03:00
Gustas
0e438dd508 Automated fixup 2024-09-19 17:53:43 +02:00
RoosterDragon
ca6aa5ebf1 Adjust widget sizes to ensure they accommodate the English translation text.
Some existing widget are too small to accommodate their text. Adjust their sizes to fit. Text can be rendered outside the widget bounds so visually this often has no impact, but adjusting this now will help in the future for checking translation text for other languages fit in their widgets.
2024-01-21 12:34:28 +02:00
Gustas
754e7845f3 Automated translation extraction 2023-10-21 19:35:00 +02:00
Ivaylo Draganov
18e36b96db Add HPF overlay controls to observer chrome 2022-12-12 23:51:46 +01:00
Matthias Mailänder
eb897d755e Add observer vision stats. 2022-10-03 20:48:18 +02:00
Gustas
6b63114aaa Rename ScrollWidget BaseName to Background
To match button
2022-09-24 16:23:59 +02:00
Ivaylo Draganov
2d0e7040db Add separate chat panel for spectators and players
Forces the chat and performance panels to be re-initialized when a
player transitions to spectators. This ensures that spectators don't
get to see faction themed widgets.
2021-08-08 12:50:31 +01:00
Matthias Mailänder
7bc17b59f5 Add a generic video player widget. 2021-01-10 10:21:17 +01:00
Ivaylo Draganov
31a965b29a Add suffix to player name in shroud selector 2020-06-06 14:40:48 +01:00
Matthias Mailänder
346dad3898 Remove trailing spaces. 2020-05-01 19:43:36 +03:00
Paul Chote
85faa5edf6 Add visual indicator when the game is muted. 2020-02-22 14:42:11 +01:00
teinarss
b81ede2d64 Added widget showing the army for players in spec 2020-02-09 16:37:21 +01:00
Paul Chote
1282650274 Rework RA Chrome in preparation for UI scaling. 2020-01-12 18:16:41 +01:00
abcdefg30
1d90e08bd0 Guard against overlaps on HiDPI by having a 5px border on graphs 2019-10-14 01:02:23 +02:00
abcdefg30
9084295d7c Reduce the width of the combat stats tab 2019-10-14 01:02:23 +02:00
abcdefg30
3f89f74d8e Reduce the Width of INGAME_OBSERVERSTATS_BG 2019-10-14 01:02:23 +02:00
abcdefg30
ee839869fc Replace "$/min" by "Income" and increase graph update rates 2019-10-11 21:48:24 +02:00
abcdefg30
4ca42f6e83 Remove $/min from the basic stats 2019-10-11 21:48:24 +02:00
abcdefg30
912a424596 Replaced "Earned this min" by an Oil Derrick count in the economy statistics 2019-09-08 12:47:33 +02:00
teinarss
e05dc0afe3 Remove support power timers from spectator ui 2019-08-13 02:13:54 +02:00
abcdefg30
ea80a13b11 Let the utility remove stray trailing whitespaces 2019-08-11 16:40:55 +02:00
teinarss
e06c97bc03 Updated the LineGraphWidget with new layout 2019-07-21 14:23:25 +02:00
teinarss
ab382ce4d6 Removed BaseLine and updated ButtonWidget and CheckboxWidget to use Font.TopOffset 2019-06-21 12:51:45 +02:00
teinarss
c89f4b7a76 Added tooltip to support powers in spec ui 2019-05-26 19:08:24 +01:00
teinarss
9fc8b829e4 Updated the observer ui 2019-05-22 22:37:50 +01:00
Ivaylo Draganov
caead311cb Add hotkey for Army value statistics panel 2019-01-04 21:12:06 +00:00
abcdefg30
c3bfd32192 Fix PlayMovieInRadar crashing for spectators 2018-04-23 21:52:49 +02:00
rob-v
c9b4568117 Add Statistics options hotkeys 2017-09-24 15:32:02 +02:00
Paul Chote
1bd1a185f5 Unhardcode spectator combined/world view hotkeys. 2017-08-31 12:33:34 +02:00
Paul Chote
1e0148e092 Migrate ButtonWidget to NamedHotkey. 2017-08-25 21:56:52 +02:00
daVoodooShuffle
53bf52149c Closes #13153
Modified all expressions to contain a space on either side

Only effects the YAML files that contain config variables:

X:
Y:
Width:
Height:
2017-05-06 15:26:41 +10:00
Paul Chote
55f76c02d6 Disable world sounds when the ingame menu is open. 2016-12-23 11:34:23 +00:00
Paul Chote
10b5d8a06b Show replay percentage as a tooltip. 2016-10-23 13:29:06 +01:00
Oliver Brakmann
38c16e4f7a Add a shadow to text drawn in player colors 2016-09-02 20:58:46 +02:00
Matthias Mailänder
798086cd9d fix the red separator being used on black observer UI parts 2015-08-05 21:21:50 +02:00
deniz1a
32e2a06743 Aligns observer support power timers to the left edge of the screen. 2015-07-25 03:20:44 +03:00
Paul Chote
da70683c03 Split OrderButtonsChromeLogic into smaller classes. 2015-04-26 23:21:02 +12:00
Paul Chote
2f6ceafc9c Add a new stats button glyph. 2014-10-19 15:32:27 +13:00
Paul Chote
ad88378a0b Overhaul the replay sidebar. 2014-10-19 15:32:26 +13:00
Oliver Brakmann
8cec848a0f Add a mission objectives GUI panel 2014-08-08 13:35:49 +02:00
Paul Chote
103cc65b5b Change legacy menu button labels. 2014-08-03 22:21:31 +12:00
Paul Chote
d88b27745b Fix observer buttons. 2014-07-26 19:26:03 +12:00
Paul Chote
a0e5554aaa Overhaul the RA sidebar UI. 2014-07-26 18:20:09 +12:00
Matthias Mailänder
27a73d810f auto reformatting to key: value 2014-04-21 13:49:00 +02:00
Paul Chote
3a8c94d8f8 Hook up observer view keybindings. Fixes #4435.
Uses 0-9 to select view (plus shift to cycle backwards), '-' for                 combined shroud and '=' for world view.
2014-03-22 23:18:52 +13:00
Paul Chote
2c8fc4603a Add flags and player colours to the observer selector. 2014-03-22 20:01:09 +13:00
Matthias Mailänder
0c20e38443 add a pause/slowdown/play/fastforward button for replays
closes #4633
2014-03-14 10:07:54 +01:00
Scott_NZ
ca80ac2d1f Start moving towards saner RA widget logic. This switches players to observer mode after they have finished playing in RA/D2k and removes some legacy code. 2013-04-26 13:50:14 +12:00
Matthias Mailänder
59afc46ab5 separate ra chrome for better reusability in d2k 2013-04-15 13:11:42 +02:00