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
d30e5eb51c
[MSPAINT] Add NUM_COLORS and enum PAL_TYPE ( #4203 )
...
Reduce magic numbers and improve debuggability. CORE-17931
2021-12-28 19:01:31 +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
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
90c3f89bb2
[MSPAINT] Mouse Wheel support ( #4195 )
...
Improve usability by mouse wheel handling. Plain wheel, Ctrl+Wheel, and Shift+Wheel. CORE-17937
2021-12-27 22:20:22 +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
Hermès Bélusca-Maïto
9393fc320e
[FORMATTING] Remove trailing whitespace. Addendum to 34593d93
.
...
Excluded: 3rd-party code (incl. wine) and most of the win32ss.
2021-09-13 03:52:22 +02: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
Benedikt Freisen
97025c3e06
[MSPAINT] Store subsequent changes to file selected via Save As
...
Paint has erroneously been storing subsequent changes to Unnamed.bmp
CORE-13291
2018-05-26 14:16:17 +02: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
Benedikt Freisen
0ef056230e
[MSPAINT] Base dialog implementations on CDialogImpl
...
- Wrap implementation of Mirror/Rotate, Stretch/Skew and Attributes dialog in subclasses of CDialogImpl
- Turn global variables from code that was moved into member functions into member variables
- Add global instances of all three dialog classes
- Use <global instance>.DoModal(...) instead of one-line wrappers
- Replace some TCHAR arrays with CStrings
2017-11-02 21:29:40 +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