Matthias Mailänder
67cd0645a4
update to .NET 4.0
2014-04-09 20:20:26 +12:00
Paul Chote
b5c63175e2
Allow button tooltip labels to be set by UI logic.
2014-04-03 07:15:03 +13:00
Paul Chote
a5223a519c
Allow custom button types.
2014-04-03 07:15:02 +13:00
reaperrr
4c92280b7e
Moved duplicated int2 in ButtonWidget before if as suggested.
2013-11-22 13:34:46 +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
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
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
ScottNZ
6598f0382a
Add support for game translation
2013-10-14 19:38:18 +13: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
f368556b23
Merge tooltip support into Button and remove ToggleButton.
2013-04-08 23:01:21 +12:00
Paul Chote
eddc1fc0cf
Remove duplication between ButtonWidget and ToggleButtonWidget.
2013-04-08 22:55:01 +12:00
Sascha Biedermann
467002a88b
fixes #2866 : added ButtonWidget.GetKey as delegate
2013-03-28 10:03:41 +01:00
Sascha Biedermann
594e3c14e6
fixes #2799 : double click on server to join
2013-03-21 18:14:57 +01:00
Scott_NZ
0c6daf191c
Add button highlighting/glow effect, to be used for the objective button when the objectives update
2012-10-02 21:52:43 +13:00
Matthias Mailänder
7a578a0679
notifications (formerly EVAalerts) centralized and race specific
...
outsourced into notifications.yaml
triggered with PlayNotification(...)
(v2: less redundant code for PlayVoice/Notifications)
added harvester under attack and battlecontrol terminated
2012-07-01 14:39:30 +12:00
Chris Forbes
3e0f52db1a
fix cnc chrome yaml issues
2012-04-09 13:10:40 +12:00
Chris Forbes
ed429a3b30
split Widget static bits into Ui static class
2011-12-13 23:38:59 +13:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Paul Chote
8f4c2371c7
Rename TooltipButton -> ToggleButton and add an active state. Use for production group icons.
2011-07-15 21:31:48 +12:00
Paul Chote
05acdc9b98
Clean up some uses of rect.Contains(int2).
2011-07-15 21:31:47 +12:00
Paul Chote
47ba4cb285
Add click sounds to ingame buttons
2011-07-14 21:00:45 +12:00
Paul Chote
e9d67860de
Proper mouseover support.
2011-07-14 20:29:02 +12:00
Paul Chote
1114293035
Apply consistent widget method names. Semantic change: Widgets that want to tick when !Visible must override TickOuter() instead of Tick().
2011-07-14 20:29:02 +12:00
Paul Chote
193999a040
Move OnMouseUp onto ButtonWidget and drop its unnecessary plumbing.
2011-07-14 20:29:02 +12:00
Paul Chote
e58e354c4b
Move IsDisabled checking for OnMouseDown into ButtonWidget. Remove unnecessary bool plumbing.
2011-07-14 20:29:02 +12:00
Paul Chote
bbeaf2047b
Remove OnMouseDown from Widget. Define it on just the widgets that want it.
2011-07-14 20:29:02 +12:00
Paul Chote
7a69daa99c
Remove Widget.OnMouseMove.
2011-07-14 20:29:01 +12:00
Paul Chote
c1f7152857
Change Widget key support: Move (unused) Widget.OnKeyPress hook onto ButtonWidget; Buttons will respond to keys with modifiers.
2011-07-14 20:28:35 +12:00
Chris Forbes
3409d8f046
remove type-specific functions for ChromeMetrics.Get; use FieldLoader
2011-06-20 14:39:03 +12:00
Paul Chote
94bca753d2
Fix #866
2011-06-20 13:03:23 +12:00
Paul Chote
81515705ec
Add keyboard shortcut support to ButtonWidgets.
...
Hook up 'escape' and 'return' as appropriate for moving through menus.
2011-05-30 22:15:14 +12:00
Chris Forbes
66c72d14d8
split scrollthumb/button in chrome data; fixes screwed up RA scrollthumbs
2011-05-22 21:33:47 +12:00
Paul Chote
35673a058a
Remove obsolete Bold field from widgets
2011-05-22 18:41:31 +12:00
Paul Chote
e73248f55c
Use the scrollbar arrow "pressed" variants
2011-05-22 18:41:29 +12:00
Paul Chote
42d8722cbc
Merge DropDownButtons
2011-05-21 17:26:20 +12:00
Paul Chote
14af766427
Remove some duplication from widgets that draw fake buttons.
2011-05-21 17:26:19 +12:00
Paul Chote
eb8aafced0
Normalize ButtonWidgets
2011-05-21 17:26:18 +12:00
Paul Chote
d7f009b218
Use the font dictionary everywhere
2011-05-21 17:26:18 +12:00
Chris Forbes
24d9e292dd
wire up ButtonWidget.VisualHeight to ChromeMetrics as an example
2011-05-21 16:27:06 +12:00
Chris Forbes
b183366d54
add ChromeMetrics for values we dont want to duplicate everywhere
2011-05-21 16:27:06 +12:00
Chris Forbes
788e4780c6
s/order/event/ in ButtonWidget
2011-05-21 16:27:03 +12:00
Chris Forbes
8adca1960d
fix comment spelling in ButtonWidget
2011-05-21 16:27:02 +12:00
Chris Forbes
1cf63ec803
Make ButtonWidget cheaper
2011-05-21 16:27:01 +12:00
Chris Forbes
072a42536e
Make DropDownButtonWidget cheaper
2011-05-21 16:27:01 +12:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Paul Chote
646863b85b
Remove unused InitDelegates() method. Don't mutate the Children list directly.
2011-01-27 20:50:03 +13:00