mirror of
https://github.com/reactos/reactos.git
synced 2024-08-26 13:18:51 +00:00
![Katayama Hirofumi MZ](/assets/img/avatar_default.png)
- Add CFontsDialog and IDD_FONTS. - Rewrite CTextEditWindow. - Implement TOOL_TEXT tool. - Add the font-related settings. CORE-17949
57 lines
1.1 KiB
C++
57 lines
1.1 KiB
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;
|
|
|
|
CString strFontName;
|
|
DWORD PointSize;
|
|
DWORD Bold;
|
|
DWORD Italic;
|
|
DWORD Underline;
|
|
DWORD CharSet;
|
|
DWORD FontsPositionX;
|
|
DWORD FontsPositionY;
|
|
DWORD ShowTextTool;
|
|
|
|
enum WallpaperStyle {
|
|
TILED,
|
|
CENTERED,
|
|
STRETCHED
|
|
};
|
|
|
|
static void SetWallpaper(LPCTSTR szFileName, WallpaperStyle style);
|
|
|
|
void Load();
|
|
void Store();
|
|
void SetMostRecentFile(LPCTSTR szPathName);
|
|
};
|