Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed May 14, 2024
1 parent 15e154d commit 05a2472
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hello_imgui/doc_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/hello_imgui/hello_imgui_widgets.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 05a2472

Please sign in to comment.