mirror of
https://github.com/reactos/reactos.git
synced 2024-11-29 06:23:41 +08:00
110 lines
2.7 KiB
C++
110 lines
2.7 KiB
C++
/*
|
|
* PROJECT: PAINT for ReactOS
|
|
* LICENSE: LGPL
|
|
* FILE: base/applications/mspaint/globalvar.h
|
|
* PURPOSE: Declaring global variables for later initialization
|
|
* PROGRAMMERS: Benedikt Freisen
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
/* VARIABLES declared in main.cpp ***********************************/
|
|
|
|
class RegistrySettings;
|
|
extern RegistrySettings registrySettings;
|
|
|
|
class ImageModel;
|
|
extern ImageModel imageModel;
|
|
extern BOOL askBeforeEnlarging;
|
|
|
|
extern POINT start;
|
|
extern POINT last;
|
|
|
|
class ToolsModel;
|
|
extern ToolsModel toolsModel;
|
|
|
|
class SelectionModel;
|
|
extern SelectionModel selectionModel;
|
|
|
|
extern LOGFONT lfTextFont;
|
|
extern HFONT hfontTextFont;
|
|
extern LPTSTR textToolText;
|
|
extern int textToolTextMaxLen;
|
|
|
|
class PaletteModel;
|
|
extern PaletteModel paletteModel;
|
|
|
|
extern HWND hStatusBar;
|
|
extern CHOOSECOLOR choosecolor;
|
|
extern OPENFILENAME ofn;
|
|
extern OPENFILENAME sfn;
|
|
extern HICON hNontranspIcon;
|
|
extern HICON hTranspIcon;
|
|
|
|
extern HCURSOR hCurFill;
|
|
extern HCURSOR hCurColor;
|
|
extern HCURSOR hCurZoom;
|
|
extern HCURSOR hCurPen;
|
|
extern HCURSOR hCurAirbrush;
|
|
|
|
extern HWND hToolBtn[16];
|
|
|
|
extern HINSTANCE hProgInstance;
|
|
|
|
extern TCHAR filepathname[1000];
|
|
extern BOOL isAFile;
|
|
extern int fileSize;
|
|
extern int fileHPPM;
|
|
extern int fileVPPM;
|
|
extern SYSTEMTIME fileTime;
|
|
|
|
extern BOOL showGrid;
|
|
extern BOOL showMiniature;
|
|
|
|
class CMainWindow;
|
|
class CFullscreenWindow;
|
|
class CMiniatureWindow;
|
|
class CToolBox;
|
|
class CToolSettingsWindow;
|
|
class CPaletteWindow;
|
|
class CScrollboxWindow;
|
|
class CSelectionWindow;
|
|
class CImgAreaWindow;
|
|
class CSizeboxWindow;
|
|
class CTextEditWindow;
|
|
|
|
extern CMainWindow mainWindow;
|
|
extern CFullscreenWindow fullscreenWindow;
|
|
extern CMiniatureWindow miniature;
|
|
extern CToolBox toolBoxContainer;
|
|
extern CToolSettingsWindow toolSettingsWindow;
|
|
extern CPaletteWindow paletteWindow;
|
|
extern CScrollboxWindow scrollboxWindow;
|
|
extern CScrollboxWindow scrlClientWindow;
|
|
extern CSelectionWindow selectionWindow;
|
|
extern CImgAreaWindow imageArea;
|
|
extern CSizeboxWindow sizeboxLeftTop;
|
|
extern CSizeboxWindow sizeboxCenterTop;
|
|
extern CSizeboxWindow sizeboxRightTop;
|
|
extern CSizeboxWindow sizeboxLeftCenter;
|
|
extern CSizeboxWindow sizeboxRightCenter;
|
|
extern CSizeboxWindow sizeboxLeftBottom;
|
|
extern CSizeboxWindow sizeboxCenterBottom;
|
|
extern CSizeboxWindow sizeboxRightBottom;
|
|
extern CTextEditWindow textEditWindow;
|
|
|
|
/* VARIABLES declared in dialogs.cpp ********************************/
|
|
|
|
class CMirrorRotateDialog;
|
|
class CAttributesDialog;
|
|
class CStretchSkewDialog;
|
|
|
|
extern CMirrorRotateDialog mirrorRotateDialog;
|
|
extern CAttributesDialog attributesDialog;
|
|
extern CStretchSkewDialog stretchSkewDialog;
|
|
|
|
/* VARIABLES declared in mouse.cpp **********************************/
|
|
|
|
extern POINT pointStack[256];
|
|
extern short pointSP;
|