Duncan
fa57b6aea0
Remove focus union and replace with typed focus ( #15426 )
...
* Remove focus union and replace with typed focus
This if for the NSF to allow for CoordsXYZ
* Remove legacy structures
* Rework viewport_create to deduplicate logic
* Simplify yet further
* Apply review comments
* Remove intermediate
2021-09-18 20:34:38 +01:00
Hielke Morsink
4b4b3333d6
Remove unnecessary else blocks
2021-09-16 18:31:12 +02:00
Ted John
40a4a993de
Fix #15170 : Plugin: incorrect label text alignment ( #15175 )
...
Initialise CustomWidgetDesc::TextAlign.
2021-08-04 21:47:13 +02:00
Hielke Morsink
e54dc7e466
Use consistent left-shift notation for widgets ( #14956 )
2021-06-26 14:23:15 +02:00
duncanspumpkin
98f9f24909
Remove sprite.h includes where possible
2021-05-29 08:54:33 +01:00
Michael Steenbeek
a5a63f839a
Allow passing ImageId into gfx_draw_sprite()
2021-03-23 11:58:09 +01:00
Ted John
e000f06442
Remove holdable flag from spinner widget
2021-02-25 22:30:35 +00:00
Ted John
d64bd60278
Fix CI errors
2021-02-24 22:54:53 +00:00
Ted John
c2183989a5
Allow spinners to be clicked and held
2021-02-24 22:37:31 +00:00
Ted John
93f17f1175
Add custom widget logic and network stats API
2021-02-24 22:37:31 +00:00
Ted John
82b1a5eb6d
Convert CustomWindow into a class
2021-02-24 22:37:31 +00:00
Michał Janiszewski
9aef29361f
Default-initialise more fields ( #14130 )
...
Doesn't really fix any particular issue, but adds more defaults to
fields in classes where other defaults are already present
2021-02-20 19:40:32 +01:00
Ted John
2fdf91874c
Implement centred labels
2021-01-29 17:50:32 +00:00
Ted John
180a41686c
Implement transparent windows for plugins
2021-01-29 17:50:27 +00:00
Ted John
2fcaed8165
Allow more fields to be optional
2021-01-27 00:28:59 +00:00
Ted John
c0d8786af8
Add text box widget
2021-01-27 00:28:59 +00:00
Ted John
be350f7e2e
Add widget visible flag
2021-01-26 00:25:59 +00:00
skdltmxn
7ef4d7762f
Refactor to avoid unnecessary copies ( #13736 )
...
* Refactor to avoid unnecessary copies
* Fix dangling references
2021-01-11 18:14:15 -03:00
skdltmxn
c093a50f3f
Refactor to use string_view more properly
2021-01-07 01:52:10 +09:00
Ted John
030713e126
Fix #13078 : [Plugin] Add colour picker widget
2020-12-05 18:26:35 +00:00
Ted John
a55bcff99c
Fix #13431 : [Plugin] UI disabled widgets can still be interacted with.
2020-12-05 18:26:35 +00:00
Ted John
b6a688e540
Refactor format tokens
2020-11-27 18:54:57 +00:00
ffrogman
7ed1804e61
Fix #12410 : Refactor WINDOW_WIDGET_TYPES to use strong enum ( #13453 )
...
* Fix #12410 : Refactor WINDOW_WIDGET_TYPES to use strong enum
2020-11-27 00:14:20 -03:00
Sadret
2f4b1b9e3f
Close #13376 : Open custom window at specified tab
2020-11-05 17:43:23 +01:00
pizza2004
2015acd4c0
Refactor UI/Interface Window to Title Case ( #13367 )
2020-11-04 04:52:23 +00:00