Add a feature to draw a border around the selected window#9129
Add a feature to draw a border around the selected window#9129TaiseiHamaya wants to merge 7 commits into
Conversation
|
With the current implementation, I have noticed an issue where, when it overlaps with a normal border or a resize border, two lines end up being drawn. |
… selected was incorrect.
…using BeginPopup/BeginMenu.
|
I believe that all issues I was able to identify on our side have been fixed in the previous commit. If there is anything else that needs to be addressed, please let me know. |
|
Apologies I didn’t have time to look at this yet but I will eventually. Thank you! |
…dow from buttons in the menu bar or pop-up.
|
The 4 calls to RenderWindowOuterSingleBorder are equivalent to simply calling |
|
Thank you for a feedback! Due to a breaking change in AddRect in v1.92.8, merging as-is will result in an error. |
I have implemented, in the docking branch, the option proposed in issue #3537 to draw a border when a window is selected.
The intent of this change is to provide an option that allows the selected window to be emphasized not only via
ImGuiCol_TitleBgActive, but also through a border, similar to the behavior in Visual Studio 2026.Please refer to the attached GIF for the behavior after the change.