Commit Graph
96 Commits
Author SHA1 Message Date
Gymnasiast be90806c80 Convert settings for the bottom toolbar to the new window types 2026-09-12 13:21:11 +02:00
Gymnasiast 345f61452e Move JSON colour conversion to its own function 2026-09-12 13:20:13 +02:00
Aaron van Geffen 212c99ae59 Move NewsTicker to its own window and rename GameStatusBar
* Move NewsTicker to its own window

* Toggle bottom toolbar window when changing theme settings

* Rename GameBottomToolbar to GameStatusBar

* Regroup strings by window in UiStringIds.h

* Rename string ids based on current usage

* Rename UITHEME_FLAG_USE_GAME_STATUS_BAR

* Use dedicated string for status bar instead of reusing title sequence one
2026-08-17 20:40:49 +02:00
Gymnasiast 83cbac90ec Move stuff that affects the whole screen/viewport out of Drawing.{cpp,h} 2026-09-06 19:40:56 +02:00
Kirill Gusev 453ddb49b8 Rename FileScanner fields and methods (#27055) 2026-09-06 12:39:33 +02:00
Aaron van Geffen 1452f71be9 Prune outdated pragma warning disable directives (#27028) 2026-08-31 07:42:37 +02:00
Aaron van Geffen 8dab2cce07 Split off ParkInfoPanel and DateInfoPanel from GameBottomToolbar (#26919)
* Split off DateInfoPanel and ParkInfoPanel from GameBottomToolbar

* Replace gToolbarDirtyFlags (BottomToolbarDirtyFlag) with window invalidation

* Rename kGuestCountFormats{,Singular}

* Resize new panels along GUI

* Rename functions to match code style

* Remove some now-unnecessary widget resizing

* Rename panel widget indices to remove position
2026-08-16 19:50:44 +02:00
Harry Hopkinson d6863ccf99 Remove openrct2-ui/interface includes 2026-08-11 10:16:19 +01:00
Aaron van Geffen 15b36d6ced Introduce dedicated header for window-related enum types (#26883) 2026-08-07 19:53:17 +02: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
matheusvb3 e039662267 Remove redundant namespace qualifiers (#25821) 2026-01-15 13:10:42 +01:00
Aaron van Geffen 40aaf97c07 Update copyright years to 2026 (#25741) 2026-01-05 13:42:59 +00: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 fc5f6c236d Use second colour of bottom toolbar for news buttons 2025-10-22 23:39:53 +02:00
Gymnasiast d9c730e654 Add theme features to draw border around image buttons 2025-10-22 19:59:09 +02:00
Michael Steenbeek df1da08548 Fix: Shortcut Keys window uses wrong colours for separators, scrollbars and buttons 2025-10-20 20:52:33 +00:00
Gymnasiast 24b439fce2 Allow theming news item background 2025-10-18 20:25:29 +02:00
Gymnasiast b6074434a8 Replace remaining defines in Theme.cpp 2025-10-18 19:39:16 +02:00
Gymnasiast 394ff2a0c1 Remove COLOURS_RCT1 define 2025-10-18 19:33:02 +02:00
Gymnasiast 44ca4f38fb Use C++ arrays instead of C ones 2025-10-18 19:32:23 +02:00
Gymnasiast a72ef08cdd Rename unused defines in Theme.cpp 2025-10-18 19:31:40 +02:00
Gymnasiast 238e191e79 Rename constants in Theme.cpp 2025-10-18 19:31:17 +02:00
Gymnasiast eb5e1c0370 Correct indentation of Theme.cpp 2025-10-18 19:30:45 +02:00
Gymnasiast daa4fe8ac3 Rename field of all config categories 2025-10-07 20:21:32 +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
Aaron van Geffen dac097ce64 Rework news options into one tab in the news window 2025-06-10 21:13:05 +00:00
Matt 42df41efdb Remove the use of shared_ptr for the Context (#24404)
* Replace shared_ptr with unique_ptr for Context systems, return refs

* Fix all the users

* clang-format fix

* Fix linux builds
2025-05-15 22:46:06 +03:00
Michael Steenbeek 293ca0db33 Touch up some RCT1 window colours 2025-04-19 13:48:56 +02:00
Aaron van Geffen 807a2fa7c9 Merge objective options into scenario options 2025-03-13 13:57:03 +01:00
Aaron van Geffen af40589170 Use WINDOW_SHIM in NetworkStatus and SceneryScatter windows (#24208) 2025-04-13 18:41:58 +02:00
Gymnasiast 14b881e22b Rename DIRID and its members 2025-03-25 23:39:27 +01:00
Gymnasiast 622a8dc525 Rename DIRBASE and its members 2025-03-25 22:47:09 +01:00
Aaron van Geffen 3561b9e607 Change load/save window to be coloured green by default 2025-02-20 12:39:26 +01:00
Michael Steenbeek be9f27e4f9 Mass rename constants (#23656) 2025-01-19 15:59:45 +00:00
Aaron van Geffen fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Aaron van Geffen 35e117aca2 Rename String methods to use lowerCamelCase 2024-12-11 22:49:37 +01:00
Michael SteenbeekandAaron van Geffen e813532efb Close #15750: Multiple park entrance types in one park (#21909)
* Add new park entrance placement window

* Start entrance tool as soon as window opens;

* Rename constants to conform to current code standards

* Increment PARK_FILE_CURRENT_VERSION

* Increment kNetworkStreamVersion

Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2024-08-04 23:02:16 +00:00
Duncan 681b54dc87 Add Some Items to the OpenRCT2::Ui namespace (#22423)
* Put widget in the Ui namespace

* Put theme in the Ui namespace

* Put objective in Ui namespace
2024-07-31 05:26:53 +01:00
Michael SteenbeekandAaron van Geffen a0be444d24 Improve contrast for error messages
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2024-07-28 11:19:59 +02:00
Aaron van Geffen 05e56517ab Adopt existing namespaces into OpenRCT2 namespace (#22368)
* Put all of TitleSequenceManager into the same namespace

* Move RideConstructionState into the OpenRCT2 namespace

* Adopt existing namespaces into OpenRCT2 namespace

This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
2024-07-26 09:59:58 +02:00
Aaron van Geffen b5ef2693b0 Remove common.h include from all units 2024-07-09 16:45:19 +02:00
Aaron van Geffen 51873dc0f6 Include Diagnostic.h at unit level 2024-07-09 16:23:31 +02:00
Gymnasiast 8a181b5513 Split colours and colour flags 2024-05-26 12:35:40 +02:00
Aaron van Geffen 000637a18e Make progress bar themeable; change NetworkStatus defaults to match 2024-05-20 18:00:38 +02:00
Aaron van Geffen ef4cad5ee3 Move UI exclusive string ids to UiStringIds.h 2024-05-10 23:24:46 +02:00
Aaron van Geffen a63d86c488 Introduce Config namespace and struct 2024-05-10 12:10:21 +02:00
Michał Janiszewski 7b12667ddb Reduce <algorithm> include (#21947) 2024-05-01 13:47:27 +02:00