BackendFlags.go 808 B

1234567891011121314151617
  1. package imgui
  2. const (
  3. // BackendFlagNone default = 0
  4. BackendFlagNone = 0
  5. // BackendFlagHasGamepad back-end Platform supports gamepad and currently has one connected.
  6. BackendFlagHasGamepad = 1 << 0
  7. // BackendFlagHasMouseCursors back-end Platform supports honoring GetMouseCursor() value to change the OS cursor
  8. // shape.
  9. BackendFlagHasMouseCursors = 1 << 1
  10. // BackendFlagHasSetMousePos back-end Platform supports io.WantSetMousePos requests to reposition the OS mouse
  11. // position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set).
  12. BackendFlagHasSetMousePos = 1 << 2
  13. // BackendFlagsRendererHasVtxOffset back-end Renderer supports ImDrawCmd::VtxOffset. This enables output of large
  14. // meshes (64K+ vertices) while still using 16-bits indices.
  15. BackendFlagsRendererHasVtxOffset = 1 << 3
  16. )