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