File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ loop w checked = do
58
58
True -> readIORef checked >>= print
59
59
False -> return ()
60
60
61
+ separator
62
+
61
63
progressBar 0.314 (Just " Pi" )
62
64
63
65
beginCombo " Label" " Preview" >>= whenTrue do
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ module DearImGui
49
49
, end
50
50
51
51
-- * Cursor/Layout
52
+ , separator
52
53
, sameLine
53
54
54
55
-- * Widgets
@@ -311,6 +312,15 @@ end = liftIO do
311
312
[C. exp | void { ImGui::End(); } |]
312
313
313
314
315
+ -- | Separator, generally horizontal. inside a menu bar or in horizontal layout
316
+ -- mode, this becomes a vertical separator.
317
+ --
318
+ -- Wraps @ImGui::Separator()@
319
+ separator :: MonadIO m => m ()
320
+ separator = liftIO do
321
+ [C. exp | void { Separator(); } |]
322
+
323
+
314
324
-- | Call between widgets or groups to layout them horizontally.
315
325
--
316
326
-- Wraps @ImGui::SameLine@.
You can’t perform that action at this time.
0 commit comments