Commit Graph

866 Commits

Author SHA1 Message Date
Paul Chote
b31daf23ca Blink the KeyboardEntryWidget on focus. 2013-10-25 08:31:34 +13:00
Paul Chote
11b34884cc Use the newly polished text entry in C&C. 2013-10-24 20:02:17 +13:00
Paul Chote
15de893cec Clean up chat input.
- Team chat by default; use tab key or button to change.
- Removed "Use RETURN key..." prompt.
- Remove jarring transition between display and entry modes.
- Scroll to bottom on opening entry mode.
- Disable any/team toggle for spectators.
- Minor spacing/padding tweaks.
- Code cleanup.
2013-10-24 20:02:17 +13:00
Paul Chote
cfb6e149b3 Support bottom-aligned scroll panels. 2013-10-22 21:51:23 +13:00
Matthias Mailänder
c5c518dbce Merge pull request #3969 from pchote/hotkeys
Improved hotkey support
2013-10-21 13:53:43 -07:00
Paul Chote
7ffbfb9b7e Add a Hotkey class for user-configurable keys. Fixes #3779.
Users can now define and use hotkeys that include modifiers (ctrl/meta/shift/alt).
2013-10-22 09:14:05 +13:00
Paul Chote
aab6fec68b Remove VirtKey and KeyName. 2013-10-21 20:24:24 +13:00
Paul Chote
33f514001e Fix viewport-px / world-px confusion in ScreenMap. Fixes #3964. 2013-10-21 17:57:53 +13:00
ScottNZ
6598f0382a Add support for game translation 2013-10-14 19:38:18 +13:00
Paul Chote
919181e04d Clean up viewport internals. 2013-10-05 21:01:22 +13:00
Paul Chote
3ae75362bb Remove WorldUtils.FindFrozenActorsAtMouse. 2013-10-05 21:01:22 +13:00
Paul Chote
0b560bfc6e Move more viewport lookups to WorldRenderer. 2013-10-05 21:01:21 +13:00
Paul Chote
f575c20d38 Route viewport centering via WorldRenderer. 2013-10-05 21:01:21 +13:00
Paul Chote
b7123cda7d Route screen size queries via Game.Renderer. 2013-10-05 21:01:21 +13:00
Matthias Mailänder
65bbfbaef2 Merge pull request #3859 from ScottNZ/irc
Add IRC client to the serverbrowser
2013-10-05 00:43:49 -07:00
ScottNZ
c6dc0e8c8b Add IRC interface to ra/cnc server browsers 2013-10-05 12:05:28 +13:00
ScottNZ
3ee1628b13 Add databinding support to ScrollPanelWidget 2013-10-05 12:05:21 +13:00
Paul Chote
b100b4131c Remove PPos hacks from WorldInteractionController. 2013-09-27 15:41:32 +12:00
Paul Chote
0dc50c65f5 Remove unnecessary int2 -> PPos -> int2 conversions. 2013-09-27 15:41:32 +12:00
Paul Chote
dfd51c0caa Introduce ScreenMap trait for caching screen-coord queries. 2013-09-27 15:36:25 +12:00
Matthias Mailänder
018ceb8d82 display where duplicate keys in MiniYaml are found 2013-08-17 23:47:13 +02:00
Matthias Mailänder
3fdf9ddbc9 Merge pull request #3648 from pchote/frozen-fog-rework
Rework frozen actors to support tooltips and orders
2013-08-12 04:19:21 -07:00
Paul Chote
4b51b0c205 Allow custom dropdown group background. Fixes #3584. 2013-08-12 21:48:39 +12:00
Paul Chote
c0cb52a5ca Show tooltips for frozen actors. 2013-08-12 21:34:18 +12:00
Paul Chote
c3bcca2ff7 Use selection priority when picking tooltip actor. 2013-08-11 22:23:53 +12:00
Paul Chote
0e37c99521 Use C&C world tooltips in RA and D2K. Fixes #2382. 2013-07-28 19:53:12 +12:00
Paul Chote
9be6f3f29d Move C&C world tooltip code into ViewportControllerWidget. 2013-07-28 19:06:13 +12:00
Paul Chote
0cdc4d6f01 Rename ViewportScrollController -> ViewportController. 2013-07-28 18:57:12 +12:00
Paul Chote
6722db20e3 Clean up ViewportScrollControllerWidget. 2013-07-28 18:52:08 +12:00
Paul Chote
40c6264aca Spaces -> Tabs in ViewportScrollControllerWidget. 2013-07-28 18:39:59 +12:00
Paul Chote
7c91d6976d Split keyboard and mouse focus.
Fixes #3304.
Fixes #2075.
Fixes C&C chat focus bug.
2013-07-27 21:02:52 +12:00
Paul Chote
27f04c1b78 Rename FindUnits -> FindActorsInBox. 2013-07-20 15:34:28 +12:00
Paul Chote
37c02fea79 Remove PPos overload of FindUnits. 2013-07-20 15:34:27 +12:00
ScottNZ
506790e09c Add "leading minute zero" overload to FormatTime 2013-07-16 18:35:28 +12:00
Paul Chote
a783321c03 Fix BackgroundWidget eating input outside its bounds. 2013-07-11 19:59:06 +12:00
Paul Chote
18cecf8a67 Disable pausing for spectators. Fixes #3340. 2013-07-06 11:31:43 +12:00
Paul Chote
0ad9e65577 Add group labels to the slots dropdown. 2013-06-30 12:29:52 +12:00
Paul Chote
ec7bbd6c18 Add Ui.LoadWidget<T> overload. 2013-06-29 13:29:39 +12:00
Paul Chote
fd660c7fa0 Make ChromeMetrics accessible from mod dlls. 2013-06-29 12:58:48 +12:00
Paul Chote
7beef85a64 Use PaletteReferences everywhere. 2013-06-15 19:16:08 +12:00
Matthias Mailänder
f14441d2f4 added MinimumThumbSize to ScrollPanelWidget
closes #2865
2013-05-15 18:13:39 +02:00
Matthias Mailänder
7f40f59d85 added button to extract the selected SHP and convert it to PNG 2013-05-15 18:13:39 +02:00
Matthias Mailänder
881fcf1191 added in-game SHP viewer with frame slider 2013-05-15 18:13:33 +02:00
Matthias Mailänder
90dc6d3298 Merge pull request #3238 from pchote/local-pause-state
Remove local pause order lag delay
2013-05-10 03:07:08 -07:00
Paul Chote
656476991f Replace ColorRamp with HSLColor everywhere.
Fixes:
* Nuclear-purple color exploit.
* #3247.
* Removes a bunch of unnecessary color conversions every frame.

Caveats:
* The ramp range is now defined on the palette, so ramps can no longer be set per-player (may impact maps which define custom colors).
* It's no longer possible to perfectly recreate the original WW color ramps (I doubt we care).
* The old ColorRamp setting isn't migrated, so players will lose their color settings.
2013-05-10 19:23:30 +12:00
Paul Chote
c3c5321e1d Predict local pause state to avoid order lag. Fixes #3223. 2013-05-09 22:42:55 +12:00
Paul Chote
70f705bdc7 Implement the new color picker. 2013-04-27 12:35:41 +12:00
Paul Chote
e240b9ca3d Add a hue selector widget. 2013-04-27 12:35:41 +12:00
Paul Chote
45ff0645ba Add client tooltips showing Admin/IP/Latency. 2013-04-25 14:33:23 +12:00
Paul Chote
a1d2229a58 Remove legacy tooltip code. 2013-04-25 14:03:13 +12:00