Katayama Hirofumi MZ
6d9b7f77ad
[MSPAINT] mouse.cpp: Use override keywords
...
CORE-18867
2023-06-14 16:01:10 +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
bddd8b058c
[MSPAINT] Minor adjustment on drawing text on TOOL_TEXT
...
CORE-18867
2023-05-31 13:31:50 +09:00
Katayama Hirofumi MZ
efe7368c46
[MSPAINT] Make imageArea window-less ( #5215 )
...
- Move imageArea code into canvasWindow.
- Delete imgarea.cpp, imgarea.h, and imageArea.
- Add CCanvasWindow::ImageToCanvas and CCanvasWindow::CanvasToImage to convert the coordinates.
- Realize drawing of resizing image area.
CORE-18867
2023-04-08 22:25:27 +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
6b6a045766
[MSPAINT] Make sizeboxes window-less ( #5166 )
...
Reduce window controls and integrate to the canvas window.
- The sizeboxes are absorbed by canvasWindow.
- class CSizeboxWindow is deleted.
- Add enum CANVAS_HITTEST.
- Add getSizeBoxRect, getSizeBoxHitTest, and drawSizeBoxes helper functions in sizebox.cpp.
CORE-18867
2023-03-19 10:42:10 +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
7014cf04b1
[ATL][MSPAINT] Add ATLTRACE and fix assertion failures ( #4299 )
...
- Implement ATLTRACE and AtlTrace in atlbase.h.
- Fix assertion failures in mspaint.
CORE-17969, CORE-18012
2022-01-23 00:59:12 +09:00
Katayama Hirofumi MZ
361a2ce4f7
[MSPAINT] Implement the text tool ( #4237 )
...
- Add CFontsDialog and IDD_FONTS.
- Rewrite CTextEditWindow.
- Implement TOOL_TEXT tool.
- Add the font-related settings.
CORE-17949
2022-01-05 16:26:05 +09:00
Katayama Hirofumi MZ
ee132a05ba
[MSPAINT] Polymorphism on tools ( #4210 )
...
- Introduce polymorphism on tools and mouse actions.
- Implement double-clicking on TOOL_SHAPE.
- Fix some bugs about mouse handling.
CORE-17931
2022-01-01 22:02:36 +09:00
Katayama Hirofumi MZ
e9330371ea
[MSPAINT] Define enum TOOLTYPE and use it ( #4197 )
...
Improve code quality and debuggability. CORE-17931
2021-12-27 23:23:32 +09:00
Katayama Hirofumi MZ
ce54a8a5f2
[MSPAINT] Add nearlyEqualPoints and use it ( #4194 )
...
CORE-17931
2021-12-27 20:06:21 +09:00
Katayama Hirofumi MZ
614354ccb5
[MSPAINT] Define GRIP_SIZE macro and use it ( #4192 )
...
Reduce magic numbers. CORE-17931
2021-12-26 23:05:47 +09:00
Katayama Hirofumi MZ
9e1386db43
[MSPAINT] Add Zoomed and UnZoomed and use them ( #4188 )
...
- Define Zoomed and UnZoomed helper functions.
- Use them.
CORE-17931
2021-12-26 19:49:56 +09: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