dear-imgui-raw-1.0.0: src/DearImGui/Raw/Enums/ImGuiConfigFlags.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.Enums.ImGuiConfigFlags
( ImGuiConfigFlags
, pattern DockingEnable
, pattern IsSRGB
, pattern IsTouchScreen
, pattern NavEnableGamepad
, pattern NavEnableKeyboard
, pattern NoKeyboard
, pattern NoMouse
, pattern NoMouseCursorChange
, pattern None
, pattern ViewportsEnable
) where
import Foreign.C.Types
#include "dcimgui_nodefaultargfunctions.h"
-- typedefs
-- | Configuration flags stored in io.ConfigFlags. Set by user/application.
-- Note that nowadays most of our configuration options are in other ImGuiIO fields, e.g. io.ConfigWindowsMoveFromTitleBarOnly.
type ImGuiConfigFlags = CInt
-- enums
pattern None :: ImGuiConfigFlags
pattern None = #{const ImGuiConfigFlags_None}
-- | Master keyboard navigation enable flag. Enable full Tabbing + directional arrows + Space/Enter to activate. Note: some features such as basic Tabbing and CtrL+Tab are enabled by regardless of this flag (and may be disabled via other means, see #4828, #9218).
pattern NavEnableKeyboard :: ImGuiConfigFlags
pattern NavEnableKeyboard = #{const ImGuiConfigFlags_NavEnableKeyboard}
-- | Master gamepad navigation enable flag. Backend also needs to set ImGuiBackendFlags_HasGamepad.
pattern NavEnableGamepad :: ImGuiConfigFlags
pattern NavEnableGamepad = #{const ImGuiConfigFlags_NavEnableGamepad}
-- | Instruct dear imgui to disable mouse inputs and interactions.
pattern NoMouse :: ImGuiConfigFlags
pattern NoMouse = #{const ImGuiConfigFlags_NoMouse}
-- | 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.
pattern NoMouseCursorChange :: ImGuiConfigFlags
pattern NoMouseCursorChange = #{const ImGuiConfigFlags_NoMouseCursorChange}
-- | Instruct dear imgui to disable keyboard inputs and interactions. This is done by ignoring keyboard events and clearing existing states.
pattern NoKeyboard :: ImGuiConfigFlags
pattern NoKeyboard = #{const ImGuiConfigFlags_NoKeyboard}
-- | [BETA] Docking
-- Docking enable flags.
pattern DockingEnable :: ImGuiConfigFlags
pattern DockingEnable = #{const ImGuiConfigFlags_DockingEnable}
-- | [BETA] Viewports
-- When using viewports it is recommended that your default value for ImGuiCol_WindowBg is opaque (Alpha=1.0) so transition to a viewport won't be noticeable.
-- Viewport enable flags (require both ImGuiBackendFlags_PlatformHasViewports + ImGuiBackendFlags_RendererHasViewports set by the respective backends)
pattern ViewportsEnable :: ImGuiConfigFlags
pattern ViewportsEnable = #{const ImGuiConfigFlags_ViewportsEnable}
-- | [Unused] 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)
-- Application is SRGB-aware.
pattern IsSRGB :: ImGuiConfigFlags
pattern IsSRGB = #{const ImGuiConfigFlags_IsSRGB}
-- | Application is using a touch screen instead of a mouse.
pattern IsTouchScreen :: ImGuiConfigFlags
pattern IsTouchScreen = #{const ImGuiConfigFlags_IsTouchScreen}