duncanspumpkin
3448926251
Move text input widget code from game lib to ui lib
2024-04-26 18:25:44 +02:00
Duncan
7a60e7f2e0
OpenRCT2::Ui::Windows namespace for OpenRCT2 Ui Windows ( #21559 )
...
* Move all the windows into OpenRCT2::Ui::Windows namespace
* Fix missing symbol
* Clang format
* Call the correct FormatStringID
2024-03-10 13:52:35 +00:00
James103
1d8dc111f1
Replace 2023 with 2024 in copyright headers ( #21139 )
...
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
Hielke Morsink
6b7dc8fcdb
Rename snake_case functions in openrct2/src folder
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2023-01-17 13:24:51 +01:00
Gymnasiast
5309c80e29
Remove snake_case in interface folder
2023-01-16 22:20:41 +01:00
Hielke Morsink
6dafbbfb65
Rename global window functions to TitleCase ( #19167 )
2023-01-16 20:13:42 +00:00
James103
73738bbdc8
Replace 2022 with 2023 in copyright headers
...
Replace all instances of the year 2022 with 2023 in all copyright headers
2023-01-01 11:58:01 +01:00
Hielke Morsink
abac080d3e
Rename public general config data members
2022-10-16 21:46:01 +02:00
Rik Smeets
8e33cf580f
Code style: Remove snakes from virtual floor
2022-10-08 20:50:59 +02:00
73
b9e677945d
Replace 20XX with 2022 ( #18158 )
...
* Replace 2020 with 2022
Replace all 2020 headers with 2022
* replace other years with 2022
add missing years
2022-10-01 08:42:14 +01:00
Hielke Morsink
7f29e4e39c
Make `rct_windowclass` strong type `WindowClass`
...
This already revealed some places where implicit conversions were done, including some where its use was nonsense (MouseInput.cpp).
The changes to the Intent class were necessary to keep things working, and this splits things up more neatly.
2022-08-21 18:38:25 +02:00
Hielke Morsink
d05d675ed9
Refactor window functions to take references 6
2022-07-31 17:23:17 +02:00
Duncan
bb2c7dbaca
Clang tidy Part 1: Ui Project Function Names ( #15956 )
...
* Add NOLINT around STL using classes and vendor functions
* Apply clang-tidy to ui project function names
* Undo scripting clang-format
* Upper case OpenRCT2 and RCT2
2021-11-23 13:18:07 +00:00
Hielke Morsink
4b4b3333d6
Remove unnecessary else blocks
2021-09-16 18:31:12 +02:00
Ted John
083d22adf2
Fix #14195 : Binding (NumPad) Enter to send message closes the chat
2021-02-28 14:08:16 +00:00
Ted John
789b04b4aa
Fix #14194 : Pressing WASD in text box moves main viewport, too
2021-02-28 14:07:56 +00:00
Ted John
17a29dfe87
Fix #14190 : Game crash likely related to plug-in hotkeys
...
Do not cache references to RegisteredShortcut as they can be invalidated when new shortcuts are registered / removed.
Use a map to improve query performance of shortcut by ID.
Store a separate list of strings for the map to use as a key.
2021-02-28 01:13:43 +00:00
Ted John
440c0f447f
Fix #14140 : Some shortcut keys are not working
2021-02-21 21:44:53 +01:00
Ted John
e383b6f6f7
Move zoom and rotation to view tab
2021-02-21 03:14:20 +00:00
Ted John
59b4be6a12
Move InputManager to UiContext
2021-02-21 03:14:19 +00:00
Ted John
80662d72a4
Cache view scroll shortcuts
2021-02-21 03:14:19 +00:00
Ted John
2b197d0fb2
Fix parsing of shortcuts
2021-02-21 03:14:18 +00:00
Ted John
eda33fea20
Fix view scroll shortcuts
2021-02-21 03:14:18 +00:00
Ted John
f2f658bf28
Refactor some code into more files
2021-02-21 03:14:18 +00:00
Ted John
e7ae9f9f15
Read legacy shortcuts and move to constants
2021-02-21 03:14:17 +00:00
Ted John
900f3cd92b
Fix gcc / clang builds
2021-02-21 03:14:17 +00:00
Ted John
9964df5335
Implement gamepad support
2021-02-21 03:13:28 +00:00
Ted John
e6b6403024
Refactor and fix shortcut
2021-02-21 03:13:28 +00:00
Ted John
ea975f88fc
Implement more InputManager
2021-02-21 03:13:28 +00:00
Ted John
ccae533978
Add input manager
2021-02-21 03:13:27 +00:00