packages feed

dear-imgui-raw-1.0.0: src/DearImGui/Raw/Enums/ImGuiMouseCursor.hsc

{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}

-- This file was generated by dear-bindings-ffi. Do not edit by hand.

module DearImGui.Raw.Enums.ImGuiMouseCursor
  ( ImGuiMouseCursor
  , pattern Arrow
  , pattern COUNT
  , pattern Hand
  , pattern None
  , pattern NotAllowed
  , pattern Progress
  , pattern ResizeAll
  , pattern ResizeEW
  , pattern ResizeNESW
  , pattern ResizeNS
  , pattern ResizeNWSE
  , pattern TextInput
  , pattern Wait
  ) where

import Foreign.C.Types

#include "dcimgui_nodefaultargfunctions.h"

-- typedefs

-- | Enumeration for GetMouseCursor()
-- User code may request backend to display given cursor by calling SetMouseCursor(), which is why we have some cursors that are marked unused here
type ImGuiMouseCursor = CInt

-- enums

pattern None :: ImGuiMouseCursor
pattern None = #{const ImGuiMouseCursor_None}

pattern Arrow :: ImGuiMouseCursor
pattern Arrow = #{const ImGuiMouseCursor_Arrow}

-- | When hovering over InputText, etc.
pattern TextInput :: ImGuiMouseCursor
pattern TextInput = #{const ImGuiMouseCursor_TextInput}

-- | (Unused by Dear ImGui functions)
pattern ResizeAll :: ImGuiMouseCursor
pattern ResizeAll = #{const ImGuiMouseCursor_ResizeAll}

-- | When hovering over a horizontal border
pattern ResizeNS :: ImGuiMouseCursor
pattern ResizeNS = #{const ImGuiMouseCursor_ResizeNS}

-- | When hovering over a vertical border or a column
pattern ResizeEW :: ImGuiMouseCursor
pattern ResizeEW = #{const ImGuiMouseCursor_ResizeEW}

-- | When hovering over the bottom-left corner of a window
pattern ResizeNESW :: ImGuiMouseCursor
pattern ResizeNESW = #{const ImGuiMouseCursor_ResizeNESW}

-- | When hovering over the bottom-right corner of a window
pattern ResizeNWSE :: ImGuiMouseCursor
pattern ResizeNWSE = #{const ImGuiMouseCursor_ResizeNWSE}

-- | (Unused by Dear ImGui functions. Use for e.g. hyperlinks)
pattern Hand :: ImGuiMouseCursor
pattern Hand = #{const ImGuiMouseCursor_Hand}

-- | When waiting for something to process/load.
pattern Wait :: ImGuiMouseCursor
pattern Wait = #{const ImGuiMouseCursor_Wait}

-- | When waiting for something to process/load, but application is still interactive.
pattern Progress :: ImGuiMouseCursor
pattern Progress = #{const ImGuiMouseCursor_Progress}

-- | When hovering something with disallowed interaction. Usually a crossed circle.
pattern NotAllowed :: ImGuiMouseCursor
pattern NotAllowed = #{const ImGuiMouseCursor_NotAllowed}

pattern COUNT :: ImGuiMouseCursor
pattern COUNT = #{const ImGuiMouseCursor_COUNT}