9f671493bec0c496ec520170146c1eb0452588cf
[reactos.git] / reactos / base / applications / mspaint / registry.h
1 /*
2 * PROJECT: PAINT for ReactOS
3 * LICENSE: LGPL
4 * FILE: base/applications/mspaint/registry.h
5 * PURPOSE: Offering functions dealing with registry values
6 * PROGRAMMERS: Benedikt Freisen
7 */
8
9 class RegistrySettings
10 {
11 private:
12 void LoadPresets();
13
14 public:
15 DWORD BMPHeight;
16 DWORD BMPWidth;
17 DWORD GridExtent;
18 DWORD NoStretching;
19 DWORD ShowThumbnail;
20 DWORD SnapToGrid;
21 DWORD ThumbHeight;
22 DWORD ThumbWidth;
23 DWORD ThumbXPos;
24 DWORD ThumbYPos;
25 DWORD UnitSetting;
26 WINDOWPLACEMENT WindowPlacement;
27
28 CString strFile1;
29 CString strFile2;
30 CString strFile3;
31 CString strFile4;
32
33 static void SetWallpaper(TCHAR *szFileName, DWORD dwStyle, DWORD dwTile);
34
35 void Load();
36 void Store();
37 void SetMostRecentFile(LPCTSTR pszPathName);
38 };