Closed QiuYilin closed 4 months ago
@QiuYilin I think including imgui with vcpkg is the simpler approach. But I like having quick access to the examples and source files of the imgui examples. They helped me a lot to understand and implement GUI features with imgui.
My workflow was often to use the examples window and look how the things I needed/found interesting were implemented with the .cpp files.
Like how this Youtuber presented it: BEST WAY to make Desktop Applications in C++
I don't know if this is possible with vcpkg. Maybe I missed something, or how do you use the examples if you want to look something up in the .cpp files.
But I like having quick access to the examples and source files of the imgui examples. They helped me a lot to understand and implement GUI features with imgui.My workflow was often to use the examples window and look how the things I needed/found interesting were implemented with the .cpp files.
This is indeed the more recommended approach by imgui:https://github.com/ocornut/imgui/blob/master/imgui_demo.cpp#L19
I don't know if this is possible with vcpkg. Maybe I missed something, or how do you use the examples if you want to look something up in the .cpp files.
Emmm, in the past, I would download another imgui or read the manual https://pthom.github.io/imgui_manual_online/manual/imgui_manual.html. Now I think if I use the vcpkg version I may need to additionally copy and paste imgui_demo.cpp. I think this question is not important, I just remind you in case you don't know that vcpkg has an imgui version. This video is very helpful to me, thank you.
There is imgui in vcpkg, why not use this version to simplify the compilation steps.