Skip to content

Commit

Permalink
Improve doc / background color
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Jan 30, 2024
1 parent 133e2a0 commit 14db51d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hello_imgui/imgui_window_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ struct ImGuiWindowParams
ImGuiTheme::ImGuiTweakedTheme tweakedTheme;

// backgroundColor:
// This is the "clearColor", visible if defaultImGuiWindowType!=ProvideFullScreenWindow.
// This is the "clearColor", i.e. the app window background color, is visible *only if*
// runnerParams.imGuiWindowParams.defaultImGuiWindowType = NoDefaultWindow
// Alternatively, you can set your own RunnerCallbacks.CustomBackground to have full
// control over what is drawn behind the Gui.
ImVec4 backgroundColor = ImVec4(0.f, 0.f, 0.f, 0.f);
Expand Down

0 comments on commit 14db51d

Please sign in to comment.