/*
Copyright (C) 2014-2019 de4dot@gmail.com
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
dnSpy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with dnSpy. If not, see .
*/
using VSTE = Microsoft.VisualStudio.Text.Editor;
namespace dnSpy.Contracts.Hex.Editor {
///
/// Default options
///
public static class DefaultWpfHexViewOptions {
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
public const string ForceClearTypeIfNeededName = "WpfHexView/ForceClearTypeIfNeeded";
public static readonly VSTE.EditorOptionKey ForceClearTypeIfNeededId = new VSTE.EditorOptionKey(ForceClearTypeIfNeededName);
// Must match the text editor option name since we create a temp ITextView for the HexView
// so we can re-use the text editor's IClassificationFormatMapService and IEditorFormatMapService
// interfaces. See HexTextView.
public const string AppearanceCategoryName = "Appearance/Category";
public static readonly VSTE.EditorOptionKey AppearanceCategoryId = new VSTE.EditorOptionKey(AppearanceCategoryName);
public const string EnableHighlightCurrentLineName = "WpfHexView/EnableHighlightCurrentLine";
public static readonly VSTE.EditorOptionKey EnableHighlightCurrentLineId = new VSTE.EditorOptionKey(EnableHighlightCurrentLineName);
public const string EnableMouseWheelZoomName = "WpfHexView/MouseWheelZoom";
public static readonly VSTE.EditorOptionKey EnableMouseWheelZoomId = new VSTE.EditorOptionKey(EnableMouseWheelZoomName);
public const string EnableSimpleGraphicsName = "WpfHexView/Graphics/Simple/Enable";
public static readonly VSTE.EditorOptionKey EnableSimpleGraphicsId = new VSTE.EditorOptionKey(EnableSimpleGraphicsName);
public const string UseReducedOpacityForHighContrastOptionName = "WpfHexView/UseReducedOpacityForHighContrast";
public static readonly VSTE.EditorOptionKey UseReducedOpacityForHighContrastOptionId = new VSTE.EditorOptionKey(UseReducedOpacityForHighContrastOptionName);
public const string ZoomLevelName = "WpfHexView/ZoomLevel";
public static readonly VSTE.EditorOptionKey ZoomLevelId = new VSTE.EditorOptionKey(ZoomLevelName);
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
}
}