We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90d96ad commit 1bd51abCopy full SHA for 1bd51ab
src/DearImGui.hs
@@ -57,6 +57,7 @@ module DearImGui
57
, smallButton
58
, arrowButton
59
, checkbox
60
+ , bullet
61
62
-- * Types
63
, ImGuiDir
@@ -315,6 +316,12 @@ checkbox label ref = do
315
316
return changed
317
318
319
+-- | Draw a small circle + keep the cursor on the same line. Advance cursor x
320
+-- position by 'getTreeNodeToLabelSpacing', same distance that 'treeNode' uses.
321
+bullet :: IO ()
322
+bullet = [C.exp| void { Bullet() } |]
323
+
324
325
-- | A cardinal direction.
326
newtype ImGuiDir = ImGuiDir CInt
327
0 commit comments