Skip to content

Conversation

LuminousLizard
Copy link
Contributor

(1) Python/Pyimgui rewrite of the imgui demo window (WIP)
(2) 2 example scripts to demonstrate possible mistakes and program structures
All 3 scripts currently for the pygame backend.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 46.49% when pulling d961ef9 on LuminousLizard:patch-5 into 5a9e939 on swistakm:master.

@cellularmitosis
Copy link
Contributor

@LuminousLizard thanks for posting this! hopefully it will get merged.

@swistakm
Copy link
Member

@LuminousLizard thanks for the MR. The more examples the better! I have finally some free time so will start pulling all these MRs from my personal "backlog".

@LuminousLizard
Copy link
Contributor Author

@cellularmitosis ... thanks for reminding me to keep working xD ... the demo window is still WIP, but now I'm back

@swistakm I will complete the demo window and add a version for everyone backend. Maybe I can think of some more useful examples.

@Red-Pheonix
Copy link
Contributor

Running pygame_demo_window_impl doesn't work in my case.I had to make some changes to make it work.

  1. move imgui.create_context() before imgui.get_io()
  2. add renderer.render(imgui.get_draw_data()) before pygame.display.flip()

@LuminousLizard
Copy link
Contributor Author

Running pygame_demo_window_impl doesn't work in my case.I had to make some changes to make it work.

1. move imgui.create_context() before imgui.get_io()

2. add renderer.render(imgui.get_draw_data()) before pygame.display.flip()

Right because the examples are from the time of version 0.1.0. I have not taken the time to update the examples.

@swistakm swistakm merged commit d961ef9 into pyimgui:master Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants