Skip to content

Commit

Permalink
Bind more raw stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
dpwiz committed Jul 18, 2024
1 parent fd1aaab commit 1874784
Show file tree
Hide file tree
Showing 3 changed files with 441 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/DearImGui.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ colorPicker3 desc ref = liftIO do
ImVec3{x, y, z} <- get ref
withArray (realToFrac <$> [x, y, z]) \refPtr -> do
changed <- Text.withCString desc \descPtr ->
Raw.colorPicker3 descPtr refPtr
Raw.colorPicker3 descPtr refPtr ImGuiColorEditFlags_None

when changed do
[x', y', z'] <- peekArray 3 refPtr
Expand Down
Loading

0 comments on commit 1874784

Please sign in to comment.