mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2025-07-07 05:28:48 +02:00
Wrap ImGui::Separator()
This commit is contained in:
@ -49,6 +49,7 @@ module DearImGui
|
||||
, end
|
||||
|
||||
-- * Cursor/Layout
|
||||
, separator
|
||||
, sameLine
|
||||
|
||||
-- * Widgets
|
||||
@ -311,6 +312,15 @@ end = liftIO do
|
||||
[C.exp| void { ImGui::End(); } |]
|
||||
|
||||
|
||||
-- | Separator, generally horizontal. inside a menu bar or in horizontal layout
|
||||
-- mode, this becomes a vertical separator.
|
||||
--
|
||||
-- Wraps @ImGui::Separator()@
|
||||
separator :: MonadIO m => m ()
|
||||
separator = liftIO do
|
||||
[C.exp| void { Separator(); } |]
|
||||
|
||||
|
||||
-- | Call between widgets or groups to layout them horizontally.
|
||||
--
|
||||
-- Wraps @ImGui::SameLine@.
|
||||
|
Reference in New Issue
Block a user