Wrap ImGui::Bullet()

This commit is contained in:
Ollie Charles 2021-01-24 15:56:23 +00:00
parent 90d96ad938
commit 1bd51ab35e

View File

@ -57,6 +57,7 @@ module DearImGui
, smallButton
, arrowButton
, checkbox
, bullet
-- * Types
, ImGuiDir
@ -315,6 +316,12 @@ checkbox label ref = do
return changed
-- | Draw a small circle + keep the cursor on the same line. Advance cursor x
-- position by 'getTreeNodeToLabelSpacing', same distance that 'treeNode' uses.
bullet :: IO ()
bullet = [C.exp| void { Bullet() } |]
-- | A cardinal direction.
newtype ImGuiDir = ImGuiDir CInt