diff --git a/src/hello_imgui/doc_api.md b/src/hello_imgui/doc_api.md index 698799db..4c6fe1f1 100644 --- a/src/hello_imgui/doc_api.md +++ b/src/hello_imgui/doc_api.md @@ -460,7 +460,7 @@ void ShowAppMenu(RunnerParams & runnerParams); // # Somewhere in the application state // text_input = hello_imgui.InputTextData("My text", multiline=True, size_em=ImVec2(10, 3)) // # In the GUI function - // changed = hello_imgui.InputTextResizable("Label", text_input) + // changed = hello_imgui.input_text_resizable("Label", text_input) // ``` struct InputTextData { diff --git a/src/hello_imgui/hello_imgui_widgets.h b/src/hello_imgui/hello_imgui_widgets.h index 9e37ff78..83e2371a 100644 --- a/src/hello_imgui/hello_imgui_widgets.h +++ b/src/hello_imgui/hello_imgui_widgets.h @@ -64,7 +64,7 @@ namespace HelloImGui // # Somewhere in the application state // text_input = hello_imgui.InputTextData("My text", multiline=True, size_em=ImVec2(10, 3)) // # In the GUI function - // changed = hello_imgui.InputTextResizable("Label", text_input) + // changed = hello_imgui.input_text_resizable("Label", text_input) // ``` struct InputTextData {