dear-imgui-raw-1.0.0: src/DearImGui/Raw/Enums/ImFontFlags.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.Enums.ImFontFlags
( ImFontFlags
, pattern ImplicitRefSize
, pattern LockBakedSizes
, pattern NoLoadError
, pattern NoLoadGlyphs
, pattern None
) where
import Foreign.C.Types
#include "dcimgui_nodefaultargfunctions.h"
-- typedefs
-- | Font flags
-- (in future versions as we redesign font loading API, this will become more important and better documented. for now please consider this as internal/advanced use)
type ImFontFlags = CInt
-- enums
pattern None :: ImFontFlags
pattern None = #{const ImFontFlags_None}
-- | Disable throwing an error/assert when calling AddFontXXX() with missing file/data. Calling code is expected to check AddFontXXX() return value.
pattern NoLoadError :: ImFontFlags
pattern NoLoadError = #{const ImFontFlags_NoLoadError}
-- | [Internal] Disable loading new glyphs.
pattern NoLoadGlyphs :: ImFontFlags
pattern NoLoadGlyphs = #{const ImFontFlags_NoLoadGlyphs}
-- | [Internal] Disable loading new baked sizes, disable garbage collecting current ones. e.g. if you want to lock a font to a single size. Important: if you use this to preload given sizes, consider the possibility of multiple font density used on Retina display.
pattern LockBakedSizes :: ImFontFlags
pattern LockBakedSizes = #{const ImFontFlags_LockBakedSizes}
-- | [Internal] Reference size was not set explicitly.
pattern ImplicitRefSize :: ImFontFlags
pattern ImplicitRefSize = #{const ImFontFlags_ImplicitRefSize}