-
I would like to access the dockableWindows that are defined in the HelloImGui::AbstractRunner. AbstractRunner contains the HelloImGui::DockingParams, which contains std::vectorHelloImGui::DockableWindow could be accessed from gLastRunner in the code below (taken from hello_imgui.cpp), but I cannot access gLastRunner. Here is the code where gLastRunner is defined in hello_imgui.cpp: void Run(RunnerParams& runnerParams) I have been thinking along the lines of something like this to access the dockableWindows: HelloImGui::RunnerParams & _runner_params = gLastRunner; But there is no apparent way to access gLastRunner. Are the dockableWindows accessible? and if so, how may I access them? Thank-you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can query RunnerParams* HelloImGui::GetRunnerParams(); Is this what you are looking for ? |
Beta Was this translation helpful? Give feedback.
-
Yes, thank-you Pascal.
Yours truly,
Peter Walker
… On Jun 28, 2024, at 12:27 PM, Pascal Thomet ***@***.***> wrote:
You can query
RunnerParams* HelloImGui::GetRunnerParams();
Is this what you are looking for ?
—
Reply to this email directly, view it on GitHub <#116 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A4IQUUNJFRH7BWMQH2J7DHTZJWFGDAVCNFSM6AAAAABKCFBZY6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSMBXGAYDK>.
You are receiving this because you authored the thread.
|
Beta Was this translation helpful? Give feedback.
You can query
RunnerParams* HelloImGui::GetRunnerParams();
Is this what you are looking for ?