Katayama Hirofumi MZ
d04e049284
[MSPAINT] s/Bound/Clamp/
...
CORE-18867
2023-06-22 07:57:36 +09:00
Katayama Hirofumi MZ
e8c7e30030
[MSPAINT] Establish Undo/Redo management ( #5347 )
...
- Painting the canvas is done by overlaying the multiple layers.
- Drawing each overlay is implemented as polymorphism of OOP.
- Refine the Undo/Redo mechanism.
- Some adjustments.
CORE-17969
2023-06-17 21:15:35 +09:00
Katayama Hirofumi MZ
bfd42c67a1
[MSPAINT] Improve CMiniatureWindow ( #5337 )
...
- Save the position and size of the miniature window.
- Improve drawing of the miniature window.
- Sync with the canvas.
CORE-18867
2023-06-14 18:51:40 +09:00
Katayama Hirofumi MZ
2b623c1d04
[MSPAINT] Refactor ImageModel ( #5335 )
...
- Unify ImageModel::Insert and ImageModel::CopyPrevious to ImageModel::PushImageForUndo.
- Delete useless stuffs.
- Fix some memory leaks.
- Fix IDM_IMAGECROP.
CORE-17969, CORE-18867
2023-06-13 23:23:48 +09:00
Katayama Hirofumi MZ
fa4c3bd560
[MSPAINT] s/HasUndoSteps/CanUndo/ and s/HasRedoSteps/CanRedo/
...
CORE-18867
2023-06-13 18:24:42 +09:00
Katayama Hirofumi MZ
aac89519ec
[MSPAINT] Make selection window-less ( #5208 )
...
- Delete selection.cpp and selection.h and selectionWindow.
- Extend ColorKeyedMaskBlt function.
- Implement selection resizing.
CORE-18867
2023-04-01 22:01:04 +09:00
Katayama Hirofumi MZ
0839711566
[MSPAINT] Improve Undo/Redo and finishing tool ( #4324 )
...
- Fix Undo/Redo mechanism.
- Finish drawing when the tool is to be chanaged and when the file is to be saved.
- Add ToolBase::OnFinishDraw to virtualize finishing drawing.
- Extend bClearRedo parameter to ImageModel::Undo.
- Add ImageModel::DrawSelectionBackground and ImageModel::DeleteSelection methods.
- Fix some WM_PAINT message handling.
CORE-17969
2022-01-30 12:05:23 +09:00
Katayama Hirofumi MZ
2ca3ff5bc6
[MSPAINT] Refactoring (_countof and resource.h) ( #4202 )
...
- Use Microsoft standard _countof macro instead of SIZEOF.
- Rename definitions.h as resource.h.
- Move some macro definitions to its proper place.
CORE-17931
2021-12-28 10:44:56 +09:00
Katayama Hirofumi MZ
ba117350eb
[MSPAINT] Add const to some ImageModel methods
...
CORE-17931
2021-12-28 09:49:36 +09:00
Katayama Hirofumi MZ
036206a1c3
[MSPAINT] Refactor loading/saving image file ( #2686 )
...
- Add DoLoadImageFile, CreateWhiteDIB, and CMainWindow::ConfirmSave functions.
- Replace LoadDIBFromFile function with DoLoadImageFile.
- Fix the empty file loading.
- Delete UpdateApplicationProperties function.
- Rewrite SaveDIBToFile function.
CORE-16982, CORE-16979
2020-04-29 07:44:18 +09:00
Amine Khaldi
4db1f987f3
[MSPAINT] Add some header guards.
2017-12-09 13:36:45 +01:00
Colin Finck
c2c66aff7d
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
2017-10-03 07:45:34 +00:00