mo and GitHub
0c1efa1667
fix: assign ownerdraw item type when parsing menus ( #911 )
...
Set `m_type` to `ITEM_TYPE_OWNERDRAW` when parsing an `ownerdraw` property. Otherwise, it retains the default `ITEM_TYPE_TEXT`.
This restores controls such as the Source button in the IW4x server browser.
2026-07-17 18:26:50 +02:00
Jan Laupetin
90d7f92ddd
chore: replace all usages of removed ClassUtils macros
2026-03-06 00:13:04 +01:00
Jan
0bcadc1abe
Add test to ensure menu simple color properties can be static
...
expressions
2023-12-26 13:11:59 +01:00
Jan
851baa5931
Add test to ensure menu simple floating point properties can be static
...
expressions
2023-12-26 13:09:20 +01:00
Jan
749f44b2c4
Add tests to ensure menu simple int properties can be static expressions
2023-12-26 13:06:48 +01:00
Jan
7820390dd8
Support static expressions for menu simple string properties
2023-12-25 22:59:56 +01:00
Jan
1b5d6f7439
Add unit test for menu item origin
2023-12-25 19:52:20 +01:00
Jan
f5c987ce59
Add unit tests for menu item rect
2023-12-25 19:52:05 +01:00
Jan
eb8ce86245
Add assertions to dvarStrList test to make sure the state is correct
2023-12-25 17:48:32 +01:00
Clang Format and Jan
c858695f0c
Adjust further code formatting
2023-11-19 21:07:28 +00:00
Clang Format and Jan
6b4f5d94a8
Reformat code with clang format
2023-11-19 21:07:21 +00:00
Jan
6c164eee61
Update catch2 version
2023-06-18 13:40:30 +02:00
Jan
d2262ebaec
Fix menu dvarStrList not working because of String chaining
2021-12-28 11:49:42 +01:00