mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-23 23:31:08 +01:00
C++11 to C++98
This commit is contained in:
parent
9afeae3998
commit
b0d1723a2f
@ -485,7 +485,7 @@ static void ShowDemoWindowWidgets()
|
||||
ImGui::SameLine(); ShowHelpMarker("USER:\nHold SHIFT or use mouse to select text.\n" "CTRL+Left/Right to word jump.\n" "CTRL+A or double-click to select all.\n" "CTRL+X,CTRL+C,CTRL+V clipboard.\n" "CTRL+Z,CTRL+Y undo/redo.\n" "ESCAPE to revert.\n\nPROGRAMMER:\nYou can use the ImGuiInputTextFlags_CallbackResize facility if you need to wire InputText() to a dynamic string type. See misc/cpp/imgui_stdlib.h for an example (this is not demonstrated in imgui_demo.cpp).");
|
||||
|
||||
static char str1[128] = "";
|
||||
static bool is_user_data{false};
|
||||
static bool is_user_data = false;
|
||||
ImGui::InputTextHinted("hinted input text", "type text here", str1, IM_ARRAYSIZE(str1), &is_user_data);
|
||||
|
||||
static int i0 = 123;
|
||||
|
Loading…
Reference in New Issue
Block a user