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
Paul Chote
481cc7807b
Don't require a WorldRenderer to draw non-world-rendering widgets.
2011-01-19 20:41:32 +13:00
Paul Chote
7443b3ce89
Fix button MouseUp handling.
2011-01-05 23:19:37 +13:00
Paul Chote
7cabe920db
Restrict ClickThrough to what it was originally intended for.
2011-01-05 23:15:03 +13:00
Paul Chote
5254deedcb
Remove some bogosity from widget mouse handling.
2011-01-05 23:01:17 +13:00
Paul Chote
1ced0d7ab9
Require LMB for common widget interactions.
2011-01-04 14:33:59 +13:00
Paul Chote
9ffdce7957
Fix #439 ; Dropdowns stay open when the host force-starts the game.
2011-01-02 14:54:25 +13:00
Paul Chote
a8b4e640e7
Fix dropdown lists. Visual tweaks.
2011-01-01 17:54:09 +13:00
Paul Chote
fb799ad436
Fix dropdown miscompile bug under mono 2.6.7.
2010-11-28 22:23:50 +13:00
Paul Chote
ce5ca9dbca
Color selector as a drop panel.
2010-11-28 13:44:53 +13:00
Paul Chote
45cd6caeec
Faction dropdown flags.
2010-11-28 11:46:14 +13:00
Paul Chote
7884cb310b
Polish: Offset button children by pressed state.
2010-11-28 11:18:03 +13:00
Paul Chote
291e7588e1
Workaround for persistent dropdowns.
2010-11-27 23:55:09 +13:00