2015-05-08 16:02:36 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: PAINT for ReactOS
|
|
|
|
* LICENSE: LGPL
|
2015-09-09 13:13:35 +00:00
|
|
|
* FILE: base/applications/mspaint/registry.h
|
2015-05-08 16:02:36 +00:00
|
|
|
* PURPOSE: Offering functions dealing with registry values
|
|
|
|
* PROGRAMMERS: Benedikt Freisen
|
|
|
|
*/
|
|
|
|
|
2017-12-09 12:36:45 +00:00
|
|
|
#pragma once
|
|
|
|
|
2015-08-16 19:52:37 +00:00
|
|
|
class RegistrySettings
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
void LoadPresets();
|
|
|
|
|
|
|
|
public:
|
|
|
|
DWORD BMPHeight;
|
|
|
|
DWORD BMPWidth;
|
|
|
|
DWORD GridExtent;
|
|
|
|
DWORD NoStretching;
|
|
|
|
DWORD ShowThumbnail;
|
|
|
|
DWORD SnapToGrid;
|
|
|
|
DWORD ThumbHeight;
|
|
|
|
DWORD ThumbWidth;
|
|
|
|
DWORD ThumbXPos;
|
|
|
|
DWORD ThumbYPos;
|
|
|
|
DWORD UnitSetting;
|
|
|
|
WINDOWPLACEMENT WindowPlacement;
|
|
|
|
|
2016-09-26 19:53:42 +00:00
|
|
|
CString strFile1;
|
|
|
|
CString strFile2;
|
|
|
|
CString strFile3;
|
|
|
|
CString strFile4;
|
|
|
|
|
2016-10-28 19:48:25 +00:00
|
|
|
enum WallpaperStyle {
|
|
|
|
TILED,
|
|
|
|
CENTERED,
|
|
|
|
STRETCHED
|
|
|
|
};
|
|
|
|
|
|
|
|
static void SetWallpaper(LPCTSTR szFileName, WallpaperStyle style);
|
2015-08-16 19:52:37 +00:00
|
|
|
|
|
|
|
void Load();
|
|
|
|
void Store();
|
2016-10-01 20:04:43 +00:00
|
|
|
void SetMostRecentFile(LPCTSTR szPathName);
|
2015-08-16 19:52:37 +00:00
|
|
|
};
|