You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Issue/Question:
I have a ImGui::InputText("aaa", b). At first, the string b is empty .The problem is that I will update the b outside(such as a button, when I enter the button , b will be assigned) , but in the next loop, the b is reset (actually b is empty again). So how can I update the b outside without resetting ? ? ? Or in outside I can change the content in the inputtext(aaa)?
Thanks a lot !
The text was updated successfully, but these errors were encountered:
Version/Branch of Dear ImGui:
Version: 1.81
Branch: master
Back-end/Renderer/Compiler/OS
Back-ends: imgui_impl_OpenGL3.cpp + imgui_impl_glfw.cpp _
Compiler: bazel VScode
Operating System: Ubuntu 18.04.5 LTS
My Issue/Question:
I have a
ImGui::InputText("aaa", b)
. At first, the stringb
is empty .The problem is that I will update theb
outside(such as a button, when I enter the button ,b
will be assigned) , but in the next loop, theb
is reset (actually b is empty again). So how can I update theb
outside without resetting ? ? ? Or in outside I can change the content in the inputtext(aaa
)?Thanks a lot !
The text was updated successfully, but these errors were encountered: