2019-05-03 00:29:04 +02:00
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
// Licensed under the MIT license.
|
|
|
|
//
|
|
|
|
// Module Name:
|
|
|
|
// globals.h
|
|
|
|
//
|
|
|
|
// Abstract:
|
2020-02-10 21:40:01 +01:00
|
|
|
// One separate container for many of the global variables in the propsheet
|
2019-05-03 00:29:04 +02:00
|
|
|
//
|
|
|
|
// Author:
|
|
|
|
// Mike Griese (mikegr) 2016-Oct
|
|
|
|
//
|
|
|
|
// Revision History:
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "font.h"
|
2021-03-10 02:19:04 +01:00
|
|
|
#include "../propslib/DelegationConfig.hpp"
|
2019-05-03 00:29:04 +02:00
|
|
|
|
2019-06-11 22:27:09 +02:00
|
|
|
extern HINSTANCE ghInstance;
|
2019-05-03 00:29:04 +02:00
|
|
|
extern PCONSOLE_STATE_INFO gpStateInfo;
|
|
|
|
extern PFONT_INFO FontInfo;
|
2019-06-11 22:27:09 +02:00
|
|
|
extern ULONG NumberOfFonts;
|
|
|
|
extern ULONG FontInfoLength;
|
|
|
|
extern ULONG g_currentFontIndex;
|
|
|
|
extern ULONG DefaultFontIndex;
|
|
|
|
extern WCHAR DefaultFaceName[LF_FACESIZE];
|
|
|
|
extern WCHAR DefaultTTFaceName[LF_FACESIZE];
|
|
|
|
extern COORD DefaultFontSize;
|
|
|
|
extern BYTE DefaultFontFamily;
|
2019-05-03 00:29:04 +02:00
|
|
|
extern const wchar_t g_szPreviewText[];
|
|
|
|
|
|
|
|
//Initial default fonts and face names
|
2019-06-11 22:27:09 +02:00
|
|
|
extern PFACENODE gpFaceNames;
|
|
|
|
|
|
|
|
extern BOOL gbEnumerateFaces;
|
|
|
|
extern LONG gcxScreen;
|
|
|
|
extern LONG gcyScreen;
|
|
|
|
extern BOOL g_fForceV2;
|
|
|
|
extern BOOL g_fEditKeys;
|
|
|
|
extern BYTE g_bPreviewOpacity;
|
|
|
|
extern BOOL g_fHostedInFileProperties;
|
2019-05-03 00:29:04 +02:00
|
|
|
|
|
|
|
extern UINT OEMCP;
|
|
|
|
extern BOOL g_fEastAsianSystem;
|
|
|
|
extern bool g_fIsComCtlV6Present;
|
|
|
|
|
|
|
|
extern BOOL fChangeCodePage;
|
|
|
|
|
|
|
|
extern BOOL g_fSettingsDlgInitialized;
|
|
|
|
extern BOOL InEM_UNDO;
|
|
|
|
|
|
|
|
extern COLORREF g_fakeForegroundColor;
|
|
|
|
extern COLORREF g_fakeBackgroundColor;
|
|
|
|
extern COLORREF g_fakeCursorColor;
|
|
|
|
|
|
|
|
extern HWND g_hTerminalDlg;
|
2019-09-09 16:45:05 +02:00
|
|
|
extern HWND g_hOptionsDlg;
|
2021-03-10 02:19:04 +01:00
|
|
|
|
|
|
|
extern bool g_defAppEnabled;
|
|
|
|
extern std::vector<DelegationConfig::DelegationPackage> g_availablePackages;
|
|
|
|
extern DelegationConfig::DelegationPackage g_selectedPackage;
|