mirror of
				https://github.com/Drezil/dear-imgui.hs.git
				synced 2025-11-03 22:51:07 +01:00 
			
		
		
		
	Wrap ImGui::Bullet()
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user