dear-imgui-raw-internal-1.0.0: src/DearImGui/Raw/Internal/Enums/ImGuiWindowRefreshFlags.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.Internal.Enums.ImGuiWindowRefreshFlags
( ImGuiWindowRefreshFlags
, pattern None
, pattern RefreshOnFocus
, pattern RefreshOnHover
, pattern TryToAvoidRefresh
) where
import Foreign.C.Types
#include "dcimgui_nodefaultargfunctions_internal.h"
-- typedefs
-- | -> enum ImGuiWindowRefreshFlags_ // Flags: for SetNextWindowRefreshPolicy()
type ImGuiWindowRefreshFlags = CInt
-- enums
pattern None :: ImGuiWindowRefreshFlags
pattern None = #{const ImGuiWindowRefreshFlags_None}
-- | [EXPERIMENTAL] Try to keep existing contents, USER MUST NOT HONOR BEGIN() RETURNING FALSE AND NOT APPEND.
pattern TryToAvoidRefresh :: ImGuiWindowRefreshFlags
pattern TryToAvoidRefresh = #{const ImGuiWindowRefreshFlags_TryToAvoidRefresh}
-- | [EXPERIMENTAL] Always refresh on hover
pattern RefreshOnHover :: ImGuiWindowRefreshFlags
pattern RefreshOnHover = #{const ImGuiWindowRefreshFlags_RefreshOnHover}
-- | [EXPERIMENTAL] Always refresh on focus
pattern RefreshOnFocus :: ImGuiWindowRefreshFlags
pattern RefreshOnFocus = #{const ImGuiWindowRefreshFlags_RefreshOnFocus}