mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2024-11-26 02:27:00 +00:00
Wrap ImGui::Bullet()
This commit is contained in:
parent
90d96ad938
commit
1bd51ab35e
@ -57,6 +57,7 @@ module DearImGui
|
|||||||
, smallButton
|
, smallButton
|
||||||
, arrowButton
|
, arrowButton
|
||||||
, checkbox
|
, checkbox
|
||||||
|
, bullet
|
||||||
|
|
||||||
-- * Types
|
-- * Types
|
||||||
, ImGuiDir
|
, ImGuiDir
|
||||||
@ -315,6 +316,12 @@ checkbox label ref = do
|
|||||||
return changed
|
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.
|
-- | A cardinal direction.
|
||||||
newtype ImGuiDir = ImGuiDir CInt
|
newtype ImGuiDir = ImGuiDir CInt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user