Commit Graph

9 Commits

Author SHA1 Message Date
Rémi Verschelde ad4b910a10 Minimize include dependencies of display_server.h
- Removes `native_menu.h` dependency from `display_server.h`.
  It's now forward-declared in all DisplayServer implementations and should
  be included in the .cpp's.
- Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to
  having to include them explicitly in half the scene and editor codebase...
  which shows how much we depend on `display_server.h`.
- Forward-declare `input_event.h`, so now we need only `keyboard.h`.
2026-02-17 19:45:31 +01:00
Thaddeus Crews cdddc73745 Merge pull request #115379 from kitbdev/popupmenu-set-index
Add PopupMenu method `set_item_index`
2026-01-28 17:58:01 -06:00
Nintorch eb019511ed Optimize files that #include input.h header 2026-01-28 14:21:00 +05:00
kit 01839942fc Add PopupMenu method set_item_index 2026-01-26 12:17:56 -05:00
Pāvels Nadtočajevs 4fc07a8edb [macOS] Add option for renaming system menus. 2025-12-18 08:40:14 +02:00
Thaddeus Crews 324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
Yufeng Ying e88e30c273 Remove unused headers in servers.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2024-12-20 18:51:01 +08:00
bruvzg 1f7bf27780 [macOS] Improve native menu open/close callbacks. 2024-06-05 20:22:41 +03:00
bruvzg 399899a095 [NativeMenu] Move files to the display subfolder. 2024-03-26 10:18:08 +02:00