mirror of
https://github.com/reactos/reactos.git
synced 2025-08-11 13:25:36 +00:00
[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
This commit is contained in:
parent
125020c23f
commit
036206a1c3
8 changed files with 186 additions and 225 deletions
|
@ -53,6 +53,7 @@ extern HINSTANCE hProgInstance;
|
|||
|
||||
extern TCHAR filepathname[1000];
|
||||
extern BOOL isAFile;
|
||||
extern BOOL imageSaved;
|
||||
extern int fileSize;
|
||||
extern int fileHPPM;
|
||||
extern int fileVPPM;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue