mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 20:02:55 +00:00
47 lines
909 B
C++
47 lines
909 B
C++
/*
|
|
* PROJECT: PAINT for ReactOS
|
|
* LICENSE: LGPL
|
|
* FILE: base/applications/mspaint/registry.h
|
|
* PURPOSE: Offering functions dealing with registry values
|
|
* PROGRAMMERS: Benedikt Freisen
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
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;
|
|
|
|
CString strFile1;
|
|
CString strFile2;
|
|
CString strFile3;
|
|
CString strFile4;
|
|
|
|
enum WallpaperStyle {
|
|
TILED,
|
|
CENTERED,
|
|
STRETCHED
|
|
};
|
|
|
|
static void SetWallpaper(LPCTSTR szFileName, WallpaperStyle style);
|
|
|
|
void Load();
|
|
void Store();
|
|
void SetMostRecentFile(LPCTSTR szPathName);
|
|
};
|