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
cc3b53fef9
[MSPAINT] Encapsulation: hCurFill, hCurColor etc.
...
CORE-18867
2023-03-18 08:09:26 +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
Katayama Hirofumi MZ
a88dcbd6c3
[MSPAINT] Remove extra scrlClientWindow ( #5162 )
...
CORE-18867
2023-03-17 07:28:42 +09:00
Katayama Hirofumi MZ
3625f55fbb
[MSPAINT] Delete unused global variables (lfTextFont, ...
...
hfontTextFont, hwndEditCtl, textToolText, and textToolTextMaxLen).
CORE-18867
2023-03-15 15:09:26 +09:00
Katayama Hirofumi MZ
b49b47fc84
[MSPAINT] Delete unused HWND hToolBtn[16] global variable
...
CORE-18867
2023-03-11 14:19: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
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
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