Repository navigation
Remember the image compare splitter position - #3593
Merged
Merged
Conversation
Load the splitter position in CImgMergeFrame::LoadOptions() and write it back in SaveOptions(), using new IImgMergeWindow accessors. Settings/ImageSplitterPosition holds the smaller pane's size in pixels, signed to indicate which pane it applies to, so the range allows negative values. Src/WinIMergeLib.h is the copy of the interface that Src/ImgMergeFrm.h includes, so the accessors are declared there as well as in Externals/winimerge. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Member
|
Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #3591. WinMerge/winimerge#39 is merged;
Externals/winimergeon master still points at 57ef929, so it needs a bump before this builds. No submodule change is included here.Loads the splitter position in
CImgMergeFrame::LoadOptions()and writes it back inSaveOptions().Settings/ImageSplitterPositionholds the smaller pane's size in pixels, signed to indicate which pane, so the range allows negative values.Src/WinIMergeLib.his the copy of the interface thatSrc/ImgMergeFrm.hincludes, so the accessors are declared there as well as inExternals/winimerge.Scoped to image compare, with no menu item. If it is more useful as a starting point for the wider Window > Keep Splitter Position design than as a merge, please treat it that way.