dear-imgui-raw-1.0.0: src/DearImGui/Raw/Enums/ImGuiMouseButton.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.Enums.ImGuiMouseButton
( ImGuiMouseButton
, pattern COUNT
, pattern Left
, pattern Middle
, pattern Right
) where
import Foreign.C.Types
import Prelude hiding (Left, Right)
#include "dcimgui_nodefaultargfunctions.h"
-- typedefs
-- | Identify a mouse button.
-- Those values are guaranteed to be stable and we frequently use 0/1 directly. Named enums provided for convenience.
type ImGuiMouseButton = CInt
-- enums
pattern Left :: ImGuiMouseButton
pattern Left = #{const ImGuiMouseButton_Left}
pattern Right :: ImGuiMouseButton
pattern Right = #{const ImGuiMouseButton_Right}
pattern Middle :: ImGuiMouseButton
pattern Middle = #{const ImGuiMouseButton_Middle}
pattern COUNT :: ImGuiMouseButton
pattern COUNT = #{const ImGuiMouseButton_COUNT}