ReactOS 0.4.16-dev-319-g6cf4263
registry.h
Go to the documentation of this file.
1/*
2 * PROJECT: PAINT for ReactOS
3 * LICENSE: LGPL-2.0-or-later (https://spdx.org/licenses/LGPL-2.0-or-later)
4 * PURPOSE: Offering functions dealing with registry values
5 * COPYRIGHT: Copyright 2015 Benedikt Freisen <b.freisen@gmx.net>
6 */
7
8#pragma once
9
10#define MAX_RECENT_FILES 4
11
13{
14private:
15 void LoadPresets(INT nCmdShow);
16
17public:
30
32
33 CStringW strFontName;
47
48// Values for Bar1ID.
49// I think these values are Win2k3 mspaint compatible but sometimes not working...
50#define BAR1ID_TOP 0x0000e81b
51#define BAR1ID_BOTTOM 0x0000e81e
52
53// Values for Bar2ID.
54// I think these values are Win2k3 mspaint compatible but sometimes not working...
55#define BAR2ID_LEFT 0x0000e81c
56#define BAR2ID_RIGHT 0x0000e81d
57
62 };
63
64 static void SetWallpaper(LPCWSTR szFileName, WallpaperStyle style);
65
66 void Load(INT nCmdShow);
67 void Store();
68 void SetMostRecentFile(LPCWSTR szPathName);
69};
Arabic default style
Definition: afstyles.h:94
#define MAX_RECENT_FILES
Definition: registry.h:10
DWORD PointSize
Definition: registry.h:34
DWORD UnitSetting
Definition: registry.h:28
DWORD ShowTextTool
Definition: registry.h:41
DWORD ThumbXPos
Definition: registry.h:26
DWORD GridExtent
Definition: registry.h:20
DWORD ShowToolBox
Definition: registry.h:44
DWORD BMPWidth
Definition: registry.h:19
DWORD FontsPositionY
Definition: registry.h:40
DWORD ShowPalette
Definition: registry.h:43
DWORD ThumbYPos
Definition: registry.h:27
DWORD ThumbWidth
Definition: registry.h:25
DWORD FontsPositionX
Definition: registry.h:39
void SetMostRecentFile(LPCWSTR szPathName)
Definition: registry.cpp:277
DWORD ShowThumbnail
Definition: registry.h:22
DWORD Underline
Definition: registry.h:37
DWORD ShowStatusBar
Definition: registry.h:42
DWORD NoStretching
Definition: registry.h:21
CStringW strFiles[MAX_RECENT_FILES]
Definition: registry.h:31
void LoadPresets(INT nCmdShow)
Definition: registry.cpp:76
DWORD SnapToGrid
Definition: registry.h:23
WINDOWPLACEMENT WindowPlacement
Definition: registry.h:29
void Load(INT nCmdShow)
Definition: registry.cpp:115
DWORD BMPHeight
Definition: registry.h:18
DWORD ThumbHeight
Definition: registry.h:24
CStringW strFontName
Definition: registry.h:33
static void SetWallpaper(LPCWSTR szFileName, WallpaperStyle style)
Definition: registry.cpp:39
unsigned long DWORD
Definition: ntddk_ex.h:95
int32_t INT
Definition: typedefs.h:58
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185