Polyphase Game Engine
Loading...
Searching...
No Matches
EditorMainMenu.h
Go to the documentation of this file.
1#pragma once
2
3#if EDITOR
4
5#include <cstdint>
6
7namespace EditorMenuPos
8{
9 constexpr int32_t AfterFile = 0;
10 constexpr int32_t AfterEdit = 1;
11 constexpr int32_t AfterView = 2;
12 constexpr int32_t AfterWorld = 3;
13 constexpr int32_t AfterTools = 4;
14
15 // Legacy slots — preserved for addon-API stability after the top-level
16 // Addons and Extra menus were folded into Tools and Help respectively.
17 // Both now anchor between Tools and Help (where Addons/Extra used to live).
18 constexpr int32_t Legacy_AfterAddons = 5;
19 constexpr int32_t Legacy_AfterExtra = 6;
20
21 constexpr int32_t Append = -1;
22}
23
24void DrawMainMenuBarMenus(bool& outOpenSaveSceneAsModal);
25
26#endif