Michael Steenbeek
0284f9cda6
Refactor dropdown flag to FlagHolder, reverse "stay open" flag ( #26855 )
2026-08-02 19:22:52 +02:00
16cd1c07ff
Swap Duktape for quickjs-ng
...
Co-authored-by: Basssiiie <Basssiiie@users.noreply.github.com >
Co-authored-by: Tulio Leao <tupaschoal@gmail.com >
2026-04-01 02:18:36 +11:00
Gymnasiast
f999cab0a7
Stop using common formatter for window captions
2026-03-03 14:47:00 +01:00
Gymnasiast
1292cb1a3a
Use Widget::setString() instead of manual string setting
2026-03-03 14:46:59 +01:00
matheusvb3
b4903577ed
Remove global using namespace declarative in header files
2026-03-01 13:33:21 +01:00
matheusvb3
416a005b88
Replace uses of .size() or .length() with .empty() when appropriate ( #25950 )
2026-02-05 13:14:12 +01:00
Michael Steenbeek
343c7a70d7
Change colour to a strong enum ( #25873 )
2026-01-28 10:06:45 +01:00
matheusvb3
bba937a03d
Remove more redundant namespace qualifiers ( #25828 )
2026-01-16 08:38:20 +01:00
Michael Steenbeek
78a654fcbd
Rename missed occurrences of DrawPixelInfo/DPI to RenderTarget/RT ( #25768 )
2026-01-07 19:58:49 +00:00
Aaron van Geffen
40aaf97c07
Update copyright years to 2026 ( #25741 )
2026-01-05 13:42:59 +00:00
Aaron van Geffen
8a0a655025
Unwrangle Drawing.h and Paint.h ( #25706 )
...
* Drop Drawing.h include from Paint.h
* Split off RenderTarget to its own header/unit
* Move FilterPaletteID to its own header
2025-12-26 12:58:33 +01:00
Michael Steenbeek
5a547fc2bb
Fix return value of Widget::height()
2025-12-12 18:26:05 +01:00
Michael Steenbeek
6f24577027
Fix return value of Widget::width()
2025-11-08 10:27:58 +01:00
Gymnasiast
b3c854e3aa
Move ColourFlags/ColourWithFlags to own compilation units
2025-11-04 00:09:07 +01:00
Gymnasiast
64ef3da5a4
Use FlagHolder in ColourWithFlags
2025-11-03 23:25:31 +01:00
Gymnasiast
124352c922
Update members of TextAlignment
2025-11-03 23:25:29 +01:00
Gymnasiast
daa4fe8ac3
Rename field of all config categories
2025-10-07 20:21:32 +02:00
Gymnasiast
a03613df35
Change FilterPaletteID to lowerCamelCase
2025-09-23 21:09:54 +02:00
Michael Steenbeek
eb38b7227f
Change WindowFlag to strong enum
2025-09-20 21:46:42 +02:00
Gymnasiast
a662c5ef8e
Change WindowClass members to use lowerCamelCase
2025-09-17 23:18:52 +02:00
Gymnasiast
c94babb06e
Rename g_window_list to gWindowList
2025-09-17 23:16:17 +02:00
Gymnasiast
3a803e13e2
Change window functions to use lowerCamelCase
2025-09-17 20:10:12 +02:00
Gymnasiast
d4a0bca091
Rename Window fields
2025-09-17 20:10:12 +02:00
Gymnasiast
f46fea3bff
Rename rct_windownumber to WindowNumber
2025-09-17 20:10:12 +02:00
Gymnasiast
eca7870818
Make ViewportCreate take a reference to a window
2025-09-17 20:10:11 +02:00
Gymnasiast
ecd2cf0dfc
Create PlainMenuLabel constructor
2025-08-24 11:30:59 +02:00
Gymnasiast
173b6a2032
Create MenuLabel overload for C strings
2025-08-24 11:30:59 +02:00
Gymnasiast
af50e9b0da
Fold tooltips and images into dropdown items
2025-08-24 11:30:59 +02:00
Michael Steenbeek
577c3336c6
Create struct for all dropdown-related globals ( #25023 )
2025-08-23 13:56:13 +02:00
Gymnasiast
8fd9658cd3
Update dropdown item fields and functions to new code style
2025-08-21 21:33:22 +02:00
Michael Steenbeek
7b322d825a
Refactor constants in window .cpp files
2025-06-16 23:10:47 +02:00
Gymnasiast
81e3181ebb
Pass ScreenSize to makeWindowShim()
2025-06-10 23:21:15 +02:00
Gymnasiast
bdba89f428
Pass ScreenSize to window creation functions
2025-06-10 23:20:28 +02:00
Gymnasiast
bd6ae5848c
Rename remaining methods in Widget.h to lowerCamelCase
2025-06-10 23:20:18 +02:00
Gymnasiast
757ab61b20
Refactor WidgetFlags to FlagHolder
2025-06-10 19:55:37 +02:00
Gymnasiast
650fa3ae2e
Rename WindowWidgetType to WidgetType and change for new code style
2025-06-10 19:55:12 +02:00
Gymnasiast
149468406b
Update WindowColour enum for new code style
2025-06-10 19:53:12 +02:00
Gymnasiast
86e265f093
Make widget creation functions lowerCamelCase
2025-06-10 19:51:21 +02:00
Aaron van Geffen
0779b9f0ab
Replace window shim and widget macros with constexpr functions ( #24566 )
2025-06-07 23:02:14 +02:00
mix
1292afb7c7
Fix plugin window viewports on open and prevent unnecessary invalid
2025-05-22 20:58:55 +01:00
ζeh Matt
39479d7b12
Use vector and unique_ptr for windows storage
2025-05-17 00:45:08 +03:00
Matt
6335c31336
Rename DrawPixelInfo to RenderTarget ( #24339 )
...
* Begin backend separation, rename type DrawingPixelInfo to RenderTarget
* Rename dpi variables to rt
2025-05-04 22:06:46 +00:00
Aaron van Geffen
7e9cc6df5d
Merge pull request #24288 from AaronVanGeffen/close-buttons
...
Generalise white close button strings to all translucent title bars
2025-04-26 11:30:29 +02:00
Aaron van Geffen
a8267412c2
Move title height helper functions to WindowBase and fix FlexUI plugins
2025-04-11 23:26:34 +02:00
Aaron van Geffen
883845bcf9
Use larger cross glyph for close button when title bar is enlarged
2025-04-11 20:39:26 +02:00
Aaron van Geffen
3f87e2b67a
Centralise ResizeFrame in WindowBase and call when setting widgets or resizing
2025-04-11 20:37:54 +02:00
Michael Steenbeek
87bb2f10dd
Introduce WindowBase::canBeResized
2025-02-26 21:05:57 +01:00
73
b9b2c96c97
Rename sprites.h to SpriteIds.h ( #23804 )
2025-02-13 15:51:46 +00:00
Aaron van Geffen
2302f0d2e3
Rework Localisation includes ( #23789 )
...
* Clean up internal localisation header includes
* Remove some external localisation includes
* Remove dependency on FormatCodes.h from InteractiveConsole.h
* Reduce Formatter.h, Localisation.Date.h includes
2025-02-07 22:36:42 +01:00
Aaron van Geffen
cf448753c1
Move WindowInvalidate and WidgetInvalidate families into WindowManager ( #23692 )
...
* Move WindowInvalidate and WidgetInvalidate families into WindowManager
* Use InvalidateWidget shorthand in more places
* Cut back on UiContext includes
* Cut back on Window.h includes
* Remove outdated parameter comments
2025-01-25 13:46:08 +01:00