mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2024-11-22 16:57:00 +00:00
Wrap ImGui::Bullet()
This commit is contained in:
parent
90d96ad938
commit
1bd51ab35e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user