Chris Forbes
3e0f52db1a
fix cnc chrome yaml issues
2012-04-09 13:10:40 +12:00
Chris Forbes
bf5be88c75
rename Ui.RootWidget to just Ui.Root
2011-12-13 23:46:58 +13:00
Chris Forbes
ed429a3b30
split Widget static bits into Ui static class
2011-12-13 23:38:59 +13:00
Chris Forbes
2679e91b03
remove duplication in cnc order button wiring
2011-11-25 17:22:22 +13:00
Chris Forbes
45c41b6696
allow building repair always
2011-11-24 15:23:08 +13:00
Chris Forbes
00372f4748
more general tidying in CNC widget code
2011-10-21 22:58:49 +13:00
Chris Forbes
6010034b4a
remove ObjectCreator.Param and all associated nonsense
2011-10-21 18:16:07 +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
Chris Forbes
f2867fbc61
UnregisterEvents functions do not need to be public
2011-08-13 15:01:40 +12:00
Paul Chote
b8ba48ee67
Switch to observer ui on victory/defeat (Feature #1002 ).
2011-07-25 22:23:14 +12:00
Paul Chote
bc1a50693c
Toggle repair/sell button state when active.
2011-07-15 21:31:48 +12: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
562931196f
Give observers a minimap
2011-07-14 20:29:14 +12:00
Paul Chote
b82b716506
Add icons for options/sell/repair
2011-07-14 20:29:14 +12:00
Paul Chote
dc0c0e744a
Production group icons
2011-07-14 20:29:14 +12:00
Paul Chote
193999a040
Move OnMouseUp onto ButtonWidget and drop its unnecessary plumbing.
2011-07-14 20:29:02 +12:00
Paul Chote
5f8beb632a
Switch tabs when a queue is lost, hide tab-strip when there are no queues available, rename queueType -> queueGroup.
2011-07-14 20:29:01 +12:00
Paul Chote
a065ba0338
Keyboard support for production palette:
...
y/u/i/o/p map to Buildings/Defense/Infantry/Vehicles/Aircraft.
Tab or successive y/u/i/o/p will switch tabs within a category.
Successive clicks on category icons will also switch tabs.
Shift + keyboard/click cycles tabs in reverse.
2011-07-14 20:29:01 +12:00
Paul Chote
8950ef7bcb
Hook up sell/repair buttons
2011-07-03 06:29:41 +12:00
Paul Chote
c76811c5e1
Rewrite production tabs (again): Avoid doing a pile of work every tick; support multiple queue types grouped under one category; Tab numbering is sticky.
2011-07-03 01:48:14 +12:00
Paul Chote
b85fce3b41
Disable queue buttons when there are no tabs
2011-07-02 21:37:31 +12:00
Paul Chote
d5e63538ad
Port production palette from ui2 branch. Needs reworking. Unfinished.
2011-07-02 07:32:34 +12:00
Paul Chote
1f92286b51
Wire up cash display
2011-07-02 03:53:13 +12:00
Paul Chote
3dec6016e7
Remove diplomacy menu, lock teams option (Feature #950 ).
2011-07-01 23:19:50 +12:00
Paul Chote
0899916406
Disable diplomacy and cheats for observers
2011-06-20 22:50:26 +12:00
Paul Chote
532bd42aed
Remove obsolete Player index cruft
2011-06-20 22:50:26 +12:00
Paul Chote
2ebb2ae921
Remove static handler crap from widget delegates - Register/unregister events manually (ra & cnc).
2011-06-01 19:15:55 +12:00
Paul Chote
a288c5df15
Use static ctors for static setup.
2011-05-30 22:15:14 +12:00
Chris Forbes
ef03d46f13
eradicate 'delegate' misuse
2011-05-22 22:02:09 +12:00