Skip to content

Commit

Permalink
naming
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Jan 9, 2024
1 parent a203c23 commit fc3f221
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/hello_imgui/doc_params.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ struct RunnerCallbacks

// `AddEdgeToolbar`: Add a toolbar that can be placed on the edges of the App window
void AddEdgeToolbar(EdgeToolbarType edgeToolbarType,
VoidFunction callback,
VoidFunction guiFunction,
const EdgeToolbarOptions& options = EdgeToolbarOptions());


Expand Down
4 changes: 2 additions & 2 deletions src/hello_imgui/runner_callbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ namespace HelloImGui
}

void RunnerCallbacks::AddEdgeToolbar(EdgeToolbarType edgeToolbarType,
VoidFunction callback,
VoidFunction guiFunction,
const EdgeToolbarOptions& options)
{
EdgeToolbar edgeToolbar;
edgeToolbar.ShowToolbar = callback;
edgeToolbar.ShowToolbar = guiFunction;
edgeToolbar.options = options;
edgesToolbars[edgeToolbarType] = edgeToolbar;
}
Expand Down
2 changes: 1 addition & 1 deletion src/hello_imgui/runner_callbacks.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ struct RunnerCallbacks

// `AddEdgeToolbar`: Add a toolbar that can be placed on the edges of the App window
void AddEdgeToolbar(EdgeToolbarType edgeToolbarType,
VoidFunction callback,
VoidFunction guiFunction,
const EdgeToolbarOptions& options = EdgeToolbarOptions());


Expand Down

0 comments on commit fc3f221

Please sign in to comment.