| 1234567891011121314151617181920212223242526272829303132333435363738 |
- package imgui
- const (
- // ConfigFlagNone default = 0
- ConfigFlagNone = 0
- // ConfigFlagNavEnableKeyboard master keyboard navigation enable flag. NewFrame() will automatically fill
- // io.NavInputs[] based on io.KeysDown[].
- ConfigFlagNavEnableKeyboard = 1 << 0
- // ConfigFlagNavEnableGamepad master gamepad navigation enable flag.
- // This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set
- // BackendFlagHasGamepad.
- ConfigFlagNavEnableGamepad = 1 << 1
- // ConfigFlagNavEnableSetMousePos 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 binding, otherwise ImGui will react as if the mouse is jumping
- // around back and forth.
- ConfigFlagNavEnableSetMousePos = 1 << 2
- // ConfigFlagNavNoCaptureKeyboard instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive
- // is set.
- ConfigFlagNavNoCaptureKeyboard = 1 << 3
- // ConfigFlagNoMouse instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse
- // information set by the back-end.
- ConfigFlagNoMouse = 1 << 4
- // ConfigFlagNoMouseCursorChange instruct back-end to not alter mouse cursor shape and visibility. Use if the
- // back-end 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.
- ConfigFlagNoMouseCursorChange = 1 << 5
- ConfigFlagEnablePowerSavingMode = 1 << 6
- // User storage (to allow your back-end/engine to communicate to code that may be shared between multiple projects.
- // Those flags are not used by core Dear ImGui)
- // ConfigFlagIsSRGB application is SRGB-aware.
- ConfigFlagIsSRGB = 1 << 20
- // ConfigFlagIsTouchScreen application is using a touch screen instead of a mouse.
- ConfigFlagIsTouchScreen = 1 << 21
- )
|