Commit Graph

741 Commits

Author SHA1 Message Date
reaperrr
1f789b4296 var instead of SpriteFont on TimerWidget. 2013-11-22 13:49:18 +01:00
reaperrr
09606e8ffd Moved duplicate float2 before if as suggested. 2013-11-22 13:36:22 +01:00
reaperrr
4c92280b7e Moved duplicated int2 in ButtonWidget before if as suggested. 2013-11-22 13:34:46 +01:00
reaperrr
f9c2e90c6b Moves TextFieldWidget defaults to metrics.yaml. 2013-11-19 01:42:16 +01:00
reaperrr
e73b3705c6 Moves defaults for HotkeyEntryWidget to global settings in metrics.yaml. 2013-11-19 01:41:32 +01:00
reaperrr
394a2b5166 Makes ButtonWidget and Widgets based on it more customizable, sets defaults in metrics.yaml. 2013-11-19 01:39:57 +01:00
reaperrr
915bf2cff0 Makes TimerWidget LabelWidget-based for better customizability. Sets defaults for LabelWidget in metrics.yaml. 2013-11-19 01:37:01 +01:00
Paul Chote
6d6d1e230b Remove runtime mod merging. Closes #3421. 2013-11-15 09:54:42 +13:00
ScottNZ
1394c1dcee Remove some misc redundancies 2013-11-12 19:39:39 +13:00
ScottNZ
00ec1ca87a Remove unused usings 2013-11-12 19:39:33 +13:00
ScottNZ
86a3e14f2d Remove constructor base() redundancies 2013-11-12 17:31:55 +13:00
ScottNZ
fb4e1b4805 Fix FlashTarget crash 2013-11-11 23:49:00 +13:00
Paul Chote
a1f876b13c Use selection priority in double-click selection logic. Fixes #4053. 2013-11-09 16:39:30 +13:00
Paul Chote
78fe3fb702 Convert Keycode to match SDL2. Fixes #4055. 2013-11-05 18:01:35 +13:00
Matthias Mailänder
6f8e78761c StyleCop cleanup 2013-11-02 23:18:23 +01:00
Matthias Mailänder
21b7d0eadb loop all orders only once 2013-11-02 23:18:19 +01:00
Matthias Mailänder
6b0238a6cc don't stack flashes and filter non unit actor related orders 2013-11-02 18:29:54 +01:00
Matthias Mailänder
e0e3f1155a avoid additional layers of abstraction 2013-11-02 18:12:46 +01:00
Matthias Mailänder
be1ab707c5 separate TargetFlash from DrawLineToTarget 2013-11-02 18:03:55 +01:00
Matthias Mailänder
b1c3ac20bf brought back the MoveFlash
closes #2592
2013-11-02 18:03:49 +01:00
Matthias Mailänder
c62788a9a6 Merge pull request #4031 from pchote/sdl2
Add a SDL2-GL renderer.
2013-10-31 11:48:50 -07:00
Paul Chote
1870e31662 Double clicking a map in the chooser now selects it. 2013-10-31 08:46:16 +13:00
Paul Chote
d1c9c6d76d Split text input into its own event. 2013-10-30 20:08:02 +13:00
Paul Chote
64a229d339 Polish SliderWidget:
- Keep thumb within the EventBounds.
- Fix tick rendering.
2013-10-25 08:31:34 +13:00
Paul Chote
94554d7678 Support nested scissor rectangles. 2013-10-25 08:31:34 +13:00
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