Paul Chote
|
0c95b43c87
|
Save some dumb perf in Widget.RenderBounds.
|
2011-07-14 20:29:03 +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
|
8189ef109e
|
Reorganize Widget into static/nonstatic.
|
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
|
0e45968573
|
remove 'private' keyword where possible
|
2011-06-29 09:15:39 +12:00 |
|
Paul Chote
|
ad3f378545
|
Add a hook for widgets being removed, and ensure widgets are removed consistently.
|
2011-06-01 18:50:59 +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
|
ef03d46f13
|
eradicate 'delegate' misuse
|
2011-05-22 22:02:09 +12:00 |
|
Chris Forbes
|
e839ae33d8
|
hax
|
2011-05-22 20:41:34 +12:00 |
|
Paul Chote
|
d7a0445e59
|
Remove ContainerWidget.Background
|
2011-05-22 18:41:32 +12:00 |
|
Paul Chote
|
5bc0ef69ad
|
Pass WidgetArgs to Widget.Initialize. Use this to allow for custom substitutions.
|
2011-05-21 17:26:20 +12:00 |
|
Paul Chote
|
ab423fbe8c
|
Mark some bits obsolete
|
2011-05-21 17:26:18 +12:00 |
|
Paul Chote
|
1526b6ff37
|
Make Game.LoadWidget / Widget.LoadWidget consistent.
|
2011-05-21 17:26:16 +12:00 |
|
Paul Chote
|
f4ea4c5daa
|
Add a WidgetArgs type to work around gmcs not understanding lambda -> Action -> object.
|
2011-05-21 17:26:16 +12:00 |
|
Paul Chote
|
372d2f5426
|
Saner load code for cnc. Installing not yet implemented.
|
2011-05-21 17:26:10 +12:00 |
|
Paul Chote
|
8957caeaca
|
Basic ingame menu reimplemented.
|
2011-05-21 17:25:44 +12:00 |
|
Paul Chote
|
845b32281d
|
Reimplement server browser
|
2011-05-21 16:27:37 +12:00 |
|
Paul Chote
|
a3b430c24a
|
Remove engine references to MAINMENU_BG. Don't push the menu background onto the window list. Crashes whenever a delegate tries to open MAINMENU_BG.
|
2011-05-21 16:27:37 +12:00 |
|
Chris Forbes
|
178e4664c7
|
790 fixed -- Widget.EventHandler was never used, removed
|
2011-05-21 16:27:06 +12:00 |
|
Paul Chote
|
b0425aff3b
|
Renormalize line endings and fix copyright headers again.
|
2011-04-07 21:15:42 +12:00 |
|
Chris Forbes
|
1af23079eb
|
make it crash nicely when you inherit from a bogus actor type
|
2011-04-04 11:14:07 +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
|
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
|
df460d7407
|
Add extension methods to Rectangle/RectangleF, remove a pile of ToPoint()'s.
|
2011-01-05 22:24:11 +13:00 |
|
Paul Chote
|
3e1db3e8ae
|
Move MapPreviewWidget.HandleInputInner to the lobby delegate.
|
2011-01-05 22:23:23 +13:00 |
|
Paul Chote
|
de562939d4
|
Hacky fix for LabelWidget eating our MouseMove events.
|
2011-01-04 14:42:38 +13:00 |
|
Paul Chote
|
6e7156e023
|
Mousewheel scrolls ScrollPanel.
|
2011-01-04 14:33:59 +13:00 |
|
Paul Chote
|
d90dec9c8e
|
Remove a pile of unnecessary state management from Scrollpanels.
|
2011-01-01 16:47:52 +13:00 |
|
Paul Chote
|
08eeec4d99
|
More lobby polish (mainly map chooser).
|
2010-11-30 21:20:57 +13:00 |
|
Paul Chote
|
58a92de5a1
|
Move widget delegates into Mods.
|
2010-11-27 11:20:01 +13:00 |
|
Bob
|
7ca9fcdac9
|
run the shellmap even while the lobby shows. remove Widget.SpecialOneArg
|
2010-10-12 18:33:16 +13:00 |
|
Bob
|
6ea2a06e4b
|
pass WorldRenderer to Widget.Draw, DrawInner
|
2010-10-12 17:27:08 +13:00 |
|
Bob
|
0873741983
|
don't pass world to Widget.Tick, either
|
2010-10-12 17:24:17 +13:00 |
|
Bob
|
e0afc08e5f
|
move an access of Viewport into Game
|
2010-10-12 17:24:14 +13:00 |
|
Bob
|
cb1deacbb2
|
pass world into CheckSync. don't pass world into Widget.DrawInner
|
2010-10-12 17:24:12 +13:00 |
|
Bob
|
6a25d989a7
|
remove many references to Game.world
|
2010-10-12 17:23:55 +13:00 |
|
Bob
|
3724f46a3e
|
remove world arg to SyncLobbyInfo and HandleInput
|
2010-10-12 17:22:14 +13:00 |
|
Bob
|
3165ec5359
|
create widgets on demand
|
2010-09-22 08:02:03 +12:00 |
|
Bob
|
f4699132d6
|
made OpenWindow and CloseWindow static
|
2010-09-22 08:02:00 +12:00 |
|
Bob
|
15bd58ddce
|
extracting world-specific data from Game
|
2010-08-21 17:11:26 +12:00 |
|
Paul Chote
|
727a88d82a
|
Listbox content shouldn't steal clicks if they're clipped
|
2010-08-15 00:44:19 +12:00 |
|
alzeih
|
e0de1427e9
|
Die sanely when a widget doesn't exist.
|
2010-08-14 17:39:50 +12:00 |
|
Bob
|
74155812d0
|
don't merge yaml in chrome; just load sequentially
|
2010-08-01 19:38:32 +12:00 |
|