Configuration flags stored in io.ConfigFlags. Set by user/application.
| 1530 | |
| 1531 | // Configuration flags stored in io.ConfigFlags. Set by user/application. |
| 1532 | enum ImGuiConfigFlags_ |
| 1533 | { |
| 1534 | ImGuiConfigFlags_None = 0, |
| 1535 | ImGuiConfigFlags_NavEnableKeyboard = 1 << 0, // Master keyboard navigation enable flag. Enable full Tabbing + directional arrows + space/enter to activate. |
| 1536 | ImGuiConfigFlags_NavEnableGamepad = 1 << 1, // Master gamepad navigation enable flag. Backend also needs to set ImGuiBackendFlags_HasGamepad. |
| 1537 | ImGuiConfigFlags_NavEnableSetMousePos = 1 << 2, // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your backend, otherwise ImGui will react as if the mouse is jumping around back and forth. |
| 1538 | ImGuiConfigFlags_NavNoCaptureKeyboard = 1 << 3, // Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set. |
| 1539 | ImGuiConfigFlags_NoMouse = 1 << 4, // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information set by the backend. |
| 1540 | ImGuiConfigFlags_NoMouseCursorChange = 1 << 5, // Instruct backend to not alter mouse cursor shape and visibility. Use if the backend cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead. |
| 1541 | |
| 1542 | // User storage (to allow your backend/engine to communicate to code that may be shared between multiple projects. Those flags are NOT used by core Dear ImGui) |
| 1543 | ImGuiConfigFlags_IsSRGB = 1 << 20, // Application is SRGB-aware. |
| 1544 | ImGuiConfigFlags_IsTouchScreen = 1 << 21, // Application is using a touch screen instead of a mouse. |
| 1545 | }; |
| 1546 | |
| 1547 | // Backend capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom backend. |
| 1548 | enum ImGuiBackendFlags_ |
nothing calls this directly
no outgoing calls
no test coverage detected