dear-imgui-raw-1.0.0: src/DearImGui/Raw/Enums/ImGuiFocusedFlags.hsc
{-# LANGUAGE CApiFFI #-}
{-# LANGUAGE PatternSynonyms #-}
-- This file was generated by dear-bindings-ffi. Do not edit by hand.
module DearImGui.Raw.Enums.ImGuiFocusedFlags
( ImGuiFocusedFlags
, pattern AnyWindow
, pattern ChildWindows
, pattern DockHierarchy
, pattern NoPopupHierarchy
, pattern None
, pattern RootAndChildWindows
, pattern RootWindow
) where
import Foreign.C.Types
#include "dcimgui_nodefaultargfunctions.h"
-- typedefs
-- | Flags for ImGui::IsWindowFocused()
type ImGuiFocusedFlags = CInt
-- enums
pattern None :: ImGuiFocusedFlags
pattern None = #{const ImGuiFocusedFlags_None}
-- | Return true if any children of the window is focused
pattern ChildWindows :: ImGuiFocusedFlags
pattern ChildWindows = #{const ImGuiFocusedFlags_ChildWindows}
-- | Test from root window (top most parent of the current hierarchy)
pattern RootWindow :: ImGuiFocusedFlags
pattern RootWindow = #{const ImGuiFocusedFlags_RootWindow}
-- | Return true if any window is focused. Important: If you are trying to tell how to dispatch your low-level inputs, do NOT use this. Use 'io.WantCaptureMouse' instead! Please read the FAQ!
pattern AnyWindow :: ImGuiFocusedFlags
pattern AnyWindow = #{const ImGuiFocusedFlags_AnyWindow}
-- | Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow)
pattern NoPopupHierarchy :: ImGuiFocusedFlags
pattern NoPopupHierarchy = #{const ImGuiFocusedFlags_NoPopupHierarchy}
-- | Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow)
pattern DockHierarchy :: ImGuiFocusedFlags
pattern DockHierarchy = #{const ImGuiFocusedFlags_DockHierarchy}
pattern RootAndChildWindows :: ImGuiFocusedFlags
pattern RootAndChildWindows = #{const ImGuiFocusedFlags_RootAndChildWindows}