mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 05:41:58 +00:00
[MSPAINT] Define GRIP_SIZE macro and use it (#4192)
Reduce magic numbers. CORE-17931
This commit is contained in:
parent
9e1386db43
commit
614354ccb5
7 changed files with 51 additions and 53 deletions
|
@ -39,7 +39,7 @@ zoomTo(int newZoom, int mouseX, int mouseY)
|
|||
toolsModel.SetZoom(newZoom);
|
||||
|
||||
selectionWindow.ShowWindow(SW_HIDE);
|
||||
imageArea.MoveWindow(3, 3, Zoomed(imageModel.GetWidth()), Zoomed(imageModel.GetHeight()), FALSE);
|
||||
imageArea.MoveWindow(GRIP_SIZE, GRIP_SIZE, Zoomed(imageModel.GetWidth()), Zoomed(imageModel.GetHeight()), FALSE);
|
||||
scrollboxWindow.Invalidate(TRUE);
|
||||
imageArea.Invalidate(FALSE);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue