Gymnasiast
2398d91fb2
Rename DrawTextBasic() to DrawText()
2026-03-25 23:15:49 +01:00
Michael Steenbeek
343c7a70d7
Change colour to a strong enum ( #25873 )
2026-01-28 10:06:45 +01:00
Gymnasiast
e46d2eba9e
Move colour map to its own file
2026-01-17 18:46:54 +01:00
matheusvb3
bba937a03d
Remove more redundant namespace qualifiers ( #25828 )
2026-01-16 08:38:20 +01:00
mix
3dd71e2040
Fix news window option tab not invalidating ( #25799 )
2026-01-12 08:17:26 +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
Gymnasiast
0ec4e3353b
Update members of FontStyle
2025-11-03 23:25:30 +01:00
Gymnasiast
7c51ccde1e
Rename Rect namespace to Rectangle
2025-10-23 18:44:45 +02:00
Gymnasiast
298f3fdeb1
Replace remaining rectangle flags with Rect::FillMode enum
2025-10-23 18:42:50 +02:00
Gymnasiast
679064da77
Replace INSET_RECT_FLAG_FILL_MID_LIGHT with Rect::FillBrightness enum
2025-10-23 18:42:07 +02:00
Gymnasiast
93c3d99546
Move rectangle drawing into its own namespace
2025-10-23 18:41:08 +02:00
Gymnasiast
9e9b774266
Move rectangle drawing to Rect.{cpp,h}
2025-10-23 18:40:04 +02:00
Gymnasiast
a5d173efda
Create border style enum for GfxFillRectInset
2025-10-23 18:40:03 +02:00
Gymnasiast
0659350577
Use constant instead of hardcoded number
2025-10-18 20:25:29 +02:00
Gymnasiast
3ef7c2d9e8
Fill scrollbar gap in news window if no scrollbar is visible
2025-10-18 20:25:29 +02:00
Gymnasiast
24b439fce2
Allow theming news item background
2025-10-18 20:25:29 +02:00
Gymnasiast
daa4fe8ac3
Rename field of all config categories
2025-10-07 20:21:32 +02:00
Gymnasiast
d97512f498
Rename members of PeepAnimationGroup
2025-10-05 14:46:12 +02:00
Gymnasiast
aa84394e7b
Rename fields of PeepAnimation
2025-10-05 01:27:23 +02:00
Gymnasiast
45912ec9a3
Rename members of SoundId
2025-10-01 20:35:34 +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
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
matheusvb3
2ad4d4be72
Add isEntertainer method to Staff class, small cleanup
2025-09-15 23:00:13 +02:00
ζeh Matt
977ec4517f
Reduce scope of some variables
2025-09-12 14:52:34 +03:00
Aaron van Geffen
12ab9195b6
Rework EntityRegistry into class
2025-08-31 14:29:36 +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
Aaron van Geffen
dac097ce64
Rework news options into one tab in the news window
2025-06-10 21:13:05 +00: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
Gymnasiast
d2615beb6e
Change News enums to use lowerCamelCase
2025-05-24 23:47:18 +02:00
Gymnasiast
47bb449e34
Make news item fields lowerCamelCase
2025-05-24 23:47:18 +02: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
3f87e2b67a
Centralise ResizeFrame in WindowBase and call when setting widgets or resizing
2025-04-11 20:37:54 +02:00
Gymnasiast
4badffcdb6
Change GameState_t members to lowerCamelCase
2025-03-20 23:05:57 +01:00
73
c7c703515e
Rename audio.h to Audio.h ( #23842 )
2025-02-17 13:24:03 +01:00
73
b9b2c96c97
Rename sprites.h to SpriteIds.h ( #23804 )
2025-02-13 15:51:46 +00:00
Aaron van Geffen
5fbe8d0ae1
Centralise external window signatures in Windows.h ( #23653 )
2025-01-19 15:50:54 +01:00
Aaron van Geffen
bed4d5bdca
Move WindowCreate and WindowFocusOrCreate into WindowManager ( #23643 )
...
* Move WindowBringToFront into WindowManager
* Move WindowCreate and WindowFocusOrCreate into WindowManager
* Cut back on Context/UiContext includes
2025-01-19 06:58:28 -03:00
Matt and Aaron van Geffen
b9f6b6f754
Refactor widgets state ( #23621 )
...
* Refactor windows to not share widget state
* First half of refactoring all the windows
* Refactor the remaining windows, compiles but has issues
* Fix drawing only every second widget
* Remove the need of an terminating widget
* Address WidgetIndex signedness issues; use kWidgetIndexNull more
* Address constexpr issue with Widget content union
* Fix tabs in scenery window
* Fix tabs in object selection window
* Adjust custom widget index for CustomTool events
* Use STR_NONE for default tooltip initialisation
* Adjustment for mingw compiler
* Fix bottom toolbar using the widget declaration not instance
* Remove pointless code in Guest window, handled by SetPage
* Prevent out of bounds crash
* Move scroll widgets initialization to SetPage in Cheats window
* Remove special logic in Options window
* Remove special logic in Park window
* Remove special logic for Player window
* Remove special logic for Research window
* Remove special logic for Ride window
* Remove special logic for Staff window
* Remove special logic for Finances window
* Remove special logic for MapGen window
* Remove special logic for editor objective options window
* Remove special logic for editor scenario options window
* Fix widgets not being set since page is initialized to 0
* Remove more redundant code
* Fix remaining access to widget declarations
* Remove unused variable
* Fix editor object selection tabs on successive windows
---------
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net >
2025-01-18 13:45:17 +01:00
Aaron van Geffen
7e3fe58067
Use peep animation objects for guest and staff sprites
2024-12-05 13:37:39 +01:00