Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added more window management functions #58

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dima13230
Copy link
Contributor

Added functions:

  • void SetNextWindowFocus();
  • void SetWindowFocus();
  • void SetWindowFocus(const char* name);
  • void SetNextWindowCollapsed(bool collapsed, ImGuiSetCondition cond = 0);
  • void SetWindowCollapsed(bool collapsed, ImGuiSetCondition cond = 0);
  • void SetWindowCollapsed(const char* name, bool collapsed, ImGuiSetCondition cond = 0);

I didn't test them much yet but they seem to be working

@britzl
Copy link
Owner

britzl commented Jul 25, 2024

Thank you! Could you please also include these functions in the example app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants