ReactOS 0.4.15-dev-5672-gf73ac17
globalvar.h
Go to the documentation of this file.
1/*
2 * PROJECT: PAINT for ReactOS
3 * LICENSE: LGPL
4 * FILE: base/applications/mspaint/globalvar.h
5 * PURPOSE: Declaring global variables for later initialization
6 * PROGRAMMERS: Benedikt Freisen
7 */
8
9#pragma once
10
11/* VARIABLES declared in main.cpp ***********************************/
12
15
16class ImageModel;
19
20extern POINT start;
21extern POINT last;
22
23class ToolsModel;
25
26class SelectionModel;
28
29extern LOGFONT lfTextFont;
30extern HFONT hfontTextFont;
31extern LPTSTR textToolText;
32extern int textToolTextMaxLen;
33
34class PaletteModel;
36
37extern HWND hStatusBar;
39extern OPENFILENAME ofn;
40extern OPENFILENAME sfn;
42extern HICON hTranspIcon;
43
44extern HCURSOR hCurFill;
45extern HCURSOR hCurColor;
46extern HCURSOR hCurZoom;
47extern HCURSOR hCurPen;
49
50extern HWND hToolBtn[16];
51
53
54extern TCHAR filepathname[1000];
55extern BOOL isAFile;
56extern BOOL imageSaved;
57extern int fileSize;
58extern int fileHPPM;
59extern int fileVPPM;
60extern SYSTEMTIME fileTime;
61
62extern BOOL showGrid;
63extern BOOL showMiniature;
64
65class CMainWindow;
68class CToolBox;
70class CPaletteWindow;
73class CImgAreaWindow;
74class CSizeboxWindow;
75class CTextEditWindow;
76
96
97/* VARIABLES declared in dialogs.cpp ********************************/
98
102class CFontsDialog;
103
unsigned int BOOL
Definition: ntddk_ex.h:94
CSizeboxWindow sizeboxLeftCenter
Definition: main.cpp:76
HCURSOR hCurZoom
Definition: main.cpp:44
HCURSOR hCurFill
Definition: main.cpp:42
CSizeboxWindow sizeboxRightCenter
Definition: main.cpp:77
ToolsModel toolsModel
Definition: main.cpp:18
CSizeboxWindow sizeboxRightTop
Definition: main.cpp:75
int fileHPPM
Definition: main.cpp:56
LOGFONT lfTextFont
Definition: main.cpp:22
CAttributesDialog attributesDialog
Definition: dialogs.cpp:20
CMiniatureWindow miniature
Definition: main.cpp:65
CSelectionWindow selectionWindow
Definition: main.cpp:71
CFontsDialog fontsDialog
Definition: dialogs.cpp:22
CHOOSECOLOR choosecolor
Definition: main.cpp:36
BOOL imageSaved
Definition: main.cpp:54
int fileSize
Definition: main.cpp:55
CScrollboxWindow scrlClientWindow
Definition: main.cpp:70
ImageModel imageModel
Definition: main.cpp:32
int fileVPPM
Definition: main.cpp:57
RegistrySettings registrySettings
Definition: main.cpp:30
CPaletteWindow paletteWindow
Definition: main.cpp:68
HICON hTranspIcon
Definition: main.cpp:40
CSizeboxWindow sizeboxCenterTop
Definition: main.cpp:74
CFullscreenWindow fullscreenWindow
Definition: main.cpp:64
CSizeboxWindow sizeboxLeftTop
Definition: main.cpp:73
CStretchSkewDialog stretchSkewDialog
Definition: dialogs.cpp:21
int textToolTextMaxLen
Definition: main.cpp:26
HINSTANCE hProgInstance
Definition: main.cpp:50
SelectionModel selectionModel
Definition: main.cpp:20
CToolBox toolBoxContainer
Definition: main.cpp:66
BOOL askBeforeEnlarging
Definition: main.cpp:33
HCURSOR hCurAirbrush
Definition: main.cpp:46
CImgAreaWindow imageArea
Definition: main.cpp:72
POINT last
Definition: font.c:46
CSizeboxWindow sizeboxLeftBottom
Definition: main.cpp:78
TCHAR filepathname[1000]
Definition: main.cpp:52
POINT start
Definition: main.cpp:15
CSizeboxWindow sizeboxRightBottom
Definition: main.cpp:80
BOOL showMiniature
Definition: main.cpp:61
OPENFILENAME ofn
Definition: main.cpp:37
OPENFILENAME sfn
Definition: eventvwr.c:101
HFONT hfontTextFont
Definition: main.cpp:23
HWND hToolBtn[16]
Definition: main.cpp:48
BOOL showGrid
Definition: main.cpp:60
LPTSTR textToolText
Definition: main.cpp:25
CMainWindow mainWindow
Definition: main.cpp:63
CSizeboxWindow sizeboxCenterBottom
Definition: main.cpp:79
CScrollboxWindow scrollboxWindow
Definition: main.cpp:69
HICON hNontranspIcon
Definition: main.cpp:39
CTextEditWindow textEditWindow
Definition: main.cpp:81
PaletteModel paletteModel
Definition: main.cpp:28
CToolSettingsWindow toolSettingsWindow
Definition: main.cpp:67
BOOL isAFile
Definition: main.cpp:53
CMirrorRotateDialog mirrorRotateDialog
Definition: dialogs.cpp:19
HCURSOR hCurColor
Definition: main.cpp:43
HCURSOR hCurPen
Definition: main.cpp:45
SYSTEMTIME fileTime
Definition: main.cpp:58
HWND hStatusBar
Definition: main.cpp:35
static HICON
Definition: imagelist.c:84
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
HICON HCURSOR
Definition: windef.h:299
char TCHAR
Definition: xmlstorage.h:189
CHAR * LPTSTR
Definition: xmlstorage.h:192