Katayama Hirofumi MZ
ed03768b1b
[MSPAINT] Move '#include <crtdbg.h>' and add _CRTDBG_MAP_ALLOC
...
CORE-18867
2023-03-20 22:59:05 +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
7361592ede
[MSPAINT] Rename scrollbox as canvas
...
- s/CScrollboxWindow/CCanvasWindow/
- s/scrollboxWindow/canvasWindow/
- s/UpdateScrollbox/UpdateCanvas/
CORE-18867
2023-03-17 07:45:14 +09:00
Mark Jansen
55343f04b0
[MSPAINT][EXPLORER][SHELL32] Enable ATL asserts in CMake
...
CORE-17505
In MSVC builds they would not work reliably when enabled in the precompiled header
2022-09-10 17:27:50 +02: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
b2f8d62cd1
[MSPAINT] Prepare for debugging ( #4257 )
...
- Add #include <debug.h> and add link to ntdll.dll for debugging.
- Add CopyDIBImage helper function.
CORE-17969
2022-01-10 08:50:37 +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
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
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
Stanislav Motylkov
955048e50a
[MSPAINT] Fix crash on zoom out
...
- Check the denominator for zero for both zoomed width and height.
- Do not allow to move zoom slider above possible position.
- Move commonly used `zoomTo` function into new header file.
CORE-14539
2018-04-23 20:11:43 +02: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