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
Hi, I made a simple gui and I made a login screen, so I have two inputs and a button.
The issue is, I wanna make a remember me button but I can't change the value of the input in load. static char username[64] = GetUsername(); ImGui::InputText("Username", username, 64, ImGuiInputTextFlags_CharsNoBlank);
How I can set the input? I can't set it like username = something; either. GetUsername() is string btw.
The text was updated successfully, but these errors were encountered:
DrJedikiah
changed the title
How To Set InputText's Value
How To Change InputText's Value
Jul 7, 2017
Hi, I made a simple gui and I made a login screen, so I have two inputs and a button.
The issue is, I wanna make a remember me button but I can't change the value of the input in load.
static char username[64] = GetUsername(); ImGui::InputText("Username", username, 64, ImGuiInputTextFlags_CharsNoBlank);
How I can set the input? I can't set it like username = something; either. GetUsername() is string btw.
The text was updated successfully, but these errors were encountered: