Skip to content

Foreground and background title bars are distinguishable#2497

Merged
sdottaka merged 2 commits intoWinMerge:masterfrom
lededev:actvwnd
Oct 27, 2024
Merged

Foreground and background title bars are distinguishable#2497
sdottaka merged 2 commits intoWinMerge:masterfrom
lededev:actvwnd

Conversation

@lededev
Copy link
Contributor

@lededev lededev commented Oct 27, 2024

Currently, with multiple WinMerge instances open, it’s difficult to identify the active window. This PR changes the title bar background color when the program loses focus, making it easier to spot the active window among multiple instances.
Before
屏幕截图 2024-10-27 214315
After
f20241027T215958
With colorful picture wallpaper, the distinction between the two backgrounds remains low. However, I believe color adjustments should not be decided by me, so I am only submitting the functional code.

@sdottaka sdottaka merged commit 9b2e966 into WinMerge:master Oct 27, 2024
@sdottaka
Copy link
Member

Thank you for the PR.
I would prefer not to include MainFrm.h in MDITabBar.cpp if possible, so I may change it later so that it does not include MainFrm.h.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants