Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Sep 28, 2023
1 parent 26d13f0 commit 249308a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ __Other utilities:__
* `FrameRate(durationForMean = 0.5)`: Returns the current FrameRate.
May differ from ImGui::GetIO().FrameRate, since one can choose the duration for the calculation of the mean value of the fps

* `ImGuiTestEngine* GetImGuiTestEngine()`: returns a pointer to the global instance of ImGuiTestEngine that was
initialized by HelloImGui (iif ImGui Test Engine is active).

Although the API is extremely simple, it is highly customizable, and you can set many options by filling the elements in the `RunnerParams` struct, or in the simpler `SimpleRunnerParams`, or even by giving a subset of params to `HelloImGui::Run`.

Click on the image below to access the [full API doc](src/hello_imgui/hello_imgui_api.md)
Expand Down
3 changes: 3 additions & 0 deletions src/hello_imgui/hello_imgui_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ __Other utilities:__
* `FrameRate(durationForMean = 0.5)`: Returns the current FrameRate.
May differ from ImGui::GetIO().FrameRate, since one can choose the duration for the calculation of the mean value of the fps

* `ImGuiTestEngine* GetImGuiTestEngine()`: returns a pointer to the global instance of ImGuiTestEngine that was
initialized by HelloImGui (iif ImGui Test Engine is active).

## Runner params

See [runner_params.h](runner_params.h).
Expand Down

0 comments on commit 249308a

Please sign in to comment.