Skip to content

Comments

[MSPAINT] Allow paletteWindow to be bottom-aligned#5216

Merged
katahiromz merged 2 commits intoreactos:masterfrom
katahiromz:pal-top-bottom
Apr 4, 2023
Merged

[MSPAINT] Allow paletteWindow to be bottom-aligned#5216
katahiromz merged 2 commits intoreactos:masterfrom
katahiromz:pal-top-bottom

Conversation

@katahiromz
Copy link
Contributor

@katahiromz katahiromz commented Apr 3, 2023

Purpose

The user will be able to move the palette window to bottom by dragging.
JIRA issue: CORE-18867

Screenshots

Top:
top

Bottom:
bottom

Proposed changes

  • Add Bar1ID registry setting.
  • Move paletteWindow to top or bottom in mainWindow's WM_SIZE handling.
  • Track the mouse dragging on paletteWindow.
  • If the dragging is beyond the center point, then move paletteWindow.

TODO

  • Do tests.

@katahiromz katahiromz added the enhancement For PRs with an enhancement/new feature. label Apr 3, 2023
@katahiromz katahiromz merged commit d0c6570 into reactos:master Apr 4, 2023
@katahiromz katahiromz deleted the pal-top-bottom branch April 4, 2023 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement For PRs with an enhancement/new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants