mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 14:10:06 +00:00
ImGui context model test fixes
This commit is contained in:
parent
65f63bbf85
commit
399a07b1e2
4 changed files with 23 additions and 14 deletions
|
|
@ -130,6 +130,11 @@ void ImGuiContextModel::DestroyContext(const std::string& name)
|
|||
}
|
||||
}
|
||||
|
||||
std::vector<ImGuiContextInfo> ImGuiContextModel::contexts() const
|
||||
{
|
||||
return p->contexts_;
|
||||
}
|
||||
|
||||
ImGuiContextModel& ImGuiContextModel::Instance()
|
||||
{
|
||||
static ImGuiContextModel instance_ {};
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ public:
|
|||
ImGuiContext* CreateContext(const std::string& name);
|
||||
void DestroyContext(const std::string& name);
|
||||
|
||||
std::vector<ImGuiContextInfo> contexts() const;
|
||||
|
||||
static ImGuiContextModel& Instance();
|
||||
|
||||
signals:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue