From b7f9c71f5ba3ffb134070967de9a2c8329ad43e5 Mon Sep 17 00:00:00 2001 From: Izakbar Date: Wed, 27 Nov 2024 00:23:13 +0000 Subject: [PATCH 1/2] PerClientZoomAnchor option --- README.md | 18 ++++++++++++++++++ .../Implementation/ThumbnailConfiguration.cs | 13 +++++++++++++ .../Interface/IThumbnailConfiguration.cs | 1 + src/Eve-O-Preview/Properties/AssemblyInfo.cs | 4 ++-- .../Implementation/ThumbnailManager.cs | 13 +++++++++---- .../View/Implementation/ThumbnailView.cs | 3 ++- .../View/Interface/IThumbnailView.cs | 3 ++- 7 files changed, 47 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e23bdad..90c0605 100644 --- a/README.md +++ b/README.md @@ -274,6 +274,24 @@ You should modify this entry with a list of each of your clients replacing "Exam If a client does not appear in this list, then it will use the global thumbnail size by default. +### Per Client Zoom Anchor +Would you like to have different clients with different ZoomAnchor for each thumbnail ? + +EVE-O Preview doesn't provide any GUI to set the these per client overrides as yet. Though, It can be done via editing the configuration file directly. +**Note** Don't forget to make a backup copy of the file before editing it. + +Open the file using any text editor. find the entry **PerClientZoomAnchor**. Most probably it will look like + + "PerClientZoomAnchor": { + "EVE - Example Toon 1": 1, + "EVE - Example Toon 2": 2, + "EVE": 3 + } + +You should modify this entry with a list of each of your clients replacing "Example Toon 1", etc with the name of your character. The values on the right represent the Zoom Anchor for the thumbnail (which sets the starting point of the thumbnail zoom). +Valid values are 0-8 : 0-NW, 1-North, 2-NE, 3-West, 4-Center, 5-East, 6-SW, 7-South, 8-SE. + +If a client does not appear in this list, then it will use the global Zoom Anchor by default. ### Compatibility Mode This setting allows to enable an alternate thumbnail render. This render doesn't use advanced DWM API to create live previews. Instead it is a screenshot-based render with the following pros and cons: diff --git a/src/Eve-O-Preview/Configuration/Implementation/ThumbnailConfiguration.cs b/src/Eve-O-Preview/Configuration/Implementation/ThumbnailConfiguration.cs index ed4303e..a94c1c8 100644 --- a/src/Eve-O-Preview/Configuration/Implementation/ThumbnailConfiguration.cs +++ b/src/Eve-O-Preview/Configuration/Implementation/ThumbnailConfiguration.cs @@ -47,6 +47,12 @@ namespace EveOPreview.Configuration.Implementation {"EVE - Example Toon 2", new Size(200, 200)} }; + this.PerClientZoomAnchor = new Dictionary + { + {"EVE - Example Toon 1", ZoomAnchor.N }, + {"EVE - Example Toon 2", ZoomAnchor.S} + }; + this.PerClientLayout = new Dictionary>(); this.FlatLayout = new Dictionary(); this.ClientLayout = new Dictionary(); @@ -129,6 +135,8 @@ namespace EveOPreview.Configuration.Implementation [JsonProperty("PerClientThumbnailSize")] public Dictionary PerClientThumbnailSize { get; set; } + [JsonProperty("PerClientZoomAnchor")] + public Dictionary PerClientZoomAnchor{ get; set; } public bool MinimizeToTray { get; set; } public int ThumbnailRefreshPeriod { get; set; } public int ThumbnailResizeTimeoutPeriod { get; set; } @@ -246,6 +254,11 @@ namespace EveOPreview.Configuration.Implementation Size sizeOfThumbnail; return this.PerClientThumbnailSize.TryGetValue(currentClient, out sizeOfThumbnail) ? sizeOfThumbnail : defaultSize; } + public ZoomAnchor GetZoomAnchor(string currentClient, ZoomAnchor defaultZoomAnchor) + { + ZoomAnchor zoomAnchor; + return this.PerClientZoomAnchor.TryGetValue(currentClient, out zoomAnchor) ? zoomAnchor : defaultZoomAnchor; + } public void SetThumbnailLocation(string currentClient, string activeClient, Point location) { diff --git a/src/Eve-O-Preview/Configuration/Interface/IThumbnailConfiguration.cs b/src/Eve-O-Preview/Configuration/Interface/IThumbnailConfiguration.cs index 67c0c39..5c375e0 100644 --- a/src/Eve-O-Preview/Configuration/Interface/IThumbnailConfiguration.cs +++ b/src/Eve-O-Preview/Configuration/Interface/IThumbnailConfiguration.cs @@ -62,6 +62,7 @@ namespace EveOPreview.Configuration Point GetThumbnailLocation(string currentClient, string activeClient, Point defaultLocation); Size GetThumbnailSize(string currentClient, string activeClient, Size defaultSize); + ZoomAnchor GetZoomAnchor(string currentClient, ZoomAnchor defaultZoomAnchor); void SetThumbnailLocation(string currentClient, string activeClient, Point location); ClientLayout GetClientLayout(string currentClient); diff --git a/src/Eve-O-Preview/Properties/AssemblyInfo.cs b/src/Eve-O-Preview/Properties/AssemblyInfo.cs index 09b3c74..1f63ea6 100644 --- a/src/Eve-O-Preview/Properties/AssemblyInfo.cs +++ b/src/Eve-O-Preview/Properties/AssemblyInfo.cs @@ -12,7 +12,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Guid("04f08f8d-9e98-423b-acdb-4effb31c0d35")] -[assembly: AssemblyVersion("8.0.1.3")] -[assembly: AssemblyFileVersion("8.0.1.3")] +[assembly: AssemblyVersion("8.0.1.4")] +[assembly: AssemblyFileVersion("8.0.1.4")] [assembly: CLSCompliant(false)] \ No newline at end of file diff --git a/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs b/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs index a51c2ab..7140867 100644 --- a/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs +++ b/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs @@ -236,7 +236,7 @@ namespace EveOPreview.Services view.RegisterHotkey(this._configuration.GetClientHotkey(view.Title)); - this.ApplyClientLayout(view.Id, view.Title); + this.ApplyClientLayout(view); // TODO Add extension filter here later if (view.Title != ThumbnailManager.DEFAULT_CLIENT_TITLE) @@ -263,7 +263,7 @@ namespace EveOPreview.Services view.RegisterHotkey(this._configuration.GetClientHotkey(process.Title)); - this.ApplyClientLayout(view.Id, view.Title); + this.ApplyClientLayout(view); } } @@ -629,7 +629,7 @@ namespace EveOPreview.Services { this.DisableViewEvents(); - view.ZoomIn(ViewZoomAnchorConverter.Convert(this._configuration.ThumbnailZoomAnchor), this._configuration.ThumbnailZoomFactor); + view.ZoomIn(ViewZoomAnchorConverter.Convert(view.ClientZoomAnchor), this._configuration.ThumbnailZoomFactor); view.Refresh(false); this.EnableViewEvents(); @@ -725,8 +725,11 @@ namespace EveOPreview.Services return (0, 0); } - private void ApplyClientLayout(IntPtr clientHandle, string clientTitle) + private void ApplyClientLayout(IThumbnailView view) { + IntPtr clientHandle = view.Id; + string clientTitle = view.Title; + if (!this._configuration.EnableClientLayoutTracking) { return; @@ -753,6 +756,8 @@ namespace EveOPreview.Services { this._windowManager.MoveWindow(clientHandle, clientLayout.X, clientLayout.Y, clientLayout.Width, clientLayout.Height); } + + view.ClientZoomAnchor = this._configuration.GetZoomAnchor(clientTitle, this._configuration.ThumbnailZoomAnchor); } private void UpdateClientLayouts() diff --git a/src/Eve-O-Preview/View/Implementation/ThumbnailView.cs b/src/Eve-O-Preview/View/Implementation/ThumbnailView.cs index 1cad95a..941dbf0 100644 --- a/src/Eve-O-Preview/View/Implementation/ThumbnailView.cs +++ b/src/Eve-O-Preview/View/Implementation/ThumbnailView.cs @@ -96,7 +96,8 @@ namespace EveOPreview.View public bool IsActive { get; set; } public bool IsOverlayEnabled { get; set; } - + public ZoomAnchor ClientZoomAnchor { get; set; } + public Point ThumbnailLocation { get => this.Location; diff --git a/src/Eve-O-Preview/View/Interface/IThumbnailView.cs b/src/Eve-O-Preview/View/Interface/IThumbnailView.cs index 01553a8..38f7f1a 100644 --- a/src/Eve-O-Preview/View/Interface/IThumbnailView.cs +++ b/src/Eve-O-Preview/View/Interface/IThumbnailView.cs @@ -1,6 +1,7 @@ using System; using System.Drawing; using System.Windows.Forms; +using EveOPreview.Configuration; using EveOPreview.Services; namespace EveOPreview.View @@ -14,7 +15,7 @@ namespace EveOPreview.View Point ThumbnailLocation { get; set; } Size ThumbnailSize { get; set; } bool IsOverlayEnabled { get; set; } - + ZoomAnchor ClientZoomAnchor { get; set; } bool IsKnownHandle(IntPtr handle); void SetSizeLimitations(Size minimumSize, Size maximumSize); From 9ee502d6b48240ca8db79dc88a7b39c909a47e07 Mon Sep 17 00:00:00 2001 From: Izakbar Date: Fri, 27 Dec 2024 17:09:38 +0000 Subject: [PATCH 2/2] fix animation settings and allow Original animation or no animation - setable from GUI. This should fix client switching when using fixed window --- README.md | 2 +- .../Implementation/ThumbnailConfiguration.cs | 4 +- .../Configuration/Interface/AnimationStyle.cs | 8 + .../Interface/IThumbnailConfiguration.cs | 2 +- src/Eve-O-Preview/Eve-O-Preview.csproj | 5 +- .../Implementation/MainFormPresenter.cs | 4 +- .../ViewAnimationStyleConverter.cs | 19 + src/Eve-O-Preview/Properties/AssemblyInfo.cs | 4 +- .../Implementation/ThumbnailManager.cs | 12 +- .../Services/Implementation/WindowManager.cs | 134 +- .../Services/Interface/IWindowManager.cs | 9 +- .../View/Implementation/MainForm.Designer.cs | 2238 +++++++++-------- .../View/Implementation/MainForm.cs | 22 +- .../View/Implementation/MainForm.resx | 84 +- .../View/Interface/IMainFormView.cs | 2 +- .../View/Interface/ViewAnimationStyle.cs | 8 + 16 files changed, 1301 insertions(+), 1256 deletions(-) create mode 100644 src/Eve-O-Preview/Configuration/Interface/AnimationStyle.cs create mode 100644 src/Eve-O-Preview/Presenters/Implementation/ViewAnimationStyleConverter.cs create mode 100644 src/Eve-O-Preview/View/Interface/ViewAnimationStyle.cs diff --git a/README.md b/README.md index 90c0605..a76c664 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ CCP Grimmi wrote: | Track client locations | Determines whether the client's window position should be restored when it is activated or started | | Hide preview of active EVE client | Determines whether the thumbnail corresponding to the active EVE client is not displayed | | Minimize inactive EVE clients | Allows to auto-minimize inactive EVE clients to save CPU and GPU | -| Minimize inactive EVE clients Animation | If Minimize Clients is set, this setting will enable windows animations (if checked) or disable if unchecked. +| Animation Style | Use original animation style (0) or No Animation style (1). You may find Original is cleaner with fixed window mode and No Animation is cleaner with windowed mode. Especially when using minimize inactive clients. | Previews always on top | Determines whether EVE client thumbnails should stay on top of all other windows | | Hide previews when EVE client is not active | Determines whether all thumbnails should be visible only when an EVE client is active | | Unique layout for each EVE client | Determines whether thumbnails positions are different depending on the EVE client being active | diff --git a/src/Eve-O-Preview/Configuration/Implementation/ThumbnailConfiguration.cs b/src/Eve-O-Preview/Configuration/Implementation/ThumbnailConfiguration.cs index a94c1c8..3144ead 100644 --- a/src/Eve-O-Preview/Configuration/Implementation/ThumbnailConfiguration.cs +++ b/src/Eve-O-Preview/Configuration/Implementation/ThumbnailConfiguration.cs @@ -71,7 +71,7 @@ namespace EveOPreview.Configuration.Implementation this.EnableClientLayoutTracking = false; this.HideActiveClientThumbnail = false; this.MinimizeInactiveClients = false; - this.MinimizeInactiveClientsAnimation = false; + this.WindowsAnimationStyle = AnimationStyle.NoAnimation; this.ShowThumbnailsAlwaysOnTop = true; this.EnablePerClientThumbnailLayouts = false; @@ -163,7 +163,7 @@ namespace EveOPreview.Configuration.Implementation public bool HideActiveClientThumbnail { get; set; } public bool MinimizeInactiveClients { get; set; } - public bool MinimizeInactiveClientsAnimation { get; set; } + public AnimationStyle WindowsAnimationStyle { get; set; } public bool ShowThumbnailsAlwaysOnTop { get; set; } public bool EnablePerClientThumbnailLayouts diff --git a/src/Eve-O-Preview/Configuration/Interface/AnimationStyle.cs b/src/Eve-O-Preview/Configuration/Interface/AnimationStyle.cs new file mode 100644 index 0000000..69dfdf9 --- /dev/null +++ b/src/Eve-O-Preview/Configuration/Interface/AnimationStyle.cs @@ -0,0 +1,8 @@ +namespace EveOPreview.Configuration +{ + public enum AnimationStyle + { + OriginalAnimation, + NoAnimation + } +} \ No newline at end of file diff --git a/src/Eve-O-Preview/Configuration/Interface/IThumbnailConfiguration.cs b/src/Eve-O-Preview/Configuration/Interface/IThumbnailConfiguration.cs index 5c375e0..e95d1cd 100644 --- a/src/Eve-O-Preview/Configuration/Interface/IThumbnailConfiguration.cs +++ b/src/Eve-O-Preview/Configuration/Interface/IThumbnailConfiguration.cs @@ -27,7 +27,7 @@ namespace EveOPreview.Configuration bool EnableClientLayoutTracking { get; set; } bool HideActiveClientThumbnail { get; set; } bool MinimizeInactiveClients { get; set; } - bool MinimizeInactiveClientsAnimation { get; set; } + AnimationStyle WindowsAnimationStyle { get; set; } bool ShowThumbnailsAlwaysOnTop { get; set; } bool EnablePerClientThumbnailLayouts { get; set; } diff --git a/src/Eve-O-Preview/Eve-O-Preview.csproj b/src/Eve-O-Preview/Eve-O-Preview.csproj index e294a7c..5d54d7f 100644 --- a/src/Eve-O-Preview/Eve-O-Preview.csproj +++ b/src/Eve-O-Preview/Eve-O-Preview.csproj @@ -126,6 +126,7 @@ + @@ -145,6 +146,7 @@ + @@ -184,6 +186,7 @@ + @@ -285,4 +288,4 @@ --> - + \ No newline at end of file diff --git a/src/Eve-O-Preview/Presenters/Implementation/MainFormPresenter.cs b/src/Eve-O-Preview/Presenters/Implementation/MainFormPresenter.cs index d051275..31912b4 100644 --- a/src/Eve-O-Preview/Presenters/Implementation/MainFormPresenter.cs +++ b/src/Eve-O-Preview/Presenters/Implementation/MainFormPresenter.cs @@ -107,7 +107,7 @@ namespace EveOPreview.Presenters this.View.EnableClientLayoutTracking = this._configuration.EnableClientLayoutTracking; this.View.HideActiveClientThumbnail = this._configuration.HideActiveClientThumbnail; this.View.MinimizeInactiveClients = this._configuration.MinimizeInactiveClients; - this.View.MinimizeInactiveClientsAnimation = this._configuration.MinimizeInactiveClientsAnimation; + this.View.WindowsAnimationStyle = ViewAnimationStyleConverter.Convert(this._configuration.WindowsAnimationStyle); this.View.ShowThumbnailsAlwaysOnTop = this._configuration.ShowThumbnailsAlwaysOnTop; this.View.HideThumbnailsOnLostFocus = this._configuration.HideThumbnailsOnLostFocus; this.View.EnablePerClientThumbnailLayouts = this._configuration.EnablePerClientThumbnailLayouts; @@ -142,7 +142,7 @@ namespace EveOPreview.Presenters this._configuration.EnableClientLayoutTracking = this.View.EnableClientLayoutTracking; this._configuration.HideActiveClientThumbnail = this.View.HideActiveClientThumbnail; this._configuration.MinimizeInactiveClients = this.View.MinimizeInactiveClients; - this._configuration.MinimizeInactiveClientsAnimation = this.View.MinimizeInactiveClientsAnimation; + this._configuration.WindowsAnimationStyle = ViewAnimationStyleConverter.Convert(this.View.WindowsAnimationStyle); this._configuration.ShowThumbnailsAlwaysOnTop = this.View.ShowThumbnailsAlwaysOnTop; this._configuration.HideThumbnailsOnLostFocus = this.View.HideThumbnailsOnLostFocus; this._configuration.EnablePerClientThumbnailLayouts = this.View.EnablePerClientThumbnailLayouts; diff --git a/src/Eve-O-Preview/Presenters/Implementation/ViewAnimationStyleConverter.cs b/src/Eve-O-Preview/Presenters/Implementation/ViewAnimationStyleConverter.cs new file mode 100644 index 0000000..39515a9 --- /dev/null +++ b/src/Eve-O-Preview/Presenters/Implementation/ViewAnimationStyleConverter.cs @@ -0,0 +1,19 @@ +using EveOPreview.Configuration; + +namespace EveOPreview.View +{ + static class ViewAnimationStyleConverter + { + public static AnimationStyle Convert(ViewAnimationStyle value) + { + // Cheat based on fact that the order and byte values of both enums are the same + return (AnimationStyle)((int)value); + } + + public static ViewAnimationStyle Convert(AnimationStyle value) + { + // Cheat based on fact that the order and byte values of both enums are the same + return (ViewAnimationStyle)((int)value); + } + } +} \ No newline at end of file diff --git a/src/Eve-O-Preview/Properties/AssemblyInfo.cs b/src/Eve-O-Preview/Properties/AssemblyInfo.cs index 1f63ea6..9c4041c 100644 --- a/src/Eve-O-Preview/Properties/AssemblyInfo.cs +++ b/src/Eve-O-Preview/Properties/AssemblyInfo.cs @@ -12,7 +12,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Guid("04f08f8d-9e98-423b-acdb-4effb31c0d35")] -[assembly: AssemblyVersion("8.0.1.4")] -[assembly: AssemblyFileVersion("8.0.1.4")] +[assembly: AssemblyVersion("8.0.1.5")] +[assembly: AssemblyFileVersion("8.0.1.5")] [assembly: CLSCompliant(false)] \ No newline at end of file diff --git a/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs b/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs index 7140867..346f39f 100644 --- a/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs +++ b/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs @@ -102,7 +102,7 @@ namespace EveOPreview.Services { this.GetActiveClient()?.ClearBorder(); - this._windowManager.ActivateWindow(newClient.Key, this._configuration.MinimizeInactiveClientsAnimation); + this._windowManager.ActivateWindow(newClient.Key, this._configuration.WindowsAnimationStyle); this.SwitchActiveClient(newClient.Key, newClient.Value.Title); newClient.Value.SetHighlight(); @@ -490,7 +490,7 @@ namespace EveOPreview.Services // Minimize the currently active client if needed if (this._configuration.MinimizeInactiveClients && !this._configuration.IsPriorityClient(this._activeClient.Title)) { - this._windowManager.MinimizeWindow(this._activeClient.Handle, this._configuration.MinimizeInactiveClientsAnimation); + this._windowManager.MinimizeWindow(this._activeClient.Handle, this._configuration.WindowsAnimationStyle, false); } this._activeClient = (foregroundClientHandle, foregroundClientTitle); @@ -541,7 +541,7 @@ namespace EveOPreview.Services Task.Run(() => { - this._windowManager.ActivateWindow(view.Id, this._configuration.MinimizeInactiveClientsAnimation); + this._windowManager.ActivateWindow(view.Id, this._configuration.WindowsAnimationStyle); }) .ContinueWith((task) => { @@ -556,7 +556,7 @@ namespace EveOPreview.Services { if (switchOut) { - this._windowManager.ActivateWindow(this._externalApplication, this._configuration.MinimizeInactiveClientsAnimation); + this._windowManager.ActivateWindow(this._externalApplication, this._configuration.WindowsAnimationStyle); } else { @@ -565,7 +565,7 @@ namespace EveOPreview.Services return; } - this._windowManager.MinimizeWindow(view.Id, this._configuration.MinimizeInactiveClientsAnimation); + this._windowManager.MinimizeWindow(view.Id, this._configuration.WindowsAnimationStyle, true); this.RefreshThumbnails(); } } @@ -750,7 +750,7 @@ namespace EveOPreview.Services if (clientLayout.IsMaximized) { - this._windowManager.MaximizeWindow(clientHandle, this._configuration.MinimizeInactiveClientsAnimation); + this._windowManager.MaximizeWindow(clientHandle); } else { diff --git a/src/Eve-O-Preview/Services/Implementation/WindowManager.cs b/src/Eve-O-Preview/Services/Implementation/WindowManager.cs index f44de19..418e0ad 100644 --- a/src/Eve-O-Preview/Services/Implementation/WindowManager.cs +++ b/src/Eve-O-Preview/Services/Implementation/WindowManager.cs @@ -1,6 +1,7 @@ using System; using System.Drawing; using System.Runtime.InteropServices; +using EveOPreview.Configuration; using EveOPreview.Services.Interop; namespace EveOPreview.Services.Implementation @@ -9,6 +10,7 @@ namespace EveOPreview.Services.Implementation { #region Private constants private const int WINDOW_SIZE_THRESHOLD = 300; + private const int NO_ANIMATION = 0; #endregion public WindowManager() @@ -18,8 +20,12 @@ namespace EveOPreview.Services.Implementation ((Environment.OSVersion.Version.Major == 6) && (Environment.OSVersion.Version.Minor >= 2)) // Win 8 and Win 8.1 || (Environment.OSVersion.Version.Major >= 10) // Win 10 || DwmNativeMethods.DwmIsCompositionEnabled(); // In case of Win 7 an API call is requiredWin 7 + _animationParam.cbSize = (System.UInt32)Marshal.SizeOf(typeof(ANIMATIONINFO)); } + private int? _currentAnimationSetting = null; + private ANIMATIONINFO _animationParam = new ANIMATIONINFO(); + public bool IsCompositionEnabled { get; } public IntPtr GetForegroundWindowHandle() @@ -27,7 +33,36 @@ namespace EveOPreview.Services.Implementation return User32NativeMethods.GetForegroundWindow(); } - public void ActivateWindow(IntPtr handle, bool enableAnimation) + private void TurnOffAnimation() + { + var currentAnimationSetup = User32NativeMethods.SystemParametersInfo(User32NativeMethods.SPI_GETANIMATION, (System.Int32)Marshal.SizeOf(typeof(ANIMATIONINFO)), ref _animationParam, 0); + if (_currentAnimationSetting == null) + { + // Store the current Animation Setting + _currentAnimationSetting = _animationParam.iMinAnimate; + } + + if (currentAnimationSetup != NO_ANIMATION) + { + // Turn off Animation + _animationParam.iMinAnimate = NO_ANIMATION; + var animationOffReturn = User32NativeMethods.SystemParametersInfo(User32NativeMethods.SPI_SETANIMATION, (System.Int32)Marshal.SizeOf(typeof(ANIMATIONINFO)), ref _animationParam, 0); + } + } + + private void RestoreAnimation() + { + var currentAnimationSetup = User32NativeMethods.SystemParametersInfo(User32NativeMethods.SPI_GETANIMATION, (System.Int32)Marshal.SizeOf(typeof(ANIMATIONINFO)), ref _animationParam, 0); + // Restore current Animation Settings + if (_animationParam.iMinAnimate != (int)_currentAnimationSetting) + { + _animationParam.iMinAnimate = (int)_currentAnimationSetting; + var animationResetReturn = User32NativeMethods.SystemParametersInfo(User32NativeMethods.SPI_SETANIMATION, (System.Int32)Marshal.SizeOf(typeof(ANIMATIONINFO)), ref _animationParam, 0); + } + } + + + public void ActivateWindow(IntPtr handle, AnimationStyle animation) { User32NativeMethods.SetForegroundWindow(handle); User32NativeMethods.SetFocus(handle); @@ -36,57 +71,54 @@ namespace EveOPreview.Services.Implementation if ((style & InteropConstants.WS_MINIMIZE) == InteropConstants.WS_MINIMIZE) { - if (enableAnimation) + switch (animation) { - User32NativeMethods.ShowWindowAsync(handle, InteropConstants.SW_RESTORE); - } - else - { - ANIMATIONINFO param = new ANIMATIONINFO(); - param.cbSize = (System.UInt32)Marshal.SizeOf(typeof(ANIMATIONINFO)); - - // Store the current Animation Setting - var ret = User32NativeMethods.SystemParametersInfo(User32NativeMethods.SPI_GETANIMATION, (System.Int32)Marshal.SizeOf(typeof(ANIMATIONINFO)), ref param, 0); - int currentAnimationSetting = param.iMinAnimate; - - // Turn off Animation - param.iMinAnimate = 0; - ret = User32NativeMethods.SystemParametersInfo(User32NativeMethods.SPI_SETANIMATION, (System.Int32)Marshal.SizeOf(typeof(ANIMATIONINFO)), ref param, 0); - - User32NativeMethods.ShowWindowAsync(handle, InteropConstants.SW_RESTORE); - - // Restore current Animation Settings - param.iMinAnimate = currentAnimationSetting; - ret = User32NativeMethods.SystemParametersInfo(User32NativeMethods.SPI_SETANIMATION, (System.Int32)Marshal.SizeOf(typeof(ANIMATIONINFO)), ref param, 0); - } - } + case AnimationStyle.OriginalAnimation: + User32NativeMethods.ShowWindowAsync(handle, InteropConstants.SW_RESTORE); + break; + case AnimationStyle.NoAnimation: + TurnOffAnimation(); + User32NativeMethods.ShowWindowAsync(handle, InteropConstants.SW_RESTORE); + RestoreAnimation(); + break; + } + } } - public void MinimizeWindow(IntPtr handle, bool enableAnimation) + public void MinimizeWindow(IntPtr handle, AnimationStyle animation, bool enableAnimation) { if (enableAnimation) { - User32NativeMethods.SendMessage(handle, InteropConstants.WM_SYSCOMMAND, InteropConstants.SC_MINIMIZE, 0); + switch (animation) + { + case AnimationStyle.OriginalAnimation: + User32NativeMethods.SendMessage(handle, InteropConstants.WM_SYSCOMMAND, InteropConstants.SC_MINIMIZE, 0); + break; + case AnimationStyle.NoAnimation: + TurnOffAnimation(); + User32NativeMethods.SendMessage(handle, InteropConstants.WM_SYSCOMMAND, InteropConstants.SC_MINIMIZE, 0); + RestoreAnimation(); + break; + } } else { - ANIMATIONINFO param = new ANIMATIONINFO(); - param.cbSize = (System.UInt32)Marshal.SizeOf(typeof(ANIMATIONINFO)); - - // Store Current Animation Setting - var ret = User32NativeMethods.SystemParametersInfo(User32NativeMethods.SPI_GETANIMATION, (System.Int32)Marshal.SizeOf(typeof(ANIMATIONINFO)), ref param, 0); - int currentAnimationSetting = param.iMinAnimate; - - // Turn off Animation - param.iMinAnimate = 0; - ret = User32NativeMethods.SystemParametersInfo(User32NativeMethods.SPI_SETANIMATION, (System.Int32)Marshal.SizeOf(typeof(ANIMATIONINFO)), ref param, 0); - - User32NativeMethods.SendMessage(handle, InteropConstants.WM_SYSCOMMAND, InteropConstants.SC_MINIMIZE, 0); - - // Restore current Animation Settings - param.iMinAnimate = currentAnimationSetting; - ret = User32NativeMethods.SystemParametersInfo(User32NativeMethods.SPI_SETANIMATION, (System.Int32)Marshal.SizeOf(typeof(ANIMATIONINFO)), ref param, 0); - } + switch (animation) + { + case AnimationStyle.OriginalAnimation: + WINDOWPLACEMENT param = new WINDOWPLACEMENT(); + param.length = Marshal.SizeOf(typeof(WINDOWPLACEMENT)); + User32NativeMethods.GetWindowPlacement(handle, ref param); + param.showCmd = WINDOWPLACEMENT.SW_MINIMIZE; + User32NativeMethods.SetWindowPlacement(handle, ref param); + break; + case AnimationStyle.NoAnimation: + TurnOffAnimation(); + User32NativeMethods.SendMessage(handle, InteropConstants.WM_SYSCOMMAND, InteropConstants.SC_MINIMIZE, 0); + RestoreAnimation(); + break; + } + } } public void MoveWindow(IntPtr handle, int left, int top, int width, int height) @@ -94,21 +126,9 @@ namespace EveOPreview.Services.Implementation User32NativeMethods.MoveWindow(handle, left, top, width, height, true); } - public void MaximizeWindow(IntPtr handle, bool enableAnimation) + public void MaximizeWindow(IntPtr handle) { - if (enableAnimation) - { - User32NativeMethods.ShowWindowAsync(handle, InteropConstants.SW_SHOWMAXIMIZED); - } - else - { - WINDOWPLACEMENT param = new WINDOWPLACEMENT(); - param.length = Marshal.SizeOf(typeof(WINDOWPLACEMENT)); - User32NativeMethods.GetWindowPlacement(handle, ref param); - param.showCmd = WINDOWPLACEMENT.SW_MINIMIZE; - User32NativeMethods.SetWindowPlacement(handle, ref param); - } - + User32NativeMethods.ShowWindowAsync(handle, InteropConstants.SW_SHOWMAXIMIZED); } public (int Left, int Top, int Right, int Bottom) GetWindowPosition(IntPtr handle) diff --git a/src/Eve-O-Preview/Services/Interface/IWindowManager.cs b/src/Eve-O-Preview/Services/Interface/IWindowManager.cs index d546c46..d8e2b7c 100644 --- a/src/Eve-O-Preview/Services/Interface/IWindowManager.cs +++ b/src/Eve-O-Preview/Services/Interface/IWindowManager.cs @@ -1,4 +1,5 @@ -using System; +using EveOPreview.Configuration; +using System; using System.Drawing; namespace EveOPreview.Services @@ -8,10 +9,10 @@ namespace EveOPreview.Services bool IsCompositionEnabled { get; } IntPtr GetForegroundWindowHandle(); - void ActivateWindow(IntPtr handle, bool enableAnimation); - void MinimizeWindow(IntPtr handle, bool enableAnimation); + void ActivateWindow(IntPtr handle, AnimationStyle animation); + void MinimizeWindow(IntPtr handle, AnimationStyle animation, bool enableAnimation); void MoveWindow(IntPtr handle, int left, int top, int width, int height); - void MaximizeWindow(IntPtr handle, bool enableAnimation); + void MaximizeWindow(IntPtr handle); (int Left, int Top, int Right, int Bottom) GetWindowPosition(IntPtr handle); bool IsWindowMaximized(IntPtr handle); bool IsWindowMinimized(IntPtr handle); diff --git a/src/Eve-O-Preview/View/Implementation/MainForm.Designer.cs b/src/Eve-O-Preview/View/Implementation/MainForm.Designer.cs index 1b27104..5650573 100644 --- a/src/Eve-O-Preview/View/Implementation/MainForm.Designer.cs +++ b/src/Eve-O-Preview/View/Implementation/MainForm.Designer.cs @@ -31,1194 +31,1206 @@ namespace EveOPreview.View /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.Windows.Forms.ToolStripMenuItem RestoreWindowMenuItem; - System.Windows.Forms.ToolStripMenuItem ExitMenuItem; - System.Windows.Forms.ToolStripMenuItem TitleMenuItem; - System.Windows.Forms.ToolStripSeparator SeparatorMenuItem; - System.Windows.Forms.TabControl ContentTabControl; - System.Windows.Forms.TabPage GeneralTabPage; - System.Windows.Forms.Panel GeneralSettingsPanel; - System.Windows.Forms.TabPage ThumbnailTabPage; - System.Windows.Forms.Panel ThumbnailSettingsPanel; - System.Windows.Forms.Label HeigthLabel; - System.Windows.Forms.Label WidthLabel; - System.Windows.Forms.Label OpacityLabel; - System.Windows.Forms.Panel ZoomSettingsPanel; - System.Windows.Forms.Label ZoomFactorLabel; - System.Windows.Forms.Label ZoomAnchorLabel; - System.Windows.Forms.TabPage OverlayTabPage; - System.Windows.Forms.Panel OverlaySettingsPanel; - System.Windows.Forms.TabPage ClientsTabPage; - System.Windows.Forms.Panel ClientsPanel; - System.Windows.Forms.Label ThumbnailsListLabel; - System.Windows.Forms.TabPage AboutTabPage; - System.Windows.Forms.Panel AboutPanel; - System.Windows.Forms.Label CreditMaintLabel; - System.Windows.Forms.Label DocumentationLinkLabel; - System.Windows.Forms.Label DescriptionLabel; - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); - System.Windows.Forms.Label NameLabel; - this.MinimizeInactiveClientsAnimationCheckBox = new System.Windows.Forms.CheckBox(); - this.MinimizeInactiveClientsCheckBox = new System.Windows.Forms.CheckBox(); - this.EnableClientLayoutTrackingCheckBox = new System.Windows.Forms.CheckBox(); - this.HideActiveClientThumbnailCheckBox = new System.Windows.Forms.CheckBox(); - this.ShowThumbnailsAlwaysOnTopCheckBox = new System.Windows.Forms.CheckBox(); - this.HideThumbnailsOnLostFocusCheckBox = new System.Windows.Forms.CheckBox(); - this.EnablePerClientThumbnailsLayoutsCheckBox = new System.Windows.Forms.CheckBox(); - this.MinimizeToTrayCheckBox = new System.Windows.Forms.CheckBox(); - this.ThumbnailSnapToGridCheckBox = new System.Windows.Forms.CheckBox(); - this.ThumbnailSnapToGridSizeYNumericEdit = new System.Windows.Forms.NumericUpDown(); - this.SnapYLabel = new System.Windows.Forms.Label(); - this.ThumbnailSnapToGridSizeXNumericEdit = new System.Windows.Forms.NumericUpDown(); - this.SnapXLabel = new System.Windows.Forms.Label(); - this.LockThumbnailLocationCheckbox = new System.Windows.Forms.CheckBox(); - this.ThumbnailsWidthNumericEdit = new System.Windows.Forms.NumericUpDown(); - this.ThumbnailsHeightNumericEdit = new System.Windows.Forms.NumericUpDown(); - this.ThumbnailOpacityTrackBar = new System.Windows.Forms.TrackBar(); - this.ZoomTabPage = new System.Windows.Forms.TabPage(); - this.ZoomAnchorPanel = new System.Windows.Forms.Panel(); - this.ZoomAanchorNWRadioButton = new System.Windows.Forms.RadioButton(); - this.ZoomAanchorNRadioButton = new System.Windows.Forms.RadioButton(); - this.ZoomAanchorNERadioButton = new System.Windows.Forms.RadioButton(); - this.ZoomAanchorWRadioButton = new System.Windows.Forms.RadioButton(); - this.ZoomAanchorSERadioButton = new System.Windows.Forms.RadioButton(); - this.ZoomAanchorCRadioButton = new System.Windows.Forms.RadioButton(); - this.ZoomAanchorSRadioButton = new System.Windows.Forms.RadioButton(); - this.ZoomAanchorERadioButton = new System.Windows.Forms.RadioButton(); - this.ZoomAanchorSWRadioButton = new System.Windows.Forms.RadioButton(); - this.EnableThumbnailZoomCheckBox = new System.Windows.Forms.CheckBox(); - this.ThumbnailZoomFactorNumericEdit = new System.Windows.Forms.NumericUpDown(); - this.label3 = new System.Windows.Forms.Label(); - this.label2 = new System.Windows.Forms.Label(); - this.OverlayLabelColorButton = new System.Windows.Forms.Panel(); - this.OverlayLabelSizeNumericEdit = new System.Windows.Forms.NumericUpDown(); - this.panel1 = new System.Windows.Forms.Panel(); - this.OverlayLabelNWRadioButton = new System.Windows.Forms.RadioButton(); - this.OverlayLabelNRadioButton = new System.Windows.Forms.RadioButton(); - this.OverlayLabelNERadioButton = new System.Windows.Forms.RadioButton(); - this.OverlayLabelWRadioButton = new System.Windows.Forms.RadioButton(); - this.OverlayLabelSERadioButton = new System.Windows.Forms.RadioButton(); - this.OverlayLabelCRadioButton = new System.Windows.Forms.RadioButton(); - this.OverlayLabelSRadioButton = new System.Windows.Forms.RadioButton(); - this.OverlayLabelERadioButton = new System.Windows.Forms.RadioButton(); - this.OverlayLabelSWRadioButton = new System.Windows.Forms.RadioButton(); - this.label1 = new System.Windows.Forms.Label(); - this.HighlightColorLabel = new System.Windows.Forms.Label(); - this.ActiveClientHighlightColorButton = new System.Windows.Forms.Panel(); - this.EnableActiveClientHighlightCheckBox = new System.Windows.Forms.CheckBox(); - this.ShowThumbnailOverlaysCheckBox = new System.Windows.Forms.CheckBox(); - this.ShowThumbnailFramesCheckBox = new System.Windows.Forms.CheckBox(); - this.ThumbnailsList = new System.Windows.Forms.CheckedListBox(); - this.VersionLabel = new System.Windows.Forms.Label(); - this.DocumentationLink = new System.Windows.Forms.LinkLabel(); - this.NotifyIcon = new System.Windows.Forms.NotifyIcon(this.components); - this.TrayMenu = new System.Windows.Forms.ContextMenuStrip(this.components); - RestoreWindowMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - ExitMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - TitleMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - SeparatorMenuItem = new System.Windows.Forms.ToolStripSeparator(); - ContentTabControl = new System.Windows.Forms.TabControl(); - GeneralTabPage = new System.Windows.Forms.TabPage(); - GeneralSettingsPanel = new System.Windows.Forms.Panel(); - ThumbnailTabPage = new System.Windows.Forms.TabPage(); - ThumbnailSettingsPanel = new System.Windows.Forms.Panel(); - HeigthLabel = new System.Windows.Forms.Label(); - WidthLabel = new System.Windows.Forms.Label(); - OpacityLabel = new System.Windows.Forms.Label(); - ZoomSettingsPanel = new System.Windows.Forms.Panel(); - ZoomFactorLabel = new System.Windows.Forms.Label(); - ZoomAnchorLabel = new System.Windows.Forms.Label(); - OverlayTabPage = new System.Windows.Forms.TabPage(); - OverlaySettingsPanel = new System.Windows.Forms.Panel(); - ClientsTabPage = new System.Windows.Forms.TabPage(); - ClientsPanel = new System.Windows.Forms.Panel(); - ThumbnailsListLabel = new System.Windows.Forms.Label(); - AboutTabPage = new System.Windows.Forms.TabPage(); - AboutPanel = new System.Windows.Forms.Panel(); - CreditMaintLabel = new System.Windows.Forms.Label(); - DocumentationLinkLabel = new System.Windows.Forms.Label(); - DescriptionLabel = new System.Windows.Forms.Label(); - NameLabel = new System.Windows.Forms.Label(); - ContentTabControl.SuspendLayout(); - GeneralTabPage.SuspendLayout(); - GeneralSettingsPanel.SuspendLayout(); - ThumbnailTabPage.SuspendLayout(); - ThumbnailSettingsPanel.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ThumbnailSnapToGridSizeYNumericEdit)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.ThumbnailSnapToGridSizeXNumericEdit)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsWidthNumericEdit)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsHeightNumericEdit)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.ThumbnailOpacityTrackBar)).BeginInit(); - this.ZoomTabPage.SuspendLayout(); - ZoomSettingsPanel.SuspendLayout(); - this.ZoomAnchorPanel.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ThumbnailZoomFactorNumericEdit)).BeginInit(); - OverlayTabPage.SuspendLayout(); - OverlaySettingsPanel.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.OverlayLabelSizeNumericEdit)).BeginInit(); - this.panel1.SuspendLayout(); - ClientsTabPage.SuspendLayout(); - ClientsPanel.SuspendLayout(); - AboutTabPage.SuspendLayout(); - AboutPanel.SuspendLayout(); - this.TrayMenu.SuspendLayout(); - this.SuspendLayout(); - // - // RestoreWindowMenuItem - // - RestoreWindowMenuItem.Name = "RestoreWindowMenuItem"; - RestoreWindowMenuItem.Size = new System.Drawing.Size(151, 22); - RestoreWindowMenuItem.Text = "Restore"; - RestoreWindowMenuItem.Click += new System.EventHandler(this.RestoreMainForm_Handler); - // - // ExitMenuItem - // - ExitMenuItem.Name = "ExitMenuItem"; - ExitMenuItem.Size = new System.Drawing.Size(151, 22); - ExitMenuItem.Text = "Exit"; - ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItemClick_Handler); - // - // TitleMenuItem - // - TitleMenuItem.Enabled = false; - TitleMenuItem.Name = "TitleMenuItem"; - TitleMenuItem.Size = new System.Drawing.Size(151, 22); - TitleMenuItem.Text = "EVE-O Preview"; - // - // SeparatorMenuItem - // - SeparatorMenuItem.Name = "SeparatorMenuItem"; - SeparatorMenuItem.Size = new System.Drawing.Size(148, 6); - // - // ContentTabControl - // - ContentTabControl.Alignment = System.Windows.Forms.TabAlignment.Left; - ContentTabControl.Controls.Add(GeneralTabPage); - ContentTabControl.Controls.Add(ThumbnailTabPage); - ContentTabControl.Controls.Add(this.ZoomTabPage); - ContentTabControl.Controls.Add(OverlayTabPage); - ContentTabControl.Controls.Add(ClientsTabPage); - ContentTabControl.Controls.Add(AboutTabPage); - ContentTabControl.Dock = System.Windows.Forms.DockStyle.Fill; - ContentTabControl.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; - ContentTabControl.ItemSize = new System.Drawing.Size(35, 120); - ContentTabControl.Location = new System.Drawing.Point(0, 0); - ContentTabControl.Multiline = true; - ContentTabControl.Name = "ContentTabControl"; - ContentTabControl.SelectedIndex = 0; - ContentTabControl.Size = new System.Drawing.Size(390, 218); - ContentTabControl.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; - ContentTabControl.TabIndex = 6; - ContentTabControl.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.ContentTabControl_DrawItem); - // - // GeneralTabPage - // - GeneralTabPage.BackColor = System.Drawing.SystemColors.Control; - GeneralTabPage.Controls.Add(GeneralSettingsPanel); - GeneralTabPage.Location = new System.Drawing.Point(124, 4); - GeneralTabPage.Name = "GeneralTabPage"; - GeneralTabPage.Padding = new System.Windows.Forms.Padding(3); - GeneralTabPage.Size = new System.Drawing.Size(262, 210); - GeneralTabPage.TabIndex = 0; - GeneralTabPage.Text = "General"; - // - // GeneralSettingsPanel - // - GeneralSettingsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - GeneralSettingsPanel.Controls.Add(this.MinimizeInactiveClientsAnimationCheckBox); - GeneralSettingsPanel.Controls.Add(this.MinimizeInactiveClientsCheckBox); - GeneralSettingsPanel.Controls.Add(this.EnableClientLayoutTrackingCheckBox); - GeneralSettingsPanel.Controls.Add(this.HideActiveClientThumbnailCheckBox); - GeneralSettingsPanel.Controls.Add(this.ShowThumbnailsAlwaysOnTopCheckBox); - GeneralSettingsPanel.Controls.Add(this.HideThumbnailsOnLostFocusCheckBox); - GeneralSettingsPanel.Controls.Add(this.EnablePerClientThumbnailsLayoutsCheckBox); - GeneralSettingsPanel.Controls.Add(this.MinimizeToTrayCheckBox); - GeneralSettingsPanel.Dock = System.Windows.Forms.DockStyle.Fill; - GeneralSettingsPanel.Location = new System.Drawing.Point(3, 3); - GeneralSettingsPanel.Name = "GeneralSettingsPanel"; - GeneralSettingsPanel.Size = new System.Drawing.Size(256, 204); - GeneralSettingsPanel.TabIndex = 18; - // - // MinimizeInactiveClientsAnimationCheckBox - // - this.MinimizeInactiveClientsAnimationCheckBox.AutoSize = true; - this.MinimizeInactiveClientsAnimationCheckBox.Location = new System.Drawing.Point(8, 101); - this.MinimizeInactiveClientsAnimationCheckBox.Name = "MinimizeInactiveClientsAnimationCheckBox"; - this.MinimizeInactiveClientsAnimationCheckBox.Size = new System.Drawing.Size(190, 17); - this.MinimizeInactiveClientsAnimationCheckBox.TabIndex = 25; - this.MinimizeInactiveClientsAnimationCheckBox.Text = "Minimize Inactive Clients Animation"; - this.MinimizeInactiveClientsAnimationCheckBox.UseVisualStyleBackColor = true; - this.MinimizeInactiveClientsAnimationCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // MinimizeInactiveClientsCheckBox - // - this.MinimizeInactiveClientsCheckBox.AutoSize = true; - this.MinimizeInactiveClientsCheckBox.Location = new System.Drawing.Point(8, 78); - this.MinimizeInactiveClientsCheckBox.Name = "MinimizeInactiveClientsCheckBox"; - this.MinimizeInactiveClientsCheckBox.Size = new System.Drawing.Size(163, 17); - this.MinimizeInactiveClientsCheckBox.TabIndex = 24; - this.MinimizeInactiveClientsCheckBox.Text = "Minimize inactive EVE clients"; - this.MinimizeInactiveClientsCheckBox.UseVisualStyleBackColor = true; - this.MinimizeInactiveClientsCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // EnableClientLayoutTrackingCheckBox - // - this.EnableClientLayoutTrackingCheckBox.AutoSize = true; - this.EnableClientLayoutTrackingCheckBox.Location = new System.Drawing.Point(8, 31); - this.EnableClientLayoutTrackingCheckBox.Name = "EnableClientLayoutTrackingCheckBox"; - this.EnableClientLayoutTrackingCheckBox.Size = new System.Drawing.Size(127, 17); - this.EnableClientLayoutTrackingCheckBox.TabIndex = 19; - this.EnableClientLayoutTrackingCheckBox.Text = "Track client locations"; - this.EnableClientLayoutTrackingCheckBox.UseVisualStyleBackColor = true; - this.EnableClientLayoutTrackingCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // HideActiveClientThumbnailCheckBox - // - this.HideActiveClientThumbnailCheckBox.AutoSize = true; - this.HideActiveClientThumbnailCheckBox.Checked = true; - this.HideActiveClientThumbnailCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.HideActiveClientThumbnailCheckBox.Location = new System.Drawing.Point(8, 55); - this.HideActiveClientThumbnailCheckBox.Name = "HideActiveClientThumbnailCheckBox"; - this.HideActiveClientThumbnailCheckBox.Size = new System.Drawing.Size(184, 17); - this.HideActiveClientThumbnailCheckBox.TabIndex = 20; - this.HideActiveClientThumbnailCheckBox.Text = "Hide preview of active EVE client"; - this.HideActiveClientThumbnailCheckBox.UseVisualStyleBackColor = true; - this.HideActiveClientThumbnailCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ShowThumbnailsAlwaysOnTopCheckBox - // - this.ShowThumbnailsAlwaysOnTopCheckBox.AutoSize = true; - this.ShowThumbnailsAlwaysOnTopCheckBox.Checked = true; - this.ShowThumbnailsAlwaysOnTopCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.ShowThumbnailsAlwaysOnTopCheckBox.Location = new System.Drawing.Point(8, 124); - this.ShowThumbnailsAlwaysOnTopCheckBox.Name = "ShowThumbnailsAlwaysOnTopCheckBox"; - this.ShowThumbnailsAlwaysOnTopCheckBox.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.ShowThumbnailsAlwaysOnTopCheckBox.Size = new System.Drawing.Size(137, 17); - this.ShowThumbnailsAlwaysOnTopCheckBox.TabIndex = 21; - this.ShowThumbnailsAlwaysOnTopCheckBox.Text = "Previews always on top"; - this.ShowThumbnailsAlwaysOnTopCheckBox.UseVisualStyleBackColor = true; - this.ShowThumbnailsAlwaysOnTopCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // HideThumbnailsOnLostFocusCheckBox - // - this.HideThumbnailsOnLostFocusCheckBox.AutoSize = true; - this.HideThumbnailsOnLostFocusCheckBox.Checked = true; - this.HideThumbnailsOnLostFocusCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.HideThumbnailsOnLostFocusCheckBox.Location = new System.Drawing.Point(8, 148); - this.HideThumbnailsOnLostFocusCheckBox.Name = "HideThumbnailsOnLostFocusCheckBox"; - this.HideThumbnailsOnLostFocusCheckBox.Size = new System.Drawing.Size(234, 17); - this.HideThumbnailsOnLostFocusCheckBox.TabIndex = 22; - this.HideThumbnailsOnLostFocusCheckBox.Text = "Hide previews when EVE client is not active"; - this.HideThumbnailsOnLostFocusCheckBox.UseVisualStyleBackColor = true; - this.HideThumbnailsOnLostFocusCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // EnablePerClientThumbnailsLayoutsCheckBox - // - this.EnablePerClientThumbnailsLayoutsCheckBox.AutoSize = true; - this.EnablePerClientThumbnailsLayoutsCheckBox.Checked = true; - this.EnablePerClientThumbnailsLayoutsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.EnablePerClientThumbnailsLayoutsCheckBox.Location = new System.Drawing.Point(8, 172); - this.EnablePerClientThumbnailsLayoutsCheckBox.Name = "EnablePerClientThumbnailsLayoutsCheckBox"; - this.EnablePerClientThumbnailsLayoutsCheckBox.Size = new System.Drawing.Size(185, 17); - this.EnablePerClientThumbnailsLayoutsCheckBox.TabIndex = 23; - this.EnablePerClientThumbnailsLayoutsCheckBox.Text = "Unique layout for each EVE client"; - this.EnablePerClientThumbnailsLayoutsCheckBox.UseVisualStyleBackColor = true; - this.EnablePerClientThumbnailsLayoutsCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // MinimizeToTrayCheckBox - // - this.MinimizeToTrayCheckBox.AutoSize = true; - this.MinimizeToTrayCheckBox.Location = new System.Drawing.Point(8, 7); - this.MinimizeToTrayCheckBox.Name = "MinimizeToTrayCheckBox"; - this.MinimizeToTrayCheckBox.Size = new System.Drawing.Size(139, 17); - this.MinimizeToTrayCheckBox.TabIndex = 18; - this.MinimizeToTrayCheckBox.Text = "Minimize to System Tray"; - this.MinimizeToTrayCheckBox.UseVisualStyleBackColor = true; - this.MinimizeToTrayCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ThumbnailTabPage - // - ThumbnailTabPage.BackColor = System.Drawing.SystemColors.Control; - ThumbnailTabPage.Controls.Add(ThumbnailSettingsPanel); - ThumbnailTabPage.Location = new System.Drawing.Point(124, 4); - ThumbnailTabPage.Name = "ThumbnailTabPage"; - ThumbnailTabPage.Padding = new System.Windows.Forms.Padding(3); - ThumbnailTabPage.Size = new System.Drawing.Size(262, 210); - ThumbnailTabPage.TabIndex = 1; - ThumbnailTabPage.Text = "Thumbnail"; - // - // ThumbnailSettingsPanel - // - ThumbnailSettingsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - ThumbnailSettingsPanel.Controls.Add(this.ThumbnailSnapToGridCheckBox); - ThumbnailSettingsPanel.Controls.Add(this.ThumbnailSnapToGridSizeYNumericEdit); - ThumbnailSettingsPanel.Controls.Add(this.SnapYLabel); - ThumbnailSettingsPanel.Controls.Add(this.ThumbnailSnapToGridSizeXNumericEdit); - ThumbnailSettingsPanel.Controls.Add(this.SnapXLabel); - ThumbnailSettingsPanel.Controls.Add(this.LockThumbnailLocationCheckbox); - ThumbnailSettingsPanel.Controls.Add(HeigthLabel); - ThumbnailSettingsPanel.Controls.Add(WidthLabel); - ThumbnailSettingsPanel.Controls.Add(this.ThumbnailsWidthNumericEdit); - ThumbnailSettingsPanel.Controls.Add(this.ThumbnailsHeightNumericEdit); - ThumbnailSettingsPanel.Controls.Add(this.ThumbnailOpacityTrackBar); - ThumbnailSettingsPanel.Controls.Add(OpacityLabel); - ThumbnailSettingsPanel.Dock = System.Windows.Forms.DockStyle.Fill; - ThumbnailSettingsPanel.Location = new System.Drawing.Point(3, 3); - ThumbnailSettingsPanel.Name = "ThumbnailSettingsPanel"; - ThumbnailSettingsPanel.Size = new System.Drawing.Size(256, 204); - ThumbnailSettingsPanel.TabIndex = 19; - // - // ThumbnailSnapToGridCheckBox - // - this.ThumbnailSnapToGridCheckBox.AutoSize = true; - this.ThumbnailSnapToGridCheckBox.Location = new System.Drawing.Point(11, 104); - this.ThumbnailSnapToGridCheckBox.Name = "ThumbnailSnapToGridCheckBox"; - this.ThumbnailSnapToGridCheckBox.Size = new System.Drawing.Size(137, 17); - this.ThumbnailSnapToGridCheckBox.TabIndex = 32; - this.ThumbnailSnapToGridCheckBox.Text = "Thumbnail Snap to Grid"; - this.ThumbnailSnapToGridCheckBox.UseVisualStyleBackColor = true; - this.ThumbnailSnapToGridCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ThumbnailSnapToGridSizeYNumericEdit - // - this.ThumbnailSnapToGridSizeYNumericEdit.BackColor = System.Drawing.SystemColors.Window; - this.ThumbnailSnapToGridSizeYNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ThumbnailSnapToGridSizeYNumericEdit.CausesValidation = false; - this.ThumbnailSnapToGridSizeYNumericEdit.Increment = new decimal(new int[] { + this.components = new System.ComponentModel.Container(); + System.Windows.Forms.ToolStripMenuItem RestoreWindowMenuItem; + System.Windows.Forms.ToolStripMenuItem ExitMenuItem; + System.Windows.Forms.ToolStripMenuItem TitleMenuItem; + System.Windows.Forms.ToolStripSeparator SeparatorMenuItem; + System.Windows.Forms.TabControl ContentTabControl; + System.Windows.Forms.TabPage GeneralTabPage; + System.Windows.Forms.Panel GeneralSettingsPanel; + System.Windows.Forms.TabPage ThumbnailTabPage; + System.Windows.Forms.Panel ThumbnailSettingsPanel; + System.Windows.Forms.Label HeigthLabel; + System.Windows.Forms.Label WidthLabel; + System.Windows.Forms.Label OpacityLabel; + System.Windows.Forms.Panel ZoomSettingsPanel; + System.Windows.Forms.Label ZoomFactorLabel; + System.Windows.Forms.Label ZoomAnchorLabel; + System.Windows.Forms.TabPage OverlayTabPage; + System.Windows.Forms.Panel OverlaySettingsPanel; + System.Windows.Forms.TabPage ClientsTabPage; + System.Windows.Forms.Panel ClientsPanel; + System.Windows.Forms.Label ThumbnailsListLabel; + System.Windows.Forms.TabPage AboutTabPage; + System.Windows.Forms.Panel AboutPanel; + System.Windows.Forms.Label CreditMaintLabel; + System.Windows.Forms.Label DocumentationLinkLabel; + System.Windows.Forms.Label DescriptionLabel; + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); + System.Windows.Forms.Label NameLabel; + System.Windows.Forms.Label label4; + this.AnimationStyleCombo = new System.Windows.Forms.ComboBox(); + this.MinimizeInactiveClientsCheckBox = new System.Windows.Forms.CheckBox(); + this.EnableClientLayoutTrackingCheckBox = new System.Windows.Forms.CheckBox(); + this.HideActiveClientThumbnailCheckBox = new System.Windows.Forms.CheckBox(); + this.ShowThumbnailsAlwaysOnTopCheckBox = new System.Windows.Forms.CheckBox(); + this.HideThumbnailsOnLostFocusCheckBox = new System.Windows.Forms.CheckBox(); + this.EnablePerClientThumbnailsLayoutsCheckBox = new System.Windows.Forms.CheckBox(); + this.MinimizeToTrayCheckBox = new System.Windows.Forms.CheckBox(); + this.ThumbnailSnapToGridCheckBox = new System.Windows.Forms.CheckBox(); + this.ThumbnailSnapToGridSizeYNumericEdit = new System.Windows.Forms.NumericUpDown(); + this.SnapYLabel = new System.Windows.Forms.Label(); + this.ThumbnailSnapToGridSizeXNumericEdit = new System.Windows.Forms.NumericUpDown(); + this.SnapXLabel = new System.Windows.Forms.Label(); + this.LockThumbnailLocationCheckbox = new System.Windows.Forms.CheckBox(); + this.ThumbnailsWidthNumericEdit = new System.Windows.Forms.NumericUpDown(); + this.ThumbnailsHeightNumericEdit = new System.Windows.Forms.NumericUpDown(); + this.ThumbnailOpacityTrackBar = new System.Windows.Forms.TrackBar(); + this.ZoomTabPage = new System.Windows.Forms.TabPage(); + this.ZoomAnchorPanel = new System.Windows.Forms.Panel(); + this.ZoomAanchorNWRadioButton = new System.Windows.Forms.RadioButton(); + this.ZoomAanchorNRadioButton = new System.Windows.Forms.RadioButton(); + this.ZoomAanchorNERadioButton = new System.Windows.Forms.RadioButton(); + this.ZoomAanchorWRadioButton = new System.Windows.Forms.RadioButton(); + this.ZoomAanchorSERadioButton = new System.Windows.Forms.RadioButton(); + this.ZoomAanchorCRadioButton = new System.Windows.Forms.RadioButton(); + this.ZoomAanchorSRadioButton = new System.Windows.Forms.RadioButton(); + this.ZoomAanchorERadioButton = new System.Windows.Forms.RadioButton(); + this.ZoomAanchorSWRadioButton = new System.Windows.Forms.RadioButton(); + this.EnableThumbnailZoomCheckBox = new System.Windows.Forms.CheckBox(); + this.ThumbnailZoomFactorNumericEdit = new System.Windows.Forms.NumericUpDown(); + this.label3 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.OverlayLabelColorButton = new System.Windows.Forms.Panel(); + this.OverlayLabelSizeNumericEdit = new System.Windows.Forms.NumericUpDown(); + this.panel1 = new System.Windows.Forms.Panel(); + this.OverlayLabelNWRadioButton = new System.Windows.Forms.RadioButton(); + this.OverlayLabelNRadioButton = new System.Windows.Forms.RadioButton(); + this.OverlayLabelNERadioButton = new System.Windows.Forms.RadioButton(); + this.OverlayLabelWRadioButton = new System.Windows.Forms.RadioButton(); + this.OverlayLabelSERadioButton = new System.Windows.Forms.RadioButton(); + this.OverlayLabelCRadioButton = new System.Windows.Forms.RadioButton(); + this.OverlayLabelSRadioButton = new System.Windows.Forms.RadioButton(); + this.OverlayLabelERadioButton = new System.Windows.Forms.RadioButton(); + this.OverlayLabelSWRadioButton = new System.Windows.Forms.RadioButton(); + this.label1 = new System.Windows.Forms.Label(); + this.HighlightColorLabel = new System.Windows.Forms.Label(); + this.ActiveClientHighlightColorButton = new System.Windows.Forms.Panel(); + this.EnableActiveClientHighlightCheckBox = new System.Windows.Forms.CheckBox(); + this.ShowThumbnailOverlaysCheckBox = new System.Windows.Forms.CheckBox(); + this.ShowThumbnailFramesCheckBox = new System.Windows.Forms.CheckBox(); + this.ThumbnailsList = new System.Windows.Forms.CheckedListBox(); + this.VersionLabel = new System.Windows.Forms.Label(); + this.DocumentationLink = new System.Windows.Forms.LinkLabel(); + this.NotifyIcon = new System.Windows.Forms.NotifyIcon(this.components); + this.TrayMenu = new System.Windows.Forms.ContextMenuStrip(this.components); + RestoreWindowMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + ExitMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + TitleMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + SeparatorMenuItem = new System.Windows.Forms.ToolStripSeparator(); + ContentTabControl = new System.Windows.Forms.TabControl(); + GeneralTabPage = new System.Windows.Forms.TabPage(); + GeneralSettingsPanel = new System.Windows.Forms.Panel(); + ThumbnailTabPage = new System.Windows.Forms.TabPage(); + ThumbnailSettingsPanel = new System.Windows.Forms.Panel(); + HeigthLabel = new System.Windows.Forms.Label(); + WidthLabel = new System.Windows.Forms.Label(); + OpacityLabel = new System.Windows.Forms.Label(); + ZoomSettingsPanel = new System.Windows.Forms.Panel(); + ZoomFactorLabel = new System.Windows.Forms.Label(); + ZoomAnchorLabel = new System.Windows.Forms.Label(); + OverlayTabPage = new System.Windows.Forms.TabPage(); + OverlaySettingsPanel = new System.Windows.Forms.Panel(); + ClientsTabPage = new System.Windows.Forms.TabPage(); + ClientsPanel = new System.Windows.Forms.Panel(); + ThumbnailsListLabel = new System.Windows.Forms.Label(); + AboutTabPage = new System.Windows.Forms.TabPage(); + AboutPanel = new System.Windows.Forms.Panel(); + CreditMaintLabel = new System.Windows.Forms.Label(); + DocumentationLinkLabel = new System.Windows.Forms.Label(); + DescriptionLabel = new System.Windows.Forms.Label(); + NameLabel = new System.Windows.Forms.Label(); + label4 = new System.Windows.Forms.Label(); + ContentTabControl.SuspendLayout(); + GeneralTabPage.SuspendLayout(); + GeneralSettingsPanel.SuspendLayout(); + ThumbnailTabPage.SuspendLayout(); + ThumbnailSettingsPanel.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.ThumbnailSnapToGridSizeYNumericEdit)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.ThumbnailSnapToGridSizeXNumericEdit)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsWidthNumericEdit)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsHeightNumericEdit)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.ThumbnailOpacityTrackBar)).BeginInit(); + this.ZoomTabPage.SuspendLayout(); + ZoomSettingsPanel.SuspendLayout(); + this.ZoomAnchorPanel.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.ThumbnailZoomFactorNumericEdit)).BeginInit(); + OverlayTabPage.SuspendLayout(); + OverlaySettingsPanel.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.OverlayLabelSizeNumericEdit)).BeginInit(); + this.panel1.SuspendLayout(); + ClientsTabPage.SuspendLayout(); + ClientsPanel.SuspendLayout(); + AboutTabPage.SuspendLayout(); + AboutPanel.SuspendLayout(); + this.TrayMenu.SuspendLayout(); + this.SuspendLayout(); + // + // RestoreWindowMenuItem + // + RestoreWindowMenuItem.Name = "RestoreWindowMenuItem"; + RestoreWindowMenuItem.Size = new System.Drawing.Size(151, 22); + RestoreWindowMenuItem.Text = "Restore"; + RestoreWindowMenuItem.Click += new System.EventHandler(this.RestoreMainForm_Handler); + // + // ExitMenuItem + // + ExitMenuItem.Name = "ExitMenuItem"; + ExitMenuItem.Size = new System.Drawing.Size(151, 22); + ExitMenuItem.Text = "Exit"; + ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItemClick_Handler); + // + // TitleMenuItem + // + TitleMenuItem.Enabled = false; + TitleMenuItem.Name = "TitleMenuItem"; + TitleMenuItem.Size = new System.Drawing.Size(151, 22); + TitleMenuItem.Text = "EVE-O Preview"; + // + // SeparatorMenuItem + // + SeparatorMenuItem.Name = "SeparatorMenuItem"; + SeparatorMenuItem.Size = new System.Drawing.Size(148, 6); + // + // ContentTabControl + // + ContentTabControl.Alignment = System.Windows.Forms.TabAlignment.Left; + ContentTabControl.Controls.Add(GeneralTabPage); + ContentTabControl.Controls.Add(ThumbnailTabPage); + ContentTabControl.Controls.Add(this.ZoomTabPage); + ContentTabControl.Controls.Add(OverlayTabPage); + ContentTabControl.Controls.Add(ClientsTabPage); + ContentTabControl.Controls.Add(AboutTabPage); + ContentTabControl.Dock = System.Windows.Forms.DockStyle.Fill; + ContentTabControl.DrawMode = System.Windows.Forms.TabDrawMode.OwnerDrawFixed; + ContentTabControl.ItemSize = new System.Drawing.Size(35, 120); + ContentTabControl.Location = new System.Drawing.Point(0, 0); + ContentTabControl.Multiline = true; + ContentTabControl.Name = "ContentTabControl"; + ContentTabControl.SelectedIndex = 0; + ContentTabControl.Size = new System.Drawing.Size(390, 218); + ContentTabControl.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; + ContentTabControl.TabIndex = 6; + ContentTabControl.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.ContentTabControl_DrawItem); + // + // GeneralTabPage + // + GeneralTabPage.BackColor = System.Drawing.SystemColors.Control; + GeneralTabPage.Controls.Add(GeneralSettingsPanel); + GeneralTabPage.Location = new System.Drawing.Point(124, 4); + GeneralTabPage.Name = "GeneralTabPage"; + GeneralTabPage.Padding = new System.Windows.Forms.Padding(3); + GeneralTabPage.Size = new System.Drawing.Size(262, 210); + GeneralTabPage.TabIndex = 0; + GeneralTabPage.Text = "General"; + // + // GeneralSettingsPanel + // + GeneralSettingsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + GeneralSettingsPanel.Controls.Add(label4); + GeneralSettingsPanel.Controls.Add(this.AnimationStyleCombo); + GeneralSettingsPanel.Controls.Add(this.MinimizeInactiveClientsCheckBox); + GeneralSettingsPanel.Controls.Add(this.EnableClientLayoutTrackingCheckBox); + GeneralSettingsPanel.Controls.Add(this.HideActiveClientThumbnailCheckBox); + GeneralSettingsPanel.Controls.Add(this.ShowThumbnailsAlwaysOnTopCheckBox); + GeneralSettingsPanel.Controls.Add(this.HideThumbnailsOnLostFocusCheckBox); + GeneralSettingsPanel.Controls.Add(this.EnablePerClientThumbnailsLayoutsCheckBox); + GeneralSettingsPanel.Controls.Add(this.MinimizeToTrayCheckBox); + GeneralSettingsPanel.Dock = System.Windows.Forms.DockStyle.Fill; + GeneralSettingsPanel.Location = new System.Drawing.Point(3, 3); + GeneralSettingsPanel.Name = "GeneralSettingsPanel"; + GeneralSettingsPanel.Size = new System.Drawing.Size(256, 204); + GeneralSettingsPanel.TabIndex = 18; + GeneralSettingsPanel.Paint += new System.Windows.Forms.PaintEventHandler(this.GeneralSettingsPanel_Paint); + // + // AnimationStyleCombo + // + this.AnimationStyleCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.AnimationStyleCombo.FormattingEnabled = true; + this.AnimationStyleCombo.Location = new System.Drawing.Point(90, 97); + this.AnimationStyleCombo.Name = "AnimationStyleCombo"; + this.AnimationStyleCombo.Size = new System.Drawing.Size(152, 21); + this.AnimationStyleCombo.TabIndex = 26; + this.AnimationStyleCombo.SelectedIndexChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // MinimizeInactiveClientsCheckBox + // + this.MinimizeInactiveClientsCheckBox.AutoSize = true; + this.MinimizeInactiveClientsCheckBox.Location = new System.Drawing.Point(8, 78); + this.MinimizeInactiveClientsCheckBox.Name = "MinimizeInactiveClientsCheckBox"; + this.MinimizeInactiveClientsCheckBox.Size = new System.Drawing.Size(163, 17); + this.MinimizeInactiveClientsCheckBox.TabIndex = 24; + this.MinimizeInactiveClientsCheckBox.Text = "Minimize inactive EVE clients"; + this.MinimizeInactiveClientsCheckBox.UseVisualStyleBackColor = true; + this.MinimizeInactiveClientsCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // EnableClientLayoutTrackingCheckBox + // + this.EnableClientLayoutTrackingCheckBox.AutoSize = true; + this.EnableClientLayoutTrackingCheckBox.Location = new System.Drawing.Point(8, 31); + this.EnableClientLayoutTrackingCheckBox.Name = "EnableClientLayoutTrackingCheckBox"; + this.EnableClientLayoutTrackingCheckBox.Size = new System.Drawing.Size(127, 17); + this.EnableClientLayoutTrackingCheckBox.TabIndex = 19; + this.EnableClientLayoutTrackingCheckBox.Text = "Track client locations"; + this.EnableClientLayoutTrackingCheckBox.UseVisualStyleBackColor = true; + this.EnableClientLayoutTrackingCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // HideActiveClientThumbnailCheckBox + // + this.HideActiveClientThumbnailCheckBox.AutoSize = true; + this.HideActiveClientThumbnailCheckBox.Checked = true; + this.HideActiveClientThumbnailCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.HideActiveClientThumbnailCheckBox.Location = new System.Drawing.Point(8, 55); + this.HideActiveClientThumbnailCheckBox.Name = "HideActiveClientThumbnailCheckBox"; + this.HideActiveClientThumbnailCheckBox.Size = new System.Drawing.Size(184, 17); + this.HideActiveClientThumbnailCheckBox.TabIndex = 20; + this.HideActiveClientThumbnailCheckBox.Text = "Hide preview of active EVE client"; + this.HideActiveClientThumbnailCheckBox.UseVisualStyleBackColor = true; + this.HideActiveClientThumbnailCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ShowThumbnailsAlwaysOnTopCheckBox + // + this.ShowThumbnailsAlwaysOnTopCheckBox.AutoSize = true; + this.ShowThumbnailsAlwaysOnTopCheckBox.Checked = true; + this.ShowThumbnailsAlwaysOnTopCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.ShowThumbnailsAlwaysOnTopCheckBox.Location = new System.Drawing.Point(8, 124); + this.ShowThumbnailsAlwaysOnTopCheckBox.Name = "ShowThumbnailsAlwaysOnTopCheckBox"; + this.ShowThumbnailsAlwaysOnTopCheckBox.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.ShowThumbnailsAlwaysOnTopCheckBox.Size = new System.Drawing.Size(137, 17); + this.ShowThumbnailsAlwaysOnTopCheckBox.TabIndex = 21; + this.ShowThumbnailsAlwaysOnTopCheckBox.Text = "Previews always on top"; + this.ShowThumbnailsAlwaysOnTopCheckBox.UseVisualStyleBackColor = true; + this.ShowThumbnailsAlwaysOnTopCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // HideThumbnailsOnLostFocusCheckBox + // + this.HideThumbnailsOnLostFocusCheckBox.AutoSize = true; + this.HideThumbnailsOnLostFocusCheckBox.Checked = true; + this.HideThumbnailsOnLostFocusCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.HideThumbnailsOnLostFocusCheckBox.Location = new System.Drawing.Point(8, 148); + this.HideThumbnailsOnLostFocusCheckBox.Name = "HideThumbnailsOnLostFocusCheckBox"; + this.HideThumbnailsOnLostFocusCheckBox.Size = new System.Drawing.Size(234, 17); + this.HideThumbnailsOnLostFocusCheckBox.TabIndex = 22; + this.HideThumbnailsOnLostFocusCheckBox.Text = "Hide previews when EVE client is not active"; + this.HideThumbnailsOnLostFocusCheckBox.UseVisualStyleBackColor = true; + this.HideThumbnailsOnLostFocusCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // EnablePerClientThumbnailsLayoutsCheckBox + // + this.EnablePerClientThumbnailsLayoutsCheckBox.AutoSize = true; + this.EnablePerClientThumbnailsLayoutsCheckBox.Checked = true; + this.EnablePerClientThumbnailsLayoutsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.EnablePerClientThumbnailsLayoutsCheckBox.Location = new System.Drawing.Point(8, 172); + this.EnablePerClientThumbnailsLayoutsCheckBox.Name = "EnablePerClientThumbnailsLayoutsCheckBox"; + this.EnablePerClientThumbnailsLayoutsCheckBox.Size = new System.Drawing.Size(185, 17); + this.EnablePerClientThumbnailsLayoutsCheckBox.TabIndex = 23; + this.EnablePerClientThumbnailsLayoutsCheckBox.Text = "Unique layout for each EVE client"; + this.EnablePerClientThumbnailsLayoutsCheckBox.UseVisualStyleBackColor = true; + this.EnablePerClientThumbnailsLayoutsCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // MinimizeToTrayCheckBox + // + this.MinimizeToTrayCheckBox.AutoSize = true; + this.MinimizeToTrayCheckBox.Location = new System.Drawing.Point(8, 7); + this.MinimizeToTrayCheckBox.Name = "MinimizeToTrayCheckBox"; + this.MinimizeToTrayCheckBox.Size = new System.Drawing.Size(139, 17); + this.MinimizeToTrayCheckBox.TabIndex = 18; + this.MinimizeToTrayCheckBox.Text = "Minimize to System Tray"; + this.MinimizeToTrayCheckBox.UseVisualStyleBackColor = true; + this.MinimizeToTrayCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ThumbnailTabPage + // + ThumbnailTabPage.BackColor = System.Drawing.SystemColors.Control; + ThumbnailTabPage.Controls.Add(ThumbnailSettingsPanel); + ThumbnailTabPage.Location = new System.Drawing.Point(124, 4); + ThumbnailTabPage.Name = "ThumbnailTabPage"; + ThumbnailTabPage.Padding = new System.Windows.Forms.Padding(3); + ThumbnailTabPage.Size = new System.Drawing.Size(262, 210); + ThumbnailTabPage.TabIndex = 1; + ThumbnailTabPage.Text = "Thumbnail"; + // + // ThumbnailSettingsPanel + // + ThumbnailSettingsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + ThumbnailSettingsPanel.Controls.Add(this.ThumbnailSnapToGridCheckBox); + ThumbnailSettingsPanel.Controls.Add(this.ThumbnailSnapToGridSizeYNumericEdit); + ThumbnailSettingsPanel.Controls.Add(this.SnapYLabel); + ThumbnailSettingsPanel.Controls.Add(this.ThumbnailSnapToGridSizeXNumericEdit); + ThumbnailSettingsPanel.Controls.Add(this.SnapXLabel); + ThumbnailSettingsPanel.Controls.Add(this.LockThumbnailLocationCheckbox); + ThumbnailSettingsPanel.Controls.Add(HeigthLabel); + ThumbnailSettingsPanel.Controls.Add(WidthLabel); + ThumbnailSettingsPanel.Controls.Add(this.ThumbnailsWidthNumericEdit); + ThumbnailSettingsPanel.Controls.Add(this.ThumbnailsHeightNumericEdit); + ThumbnailSettingsPanel.Controls.Add(this.ThumbnailOpacityTrackBar); + ThumbnailSettingsPanel.Controls.Add(OpacityLabel); + ThumbnailSettingsPanel.Dock = System.Windows.Forms.DockStyle.Fill; + ThumbnailSettingsPanel.Location = new System.Drawing.Point(3, 3); + ThumbnailSettingsPanel.Name = "ThumbnailSettingsPanel"; + ThumbnailSettingsPanel.Size = new System.Drawing.Size(256, 204); + ThumbnailSettingsPanel.TabIndex = 19; + // + // ThumbnailSnapToGridCheckBox + // + this.ThumbnailSnapToGridCheckBox.AutoSize = true; + this.ThumbnailSnapToGridCheckBox.Location = new System.Drawing.Point(11, 104); + this.ThumbnailSnapToGridCheckBox.Name = "ThumbnailSnapToGridCheckBox"; + this.ThumbnailSnapToGridCheckBox.Size = new System.Drawing.Size(137, 17); + this.ThumbnailSnapToGridCheckBox.TabIndex = 32; + this.ThumbnailSnapToGridCheckBox.Text = "Thumbnail Snap to Grid"; + this.ThumbnailSnapToGridCheckBox.UseVisualStyleBackColor = true; + this.ThumbnailSnapToGridCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ThumbnailSnapToGridSizeYNumericEdit + // + this.ThumbnailSnapToGridSizeYNumericEdit.BackColor = System.Drawing.SystemColors.Window; + this.ThumbnailSnapToGridSizeYNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.ThumbnailSnapToGridSizeYNumericEdit.CausesValidation = false; + this.ThumbnailSnapToGridSizeYNumericEdit.Increment = new decimal(new int[] { 10, 0, 0, 0}); - this.ThumbnailSnapToGridSizeYNumericEdit.Location = new System.Drawing.Point(130, 122); - this.ThumbnailSnapToGridSizeYNumericEdit.Maximum = new decimal(new int[] { + this.ThumbnailSnapToGridSizeYNumericEdit.Location = new System.Drawing.Point(130, 122); + this.ThumbnailSnapToGridSizeYNumericEdit.Maximum = new decimal(new int[] { 999999, 0, 0, 0}); - this.ThumbnailSnapToGridSizeYNumericEdit.Name = "ThumbnailSnapToGridSizeYNumericEdit"; - this.ThumbnailSnapToGridSizeYNumericEdit.Size = new System.Drawing.Size(48, 20); - this.ThumbnailSnapToGridSizeYNumericEdit.TabIndex = 31; - this.ThumbnailSnapToGridSizeYNumericEdit.Value = new decimal(new int[] { + this.ThumbnailSnapToGridSizeYNumericEdit.Name = "ThumbnailSnapToGridSizeYNumericEdit"; + this.ThumbnailSnapToGridSizeYNumericEdit.Size = new System.Drawing.Size(48, 20); + this.ThumbnailSnapToGridSizeYNumericEdit.TabIndex = 31; + this.ThumbnailSnapToGridSizeYNumericEdit.Value = new decimal(new int[] { 100, 0, 0, 0}); - // - // SnapYLabel - // - this.SnapYLabel.AutoSize = true; - this.SnapYLabel.Location = new System.Drawing.Point(110, 124); - this.SnapYLabel.Name = "SnapYLabel"; - this.SnapYLabel.Size = new System.Drawing.Size(14, 13); - this.SnapYLabel.TabIndex = 30; - this.SnapYLabel.Text = "Y"; - // - // ThumbnailSnapToGridSizeXNumericEdit - // - this.ThumbnailSnapToGridSizeXNumericEdit.BackColor = System.Drawing.SystemColors.Window; - this.ThumbnailSnapToGridSizeXNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ThumbnailSnapToGridSizeXNumericEdit.CausesValidation = false; - this.ThumbnailSnapToGridSizeXNumericEdit.Increment = new decimal(new int[] { + // + // SnapYLabel + // + this.SnapYLabel.AutoSize = true; + this.SnapYLabel.Location = new System.Drawing.Point(110, 124); + this.SnapYLabel.Name = "SnapYLabel"; + this.SnapYLabel.Size = new System.Drawing.Size(14, 13); + this.SnapYLabel.TabIndex = 30; + this.SnapYLabel.Text = "Y"; + // + // ThumbnailSnapToGridSizeXNumericEdit + // + this.ThumbnailSnapToGridSizeXNumericEdit.BackColor = System.Drawing.SystemColors.Window; + this.ThumbnailSnapToGridSizeXNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.ThumbnailSnapToGridSizeXNumericEdit.CausesValidation = false; + this.ThumbnailSnapToGridSizeXNumericEdit.Increment = new decimal(new int[] { 10, 0, 0, 0}); - this.ThumbnailSnapToGridSizeXNumericEdit.Location = new System.Drawing.Point(56, 122); - this.ThumbnailSnapToGridSizeXNumericEdit.Maximum = new decimal(new int[] { + this.ThumbnailSnapToGridSizeXNumericEdit.Location = new System.Drawing.Point(56, 122); + this.ThumbnailSnapToGridSizeXNumericEdit.Maximum = new decimal(new int[] { 999999, 0, 0, 0}); - this.ThumbnailSnapToGridSizeXNumericEdit.Name = "ThumbnailSnapToGridSizeXNumericEdit"; - this.ThumbnailSnapToGridSizeXNumericEdit.Size = new System.Drawing.Size(48, 20); - this.ThumbnailSnapToGridSizeXNumericEdit.TabIndex = 29; - this.ThumbnailSnapToGridSizeXNumericEdit.Value = new decimal(new int[] { + this.ThumbnailSnapToGridSizeXNumericEdit.Name = "ThumbnailSnapToGridSizeXNumericEdit"; + this.ThumbnailSnapToGridSizeXNumericEdit.Size = new System.Drawing.Size(48, 20); + this.ThumbnailSnapToGridSizeXNumericEdit.TabIndex = 29; + this.ThumbnailSnapToGridSizeXNumericEdit.Value = new decimal(new int[] { 100, 0, 0, 0}); - this.ThumbnailSnapToGridSizeXNumericEdit.ValueChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // SnapXLabel - // - this.SnapXLabel.AutoSize = true; - this.SnapXLabel.Location = new System.Drawing.Point(8, 124); - this.SnapXLabel.Name = "SnapXLabel"; - this.SnapXLabel.Size = new System.Drawing.Size(42, 13); - this.SnapXLabel.TabIndex = 28; - this.SnapXLabel.Text = "Snap X"; - // - // LockThumbnailLocationCheckbox - // - this.LockThumbnailLocationCheckbox.AutoSize = true; - this.LockThumbnailLocationCheckbox.Location = new System.Drawing.Point(11, 81); - this.LockThumbnailLocationCheckbox.Name = "LockThumbnailLocationCheckbox"; - this.LockThumbnailLocationCheckbox.Size = new System.Drawing.Size(146, 17); - this.LockThumbnailLocationCheckbox.TabIndex = 26; - this.LockThumbnailLocationCheckbox.Text = "Lock Thumbnail Location"; - this.LockThumbnailLocationCheckbox.UseVisualStyleBackColor = true; - this.LockThumbnailLocationCheckbox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // HeigthLabel - // - HeigthLabel.AutoSize = true; - HeigthLabel.Location = new System.Drawing.Point(8, 57); - HeigthLabel.Name = "HeigthLabel"; - HeigthLabel.Size = new System.Drawing.Size(90, 13); - HeigthLabel.TabIndex = 24; - HeigthLabel.Text = "Thumbnail Heigth"; - // - // WidthLabel - // - WidthLabel.AutoSize = true; - WidthLabel.Location = new System.Drawing.Point(8, 33); - WidthLabel.Name = "WidthLabel"; - WidthLabel.Size = new System.Drawing.Size(87, 13); - WidthLabel.TabIndex = 23; - WidthLabel.Text = "Thumbnail Width"; - // - // ThumbnailsWidthNumericEdit - // - this.ThumbnailsWidthNumericEdit.BackColor = System.Drawing.SystemColors.Window; - this.ThumbnailsWidthNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ThumbnailsWidthNumericEdit.CausesValidation = false; - this.ThumbnailsWidthNumericEdit.Increment = new decimal(new int[] { + this.ThumbnailSnapToGridSizeXNumericEdit.ValueChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // SnapXLabel + // + this.SnapXLabel.AutoSize = true; + this.SnapXLabel.Location = new System.Drawing.Point(8, 124); + this.SnapXLabel.Name = "SnapXLabel"; + this.SnapXLabel.Size = new System.Drawing.Size(42, 13); + this.SnapXLabel.TabIndex = 28; + this.SnapXLabel.Text = "Snap X"; + // + // LockThumbnailLocationCheckbox + // + this.LockThumbnailLocationCheckbox.AutoSize = true; + this.LockThumbnailLocationCheckbox.Location = new System.Drawing.Point(11, 81); + this.LockThumbnailLocationCheckbox.Name = "LockThumbnailLocationCheckbox"; + this.LockThumbnailLocationCheckbox.Size = new System.Drawing.Size(146, 17); + this.LockThumbnailLocationCheckbox.TabIndex = 26; + this.LockThumbnailLocationCheckbox.Text = "Lock Thumbnail Location"; + this.LockThumbnailLocationCheckbox.UseVisualStyleBackColor = true; + this.LockThumbnailLocationCheckbox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // HeigthLabel + // + HeigthLabel.AutoSize = true; + HeigthLabel.Location = new System.Drawing.Point(8, 57); + HeigthLabel.Name = "HeigthLabel"; + HeigthLabel.Size = new System.Drawing.Size(90, 13); + HeigthLabel.TabIndex = 24; + HeigthLabel.Text = "Thumbnail Height"; + // + // WidthLabel + // + WidthLabel.AutoSize = true; + WidthLabel.Location = new System.Drawing.Point(8, 33); + WidthLabel.Name = "WidthLabel"; + WidthLabel.Size = new System.Drawing.Size(87, 13); + WidthLabel.TabIndex = 23; + WidthLabel.Text = "Thumbnail Width"; + // + // ThumbnailsWidthNumericEdit + // + this.ThumbnailsWidthNumericEdit.BackColor = System.Drawing.SystemColors.Window; + this.ThumbnailsWidthNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.ThumbnailsWidthNumericEdit.CausesValidation = false; + this.ThumbnailsWidthNumericEdit.Increment = new decimal(new int[] { 10, 0, 0, 0}); - this.ThumbnailsWidthNumericEdit.Location = new System.Drawing.Point(105, 31); - this.ThumbnailsWidthNumericEdit.Maximum = new decimal(new int[] { + this.ThumbnailsWidthNumericEdit.Location = new System.Drawing.Point(105, 31); + this.ThumbnailsWidthNumericEdit.Maximum = new decimal(new int[] { 999999, 0, 0, 0}); - this.ThumbnailsWidthNumericEdit.Name = "ThumbnailsWidthNumericEdit"; - this.ThumbnailsWidthNumericEdit.Size = new System.Drawing.Size(48, 20); - this.ThumbnailsWidthNumericEdit.TabIndex = 21; - this.ThumbnailsWidthNumericEdit.Value = new decimal(new int[] { + this.ThumbnailsWidthNumericEdit.Name = "ThumbnailsWidthNumericEdit"; + this.ThumbnailsWidthNumericEdit.Size = new System.Drawing.Size(48, 20); + this.ThumbnailsWidthNumericEdit.TabIndex = 21; + this.ThumbnailsWidthNumericEdit.Value = new decimal(new int[] { 100, 0, 0, 0}); - this.ThumbnailsWidthNumericEdit.ValueChanged += new System.EventHandler(this.ThumbnailSizeChanged_Handler); - // - // ThumbnailsHeightNumericEdit - // - this.ThumbnailsHeightNumericEdit.BackColor = System.Drawing.SystemColors.Window; - this.ThumbnailsHeightNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ThumbnailsHeightNumericEdit.CausesValidation = false; - this.ThumbnailsHeightNumericEdit.Increment = new decimal(new int[] { + this.ThumbnailsWidthNumericEdit.ValueChanged += new System.EventHandler(this.ThumbnailSizeChanged_Handler); + // + // ThumbnailsHeightNumericEdit + // + this.ThumbnailsHeightNumericEdit.BackColor = System.Drawing.SystemColors.Window; + this.ThumbnailsHeightNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.ThumbnailsHeightNumericEdit.CausesValidation = false; + this.ThumbnailsHeightNumericEdit.Increment = new decimal(new int[] { 10, 0, 0, 0}); - this.ThumbnailsHeightNumericEdit.Location = new System.Drawing.Point(105, 55); - this.ThumbnailsHeightNumericEdit.Maximum = new decimal(new int[] { + this.ThumbnailsHeightNumericEdit.Location = new System.Drawing.Point(105, 55); + this.ThumbnailsHeightNumericEdit.Maximum = new decimal(new int[] { 99999999, 0, 0, 0}); - this.ThumbnailsHeightNumericEdit.Name = "ThumbnailsHeightNumericEdit"; - this.ThumbnailsHeightNumericEdit.Size = new System.Drawing.Size(48, 20); - this.ThumbnailsHeightNumericEdit.TabIndex = 22; - this.ThumbnailsHeightNumericEdit.Value = new decimal(new int[] { + this.ThumbnailsHeightNumericEdit.Name = "ThumbnailsHeightNumericEdit"; + this.ThumbnailsHeightNumericEdit.Size = new System.Drawing.Size(48, 20); + this.ThumbnailsHeightNumericEdit.TabIndex = 22; + this.ThumbnailsHeightNumericEdit.Value = new decimal(new int[] { 70, 0, 0, 0}); - this.ThumbnailsHeightNumericEdit.ValueChanged += new System.EventHandler(this.ThumbnailSizeChanged_Handler); - // - // ThumbnailOpacityTrackBar - // - this.ThumbnailOpacityTrackBar.AutoSize = false; - this.ThumbnailOpacityTrackBar.LargeChange = 10; - this.ThumbnailOpacityTrackBar.Location = new System.Drawing.Point(61, 6); - this.ThumbnailOpacityTrackBar.Maximum = 100; - this.ThumbnailOpacityTrackBar.Minimum = 20; - this.ThumbnailOpacityTrackBar.Name = "ThumbnailOpacityTrackBar"; - this.ThumbnailOpacityTrackBar.Size = new System.Drawing.Size(191, 22); - this.ThumbnailOpacityTrackBar.TabIndex = 20; - this.ThumbnailOpacityTrackBar.TickFrequency = 10; - this.ThumbnailOpacityTrackBar.Value = 20; - this.ThumbnailOpacityTrackBar.ValueChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // OpacityLabel - // - OpacityLabel.AutoSize = true; - OpacityLabel.Location = new System.Drawing.Point(8, 9); - OpacityLabel.Name = "OpacityLabel"; - OpacityLabel.Size = new System.Drawing.Size(43, 13); - OpacityLabel.TabIndex = 19; - OpacityLabel.Text = "Opacity"; - // - // ZoomTabPage - // - this.ZoomTabPage.BackColor = System.Drawing.SystemColors.Control; - this.ZoomTabPage.Controls.Add(ZoomSettingsPanel); - this.ZoomTabPage.Location = new System.Drawing.Point(124, 4); - this.ZoomTabPage.Name = "ZoomTabPage"; - this.ZoomTabPage.Size = new System.Drawing.Size(262, 210); - this.ZoomTabPage.TabIndex = 2; - this.ZoomTabPage.Text = "Zoom"; - // - // ZoomSettingsPanel - // - ZoomSettingsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - ZoomSettingsPanel.Controls.Add(ZoomFactorLabel); - ZoomSettingsPanel.Controls.Add(this.ZoomAnchorPanel); - ZoomSettingsPanel.Controls.Add(ZoomAnchorLabel); - ZoomSettingsPanel.Controls.Add(this.EnableThumbnailZoomCheckBox); - ZoomSettingsPanel.Controls.Add(this.ThumbnailZoomFactorNumericEdit); - ZoomSettingsPanel.Dock = System.Windows.Forms.DockStyle.Fill; - ZoomSettingsPanel.Location = new System.Drawing.Point(0, 0); - ZoomSettingsPanel.Name = "ZoomSettingsPanel"; - ZoomSettingsPanel.Size = new System.Drawing.Size(262, 210); - ZoomSettingsPanel.TabIndex = 36; - // - // ZoomFactorLabel - // - ZoomFactorLabel.AutoSize = true; - ZoomFactorLabel.Location = new System.Drawing.Point(8, 33); - ZoomFactorLabel.Name = "ZoomFactorLabel"; - ZoomFactorLabel.Size = new System.Drawing.Size(67, 13); - ZoomFactorLabel.TabIndex = 39; - ZoomFactorLabel.Text = "Zoom Factor"; - // - // ZoomAnchorPanel - // - this.ZoomAnchorPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorNWRadioButton); - this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorNRadioButton); - this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorNERadioButton); - this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorWRadioButton); - this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorSERadioButton); - this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorCRadioButton); - this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorSRadioButton); - this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorERadioButton); - this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorSWRadioButton); - this.ZoomAnchorPanel.Location = new System.Drawing.Point(81, 54); - this.ZoomAnchorPanel.Name = "ZoomAnchorPanel"; - this.ZoomAnchorPanel.Size = new System.Drawing.Size(77, 73); - this.ZoomAnchorPanel.TabIndex = 38; - // - // ZoomAanchorNWRadioButton - // - this.ZoomAanchorNWRadioButton.AutoSize = true; - this.ZoomAanchorNWRadioButton.Location = new System.Drawing.Point(3, 3); - this.ZoomAanchorNWRadioButton.Name = "ZoomAanchorNWRadioButton"; - this.ZoomAanchorNWRadioButton.Size = new System.Drawing.Size(14, 13); - this.ZoomAanchorNWRadioButton.TabIndex = 0; - this.ZoomAanchorNWRadioButton.TabStop = true; - this.ZoomAanchorNWRadioButton.UseVisualStyleBackColor = true; - this.ZoomAanchorNWRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ZoomAanchorNRadioButton - // - this.ZoomAanchorNRadioButton.AutoSize = true; - this.ZoomAanchorNRadioButton.Location = new System.Drawing.Point(31, 3); - this.ZoomAanchorNRadioButton.Name = "ZoomAanchorNRadioButton"; - this.ZoomAanchorNRadioButton.Size = new System.Drawing.Size(14, 13); - this.ZoomAanchorNRadioButton.TabIndex = 1; - this.ZoomAanchorNRadioButton.TabStop = true; - this.ZoomAanchorNRadioButton.UseVisualStyleBackColor = true; - this.ZoomAanchorNRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ZoomAanchorNERadioButton - // - this.ZoomAanchorNERadioButton.AutoSize = true; - this.ZoomAanchorNERadioButton.Location = new System.Drawing.Point(59, 3); - this.ZoomAanchorNERadioButton.Name = "ZoomAanchorNERadioButton"; - this.ZoomAanchorNERadioButton.Size = new System.Drawing.Size(14, 13); - this.ZoomAanchorNERadioButton.TabIndex = 2; - this.ZoomAanchorNERadioButton.TabStop = true; - this.ZoomAanchorNERadioButton.UseVisualStyleBackColor = true; - this.ZoomAanchorNERadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ZoomAanchorWRadioButton - // - this.ZoomAanchorWRadioButton.AutoSize = true; - this.ZoomAanchorWRadioButton.Location = new System.Drawing.Point(3, 29); - this.ZoomAanchorWRadioButton.Name = "ZoomAanchorWRadioButton"; - this.ZoomAanchorWRadioButton.Size = new System.Drawing.Size(14, 13); - this.ZoomAanchorWRadioButton.TabIndex = 3; - this.ZoomAanchorWRadioButton.TabStop = true; - this.ZoomAanchorWRadioButton.UseVisualStyleBackColor = true; - this.ZoomAanchorWRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ZoomAanchorSERadioButton - // - this.ZoomAanchorSERadioButton.AutoSize = true; - this.ZoomAanchorSERadioButton.Location = new System.Drawing.Point(59, 55); - this.ZoomAanchorSERadioButton.Name = "ZoomAanchorSERadioButton"; - this.ZoomAanchorSERadioButton.Size = new System.Drawing.Size(14, 13); - this.ZoomAanchorSERadioButton.TabIndex = 8; - this.ZoomAanchorSERadioButton.TabStop = true; - this.ZoomAanchorSERadioButton.UseVisualStyleBackColor = true; - this.ZoomAanchorSERadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ZoomAanchorCRadioButton - // - this.ZoomAanchorCRadioButton.AutoSize = true; - this.ZoomAanchorCRadioButton.Location = new System.Drawing.Point(31, 29); - this.ZoomAanchorCRadioButton.Name = "ZoomAanchorCRadioButton"; - this.ZoomAanchorCRadioButton.Size = new System.Drawing.Size(14, 13); - this.ZoomAanchorCRadioButton.TabIndex = 4; - this.ZoomAanchorCRadioButton.TabStop = true; - this.ZoomAanchorCRadioButton.UseVisualStyleBackColor = true; - this.ZoomAanchorCRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ZoomAanchorSRadioButton - // - this.ZoomAanchorSRadioButton.AutoSize = true; - this.ZoomAanchorSRadioButton.Location = new System.Drawing.Point(31, 55); - this.ZoomAanchorSRadioButton.Name = "ZoomAanchorSRadioButton"; - this.ZoomAanchorSRadioButton.Size = new System.Drawing.Size(14, 13); - this.ZoomAanchorSRadioButton.TabIndex = 7; - this.ZoomAanchorSRadioButton.TabStop = true; - this.ZoomAanchorSRadioButton.UseVisualStyleBackColor = true; - this.ZoomAanchorSRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ZoomAanchorERadioButton - // - this.ZoomAanchorERadioButton.AutoSize = true; - this.ZoomAanchorERadioButton.Location = new System.Drawing.Point(59, 29); - this.ZoomAanchorERadioButton.Name = "ZoomAanchorERadioButton"; - this.ZoomAanchorERadioButton.Size = new System.Drawing.Size(14, 13); - this.ZoomAanchorERadioButton.TabIndex = 5; - this.ZoomAanchorERadioButton.TabStop = true; - this.ZoomAanchorERadioButton.UseVisualStyleBackColor = true; - this.ZoomAanchorERadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ZoomAanchorSWRadioButton - // - this.ZoomAanchorSWRadioButton.AutoSize = true; - this.ZoomAanchorSWRadioButton.Location = new System.Drawing.Point(3, 55); - this.ZoomAanchorSWRadioButton.Name = "ZoomAanchorSWRadioButton"; - this.ZoomAanchorSWRadioButton.Size = new System.Drawing.Size(14, 13); - this.ZoomAanchorSWRadioButton.TabIndex = 6; - this.ZoomAanchorSWRadioButton.TabStop = true; - this.ZoomAanchorSWRadioButton.UseVisualStyleBackColor = true; - this.ZoomAanchorSWRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ZoomAnchorLabel - // - ZoomAnchorLabel.AutoSize = true; - ZoomAnchorLabel.Location = new System.Drawing.Point(8, 57); - ZoomAnchorLabel.Name = "ZoomAnchorLabel"; - ZoomAnchorLabel.Size = new System.Drawing.Size(41, 13); - ZoomAnchorLabel.TabIndex = 40; - ZoomAnchorLabel.Text = "Anchor"; - // - // EnableThumbnailZoomCheckBox - // - this.EnableThumbnailZoomCheckBox.AutoSize = true; - this.EnableThumbnailZoomCheckBox.Checked = true; - this.EnableThumbnailZoomCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.EnableThumbnailZoomCheckBox.Location = new System.Drawing.Point(8, 7); - this.EnableThumbnailZoomCheckBox.Name = "EnableThumbnailZoomCheckBox"; - this.EnableThumbnailZoomCheckBox.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.EnableThumbnailZoomCheckBox.Size = new System.Drawing.Size(98, 17); - this.EnableThumbnailZoomCheckBox.TabIndex = 36; - this.EnableThumbnailZoomCheckBox.Text = "Zoom on hover"; - this.EnableThumbnailZoomCheckBox.UseVisualStyleBackColor = true; - this.EnableThumbnailZoomCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ThumbnailZoomFactorNumericEdit - // - this.ThumbnailZoomFactorNumericEdit.BackColor = System.Drawing.SystemColors.Window; - this.ThumbnailZoomFactorNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ThumbnailZoomFactorNumericEdit.Location = new System.Drawing.Point(81, 31); - this.ThumbnailZoomFactorNumericEdit.Maximum = new decimal(new int[] { + this.ThumbnailsHeightNumericEdit.ValueChanged += new System.EventHandler(this.ThumbnailSizeChanged_Handler); + // + // ThumbnailOpacityTrackBar + // + this.ThumbnailOpacityTrackBar.AutoSize = false; + this.ThumbnailOpacityTrackBar.LargeChange = 10; + this.ThumbnailOpacityTrackBar.Location = new System.Drawing.Point(61, 6); + this.ThumbnailOpacityTrackBar.Maximum = 100; + this.ThumbnailOpacityTrackBar.Minimum = 20; + this.ThumbnailOpacityTrackBar.Name = "ThumbnailOpacityTrackBar"; + this.ThumbnailOpacityTrackBar.Size = new System.Drawing.Size(191, 22); + this.ThumbnailOpacityTrackBar.TabIndex = 20; + this.ThumbnailOpacityTrackBar.TickFrequency = 10; + this.ThumbnailOpacityTrackBar.Value = 20; + this.ThumbnailOpacityTrackBar.ValueChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // OpacityLabel + // + OpacityLabel.AutoSize = true; + OpacityLabel.Location = new System.Drawing.Point(8, 9); + OpacityLabel.Name = "OpacityLabel"; + OpacityLabel.Size = new System.Drawing.Size(43, 13); + OpacityLabel.TabIndex = 19; + OpacityLabel.Text = "Opacity"; + // + // ZoomTabPage + // + this.ZoomTabPage.BackColor = System.Drawing.SystemColors.Control; + this.ZoomTabPage.Controls.Add(ZoomSettingsPanel); + this.ZoomTabPage.Location = new System.Drawing.Point(124, 4); + this.ZoomTabPage.Name = "ZoomTabPage"; + this.ZoomTabPage.Size = new System.Drawing.Size(262, 210); + this.ZoomTabPage.TabIndex = 2; + this.ZoomTabPage.Text = "Zoom"; + // + // ZoomSettingsPanel + // + ZoomSettingsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + ZoomSettingsPanel.Controls.Add(ZoomFactorLabel); + ZoomSettingsPanel.Controls.Add(this.ZoomAnchorPanel); + ZoomSettingsPanel.Controls.Add(ZoomAnchorLabel); + ZoomSettingsPanel.Controls.Add(this.EnableThumbnailZoomCheckBox); + ZoomSettingsPanel.Controls.Add(this.ThumbnailZoomFactorNumericEdit); + ZoomSettingsPanel.Dock = System.Windows.Forms.DockStyle.Fill; + ZoomSettingsPanel.Location = new System.Drawing.Point(0, 0); + ZoomSettingsPanel.Name = "ZoomSettingsPanel"; + ZoomSettingsPanel.Size = new System.Drawing.Size(262, 210); + ZoomSettingsPanel.TabIndex = 36; + // + // ZoomFactorLabel + // + ZoomFactorLabel.AutoSize = true; + ZoomFactorLabel.Location = new System.Drawing.Point(8, 33); + ZoomFactorLabel.Name = "ZoomFactorLabel"; + ZoomFactorLabel.Size = new System.Drawing.Size(67, 13); + ZoomFactorLabel.TabIndex = 39; + ZoomFactorLabel.Text = "Zoom Factor"; + // + // ZoomAnchorPanel + // + this.ZoomAnchorPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorNWRadioButton); + this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorNRadioButton); + this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorNERadioButton); + this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorWRadioButton); + this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorSERadioButton); + this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorCRadioButton); + this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorSRadioButton); + this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorERadioButton); + this.ZoomAnchorPanel.Controls.Add(this.ZoomAanchorSWRadioButton); + this.ZoomAnchorPanel.Location = new System.Drawing.Point(81, 54); + this.ZoomAnchorPanel.Name = "ZoomAnchorPanel"; + this.ZoomAnchorPanel.Size = new System.Drawing.Size(77, 73); + this.ZoomAnchorPanel.TabIndex = 38; + // + // ZoomAanchorNWRadioButton + // + this.ZoomAanchorNWRadioButton.AutoSize = true; + this.ZoomAanchorNWRadioButton.Location = new System.Drawing.Point(3, 3); + this.ZoomAanchorNWRadioButton.Name = "ZoomAanchorNWRadioButton"; + this.ZoomAanchorNWRadioButton.Size = new System.Drawing.Size(14, 13); + this.ZoomAanchorNWRadioButton.TabIndex = 0; + this.ZoomAanchorNWRadioButton.TabStop = true; + this.ZoomAanchorNWRadioButton.UseVisualStyleBackColor = true; + this.ZoomAanchorNWRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ZoomAanchorNRadioButton + // + this.ZoomAanchorNRadioButton.AutoSize = true; + this.ZoomAanchorNRadioButton.Location = new System.Drawing.Point(31, 3); + this.ZoomAanchorNRadioButton.Name = "ZoomAanchorNRadioButton"; + this.ZoomAanchorNRadioButton.Size = new System.Drawing.Size(14, 13); + this.ZoomAanchorNRadioButton.TabIndex = 1; + this.ZoomAanchorNRadioButton.TabStop = true; + this.ZoomAanchorNRadioButton.UseVisualStyleBackColor = true; + this.ZoomAanchorNRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ZoomAanchorNERadioButton + // + this.ZoomAanchorNERadioButton.AutoSize = true; + this.ZoomAanchorNERadioButton.Location = new System.Drawing.Point(59, 3); + this.ZoomAanchorNERadioButton.Name = "ZoomAanchorNERadioButton"; + this.ZoomAanchorNERadioButton.Size = new System.Drawing.Size(14, 13); + this.ZoomAanchorNERadioButton.TabIndex = 2; + this.ZoomAanchorNERadioButton.TabStop = true; + this.ZoomAanchorNERadioButton.UseVisualStyleBackColor = true; + this.ZoomAanchorNERadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ZoomAanchorWRadioButton + // + this.ZoomAanchorWRadioButton.AutoSize = true; + this.ZoomAanchorWRadioButton.Location = new System.Drawing.Point(3, 29); + this.ZoomAanchorWRadioButton.Name = "ZoomAanchorWRadioButton"; + this.ZoomAanchorWRadioButton.Size = new System.Drawing.Size(14, 13); + this.ZoomAanchorWRadioButton.TabIndex = 3; + this.ZoomAanchorWRadioButton.TabStop = true; + this.ZoomAanchorWRadioButton.UseVisualStyleBackColor = true; + this.ZoomAanchorWRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ZoomAanchorSERadioButton + // + this.ZoomAanchorSERadioButton.AutoSize = true; + this.ZoomAanchorSERadioButton.Location = new System.Drawing.Point(59, 55); + this.ZoomAanchorSERadioButton.Name = "ZoomAanchorSERadioButton"; + this.ZoomAanchorSERadioButton.Size = new System.Drawing.Size(14, 13); + this.ZoomAanchorSERadioButton.TabIndex = 8; + this.ZoomAanchorSERadioButton.TabStop = true; + this.ZoomAanchorSERadioButton.UseVisualStyleBackColor = true; + this.ZoomAanchorSERadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ZoomAanchorCRadioButton + // + this.ZoomAanchorCRadioButton.AutoSize = true; + this.ZoomAanchorCRadioButton.Location = new System.Drawing.Point(31, 29); + this.ZoomAanchorCRadioButton.Name = "ZoomAanchorCRadioButton"; + this.ZoomAanchorCRadioButton.Size = new System.Drawing.Size(14, 13); + this.ZoomAanchorCRadioButton.TabIndex = 4; + this.ZoomAanchorCRadioButton.TabStop = true; + this.ZoomAanchorCRadioButton.UseVisualStyleBackColor = true; + this.ZoomAanchorCRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ZoomAanchorSRadioButton + // + this.ZoomAanchorSRadioButton.AutoSize = true; + this.ZoomAanchorSRadioButton.Location = new System.Drawing.Point(31, 55); + this.ZoomAanchorSRadioButton.Name = "ZoomAanchorSRadioButton"; + this.ZoomAanchorSRadioButton.Size = new System.Drawing.Size(14, 13); + this.ZoomAanchorSRadioButton.TabIndex = 7; + this.ZoomAanchorSRadioButton.TabStop = true; + this.ZoomAanchorSRadioButton.UseVisualStyleBackColor = true; + this.ZoomAanchorSRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ZoomAanchorERadioButton + // + this.ZoomAanchorERadioButton.AutoSize = true; + this.ZoomAanchorERadioButton.Location = new System.Drawing.Point(59, 29); + this.ZoomAanchorERadioButton.Name = "ZoomAanchorERadioButton"; + this.ZoomAanchorERadioButton.Size = new System.Drawing.Size(14, 13); + this.ZoomAanchorERadioButton.TabIndex = 5; + this.ZoomAanchorERadioButton.TabStop = true; + this.ZoomAanchorERadioButton.UseVisualStyleBackColor = true; + this.ZoomAanchorERadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ZoomAanchorSWRadioButton + // + this.ZoomAanchorSWRadioButton.AutoSize = true; + this.ZoomAanchorSWRadioButton.Location = new System.Drawing.Point(3, 55); + this.ZoomAanchorSWRadioButton.Name = "ZoomAanchorSWRadioButton"; + this.ZoomAanchorSWRadioButton.Size = new System.Drawing.Size(14, 13); + this.ZoomAanchorSWRadioButton.TabIndex = 6; + this.ZoomAanchorSWRadioButton.TabStop = true; + this.ZoomAanchorSWRadioButton.UseVisualStyleBackColor = true; + this.ZoomAanchorSWRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ZoomAnchorLabel + // + ZoomAnchorLabel.AutoSize = true; + ZoomAnchorLabel.Location = new System.Drawing.Point(8, 57); + ZoomAnchorLabel.Name = "ZoomAnchorLabel"; + ZoomAnchorLabel.Size = new System.Drawing.Size(41, 13); + ZoomAnchorLabel.TabIndex = 40; + ZoomAnchorLabel.Text = "Anchor"; + // + // EnableThumbnailZoomCheckBox + // + this.EnableThumbnailZoomCheckBox.AutoSize = true; + this.EnableThumbnailZoomCheckBox.Checked = true; + this.EnableThumbnailZoomCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.EnableThumbnailZoomCheckBox.Location = new System.Drawing.Point(8, 7); + this.EnableThumbnailZoomCheckBox.Name = "EnableThumbnailZoomCheckBox"; + this.EnableThumbnailZoomCheckBox.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.EnableThumbnailZoomCheckBox.Size = new System.Drawing.Size(98, 17); + this.EnableThumbnailZoomCheckBox.TabIndex = 36; + this.EnableThumbnailZoomCheckBox.Text = "Zoom on hover"; + this.EnableThumbnailZoomCheckBox.UseVisualStyleBackColor = true; + this.EnableThumbnailZoomCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ThumbnailZoomFactorNumericEdit + // + this.ThumbnailZoomFactorNumericEdit.BackColor = System.Drawing.SystemColors.Window; + this.ThumbnailZoomFactorNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.ThumbnailZoomFactorNumericEdit.Location = new System.Drawing.Point(81, 31); + this.ThumbnailZoomFactorNumericEdit.Maximum = new decimal(new int[] { 10, 0, 0, 0}); - this.ThumbnailZoomFactorNumericEdit.Minimum = new decimal(new int[] { + this.ThumbnailZoomFactorNumericEdit.Minimum = new decimal(new int[] { 2, 0, 0, 0}); - this.ThumbnailZoomFactorNumericEdit.Name = "ThumbnailZoomFactorNumericEdit"; - this.ThumbnailZoomFactorNumericEdit.Size = new System.Drawing.Size(38, 20); - this.ThumbnailZoomFactorNumericEdit.TabIndex = 37; - this.ThumbnailZoomFactorNumericEdit.Value = new decimal(new int[] { + this.ThumbnailZoomFactorNumericEdit.Name = "ThumbnailZoomFactorNumericEdit"; + this.ThumbnailZoomFactorNumericEdit.Size = new System.Drawing.Size(38, 20); + this.ThumbnailZoomFactorNumericEdit.TabIndex = 37; + this.ThumbnailZoomFactorNumericEdit.Value = new decimal(new int[] { 2, 0, 0, 0}); - this.ThumbnailZoomFactorNumericEdit.ValueChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // OverlayTabPage - // - OverlayTabPage.BackColor = System.Drawing.SystemColors.Control; - OverlayTabPage.Controls.Add(OverlaySettingsPanel); - OverlayTabPage.Location = new System.Drawing.Point(124, 4); - OverlayTabPage.Name = "OverlayTabPage"; - OverlayTabPage.Size = new System.Drawing.Size(262, 210); - OverlayTabPage.TabIndex = 3; - OverlayTabPage.Text = "Overlay"; - // - // OverlaySettingsPanel - // - OverlaySettingsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - OverlaySettingsPanel.Controls.Add(this.label3); - OverlaySettingsPanel.Controls.Add(this.label2); - OverlaySettingsPanel.Controls.Add(this.OverlayLabelColorButton); - OverlaySettingsPanel.Controls.Add(this.OverlayLabelSizeNumericEdit); - OverlaySettingsPanel.Controls.Add(this.panel1); - OverlaySettingsPanel.Controls.Add(this.label1); - OverlaySettingsPanel.Controls.Add(this.HighlightColorLabel); - OverlaySettingsPanel.Controls.Add(this.ActiveClientHighlightColorButton); - OverlaySettingsPanel.Controls.Add(this.EnableActiveClientHighlightCheckBox); - OverlaySettingsPanel.Controls.Add(this.ShowThumbnailOverlaysCheckBox); - OverlaySettingsPanel.Controls.Add(this.ShowThumbnailFramesCheckBox); - OverlaySettingsPanel.Dock = System.Windows.Forms.DockStyle.Fill; - OverlaySettingsPanel.Location = new System.Drawing.Point(0, 0); - OverlaySettingsPanel.Name = "OverlaySettingsPanel"; - OverlaySettingsPanel.Size = new System.Drawing.Size(262, 210); - OverlaySettingsPanel.TabIndex = 25; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(5, 146); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(44, 13); - this.label3.TabIndex = 43; - this.label3.Text = "Position"; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(5, 127); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(31, 13); - this.label2.TabIndex = 42; - this.label2.Text = "Color"; - // - // OverlayLabelColorButton - // - this.OverlayLabelColorButton.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.OverlayLabelColorButton.Location = new System.Drawing.Point(42, 126); - this.OverlayLabelColorButton.Name = "OverlayLabelColorButton"; - this.OverlayLabelColorButton.Size = new System.Drawing.Size(93, 17); - this.OverlayLabelColorButton.TabIndex = 41; - this.OverlayLabelColorButton.Click += new System.EventHandler(this.OverlayLabelColorButton_Click); - // - // OverlayLabelSizeNumericEdit - // - this.OverlayLabelSizeNumericEdit.BackColor = System.Drawing.SystemColors.Window; - this.OverlayLabelSizeNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.OverlayLabelSizeNumericEdit.CausesValidation = false; - this.OverlayLabelSizeNumericEdit.Location = new System.Drawing.Point(87, 100); - this.OverlayLabelSizeNumericEdit.Maximum = new decimal(new int[] { + this.ThumbnailZoomFactorNumericEdit.ValueChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // OverlayTabPage + // + OverlayTabPage.BackColor = System.Drawing.SystemColors.Control; + OverlayTabPage.Controls.Add(OverlaySettingsPanel); + OverlayTabPage.Location = new System.Drawing.Point(124, 4); + OverlayTabPage.Name = "OverlayTabPage"; + OverlayTabPage.Size = new System.Drawing.Size(262, 210); + OverlayTabPage.TabIndex = 3; + OverlayTabPage.Text = "Overlay"; + // + // OverlaySettingsPanel + // + OverlaySettingsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + OverlaySettingsPanel.Controls.Add(this.label3); + OverlaySettingsPanel.Controls.Add(this.label2); + OverlaySettingsPanel.Controls.Add(this.OverlayLabelColorButton); + OverlaySettingsPanel.Controls.Add(this.OverlayLabelSizeNumericEdit); + OverlaySettingsPanel.Controls.Add(this.panel1); + OverlaySettingsPanel.Controls.Add(this.label1); + OverlaySettingsPanel.Controls.Add(this.HighlightColorLabel); + OverlaySettingsPanel.Controls.Add(this.ActiveClientHighlightColorButton); + OverlaySettingsPanel.Controls.Add(this.EnableActiveClientHighlightCheckBox); + OverlaySettingsPanel.Controls.Add(this.ShowThumbnailOverlaysCheckBox); + OverlaySettingsPanel.Controls.Add(this.ShowThumbnailFramesCheckBox); + OverlaySettingsPanel.Dock = System.Windows.Forms.DockStyle.Fill; + OverlaySettingsPanel.Location = new System.Drawing.Point(0, 0); + OverlaySettingsPanel.Name = "OverlaySettingsPanel"; + OverlaySettingsPanel.Size = new System.Drawing.Size(262, 210); + OverlaySettingsPanel.TabIndex = 25; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(5, 146); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(44, 13); + this.label3.TabIndex = 43; + this.label3.Text = "Position"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(5, 127); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(31, 13); + this.label2.TabIndex = 42; + this.label2.Text = "Color"; + // + // OverlayLabelColorButton + // + this.OverlayLabelColorButton.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.OverlayLabelColorButton.Location = new System.Drawing.Point(42, 126); + this.OverlayLabelColorButton.Name = "OverlayLabelColorButton"; + this.OverlayLabelColorButton.Size = new System.Drawing.Size(93, 17); + this.OverlayLabelColorButton.TabIndex = 41; + this.OverlayLabelColorButton.Click += new System.EventHandler(this.OverlayLabelColorButton_Click); + // + // OverlayLabelSizeNumericEdit + // + this.OverlayLabelSizeNumericEdit.BackColor = System.Drawing.SystemColors.Window; + this.OverlayLabelSizeNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.OverlayLabelSizeNumericEdit.CausesValidation = false; + this.OverlayLabelSizeNumericEdit.Location = new System.Drawing.Point(87, 100); + this.OverlayLabelSizeNumericEdit.Maximum = new decimal(new int[] { 30, 0, 0, 0}); - this.OverlayLabelSizeNumericEdit.Minimum = new decimal(new int[] { + this.OverlayLabelSizeNumericEdit.Minimum = new decimal(new int[] { 5, 0, 0, 0}); - this.OverlayLabelSizeNumericEdit.Name = "OverlayLabelSizeNumericEdit"; - this.OverlayLabelSizeNumericEdit.Size = new System.Drawing.Size(48, 20); - this.OverlayLabelSizeNumericEdit.TabIndex = 40; - this.OverlayLabelSizeNumericEdit.Value = new decimal(new int[] { + this.OverlayLabelSizeNumericEdit.Name = "OverlayLabelSizeNumericEdit"; + this.OverlayLabelSizeNumericEdit.Size = new System.Drawing.Size(48, 20); + this.OverlayLabelSizeNumericEdit.TabIndex = 40; + this.OverlayLabelSizeNumericEdit.Value = new decimal(new int[] { 30, 0, 0, 0}); - this.OverlayLabelSizeNumericEdit.ValueChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // panel1 - // - this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel1.Controls.Add(this.OverlayLabelNWRadioButton); - this.panel1.Controls.Add(this.OverlayLabelNRadioButton); - this.panel1.Controls.Add(this.OverlayLabelNERadioButton); - this.panel1.Controls.Add(this.OverlayLabelWRadioButton); - this.panel1.Controls.Add(this.OverlayLabelSERadioButton); - this.panel1.Controls.Add(this.OverlayLabelCRadioButton); - this.panel1.Controls.Add(this.OverlayLabelSRadioButton); - this.panel1.Controls.Add(this.OverlayLabelERadioButton); - this.panel1.Controls.Add(this.OverlayLabelSWRadioButton); - this.panel1.Location = new System.Drawing.Point(72, 149); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(63, 57); - this.panel1.TabIndex = 39; - // - // OverlayLabelNWRadioButton - // - this.OverlayLabelNWRadioButton.AutoSize = true; - this.OverlayLabelNWRadioButton.Location = new System.Drawing.Point(3, 3); - this.OverlayLabelNWRadioButton.Name = "OverlayLabelNWRadioButton"; - this.OverlayLabelNWRadioButton.Size = new System.Drawing.Size(14, 13); - this.OverlayLabelNWRadioButton.TabIndex = 0; - this.OverlayLabelNWRadioButton.TabStop = true; - this.OverlayLabelNWRadioButton.UseVisualStyleBackColor = true; - this.OverlayLabelNWRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // OverlayLabelNRadioButton - // - this.OverlayLabelNRadioButton.AutoSize = true; - this.OverlayLabelNRadioButton.Location = new System.Drawing.Point(23, 3); - this.OverlayLabelNRadioButton.Name = "OverlayLabelNRadioButton"; - this.OverlayLabelNRadioButton.Size = new System.Drawing.Size(14, 13); - this.OverlayLabelNRadioButton.TabIndex = 1; - this.OverlayLabelNRadioButton.TabStop = true; - this.OverlayLabelNRadioButton.UseVisualStyleBackColor = true; - this.OverlayLabelNRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // OverlayLabelNERadioButton - // - this.OverlayLabelNERadioButton.AutoSize = true; - this.OverlayLabelNERadioButton.Location = new System.Drawing.Point(43, 3); - this.OverlayLabelNERadioButton.Name = "OverlayLabelNERadioButton"; - this.OverlayLabelNERadioButton.Size = new System.Drawing.Size(14, 13); - this.OverlayLabelNERadioButton.TabIndex = 2; - this.OverlayLabelNERadioButton.TabStop = true; - this.OverlayLabelNERadioButton.UseVisualStyleBackColor = true; - this.OverlayLabelNERadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // OverlayLabelWRadioButton - // - this.OverlayLabelWRadioButton.AutoSize = true; - this.OverlayLabelWRadioButton.Location = new System.Drawing.Point(3, 22); - this.OverlayLabelWRadioButton.Name = "OverlayLabelWRadioButton"; - this.OverlayLabelWRadioButton.Size = new System.Drawing.Size(14, 13); - this.OverlayLabelWRadioButton.TabIndex = 3; - this.OverlayLabelWRadioButton.TabStop = true; - this.OverlayLabelWRadioButton.UseVisualStyleBackColor = true; - this.OverlayLabelWRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // OverlayLabelSERadioButton - // - this.OverlayLabelSERadioButton.AutoSize = true; - this.OverlayLabelSERadioButton.Location = new System.Drawing.Point(43, 40); - this.OverlayLabelSERadioButton.Name = "OverlayLabelSERadioButton"; - this.OverlayLabelSERadioButton.Size = new System.Drawing.Size(14, 13); - this.OverlayLabelSERadioButton.TabIndex = 8; - this.OverlayLabelSERadioButton.TabStop = true; - this.OverlayLabelSERadioButton.UseVisualStyleBackColor = true; - this.OverlayLabelSERadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // OverlayLabelCRadioButton - // - this.OverlayLabelCRadioButton.AutoSize = true; - this.OverlayLabelCRadioButton.Location = new System.Drawing.Point(23, 22); - this.OverlayLabelCRadioButton.Name = "OverlayLabelCRadioButton"; - this.OverlayLabelCRadioButton.Size = new System.Drawing.Size(14, 13); - this.OverlayLabelCRadioButton.TabIndex = 4; - this.OverlayLabelCRadioButton.TabStop = true; - this.OverlayLabelCRadioButton.UseVisualStyleBackColor = true; - this.OverlayLabelCRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // OverlayLabelSRadioButton - // - this.OverlayLabelSRadioButton.AutoSize = true; - this.OverlayLabelSRadioButton.Location = new System.Drawing.Point(23, 40); - this.OverlayLabelSRadioButton.Name = "OverlayLabelSRadioButton"; - this.OverlayLabelSRadioButton.Size = new System.Drawing.Size(14, 13); - this.OverlayLabelSRadioButton.TabIndex = 7; - this.OverlayLabelSRadioButton.TabStop = true; - this.OverlayLabelSRadioButton.UseVisualStyleBackColor = true; - this.OverlayLabelSRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // OverlayLabelERadioButton - // - this.OverlayLabelERadioButton.AutoSize = true; - this.OverlayLabelERadioButton.Location = new System.Drawing.Point(43, 22); - this.OverlayLabelERadioButton.Name = "OverlayLabelERadioButton"; - this.OverlayLabelERadioButton.Size = new System.Drawing.Size(14, 13); - this.OverlayLabelERadioButton.TabIndex = 5; - this.OverlayLabelERadioButton.TabStop = true; - this.OverlayLabelERadioButton.UseVisualStyleBackColor = true; - this.OverlayLabelERadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // OverlayLabelSWRadioButton - // - this.OverlayLabelSWRadioButton.AutoSize = true; - this.OverlayLabelSWRadioButton.Location = new System.Drawing.Point(3, 40); - this.OverlayLabelSWRadioButton.Name = "OverlayLabelSWRadioButton"; - this.OverlayLabelSWRadioButton.Size = new System.Drawing.Size(14, 13); - this.OverlayLabelSWRadioButton.TabIndex = 6; - this.OverlayLabelSWRadioButton.TabStop = true; - this.OverlayLabelSWRadioButton.UseVisualStyleBackColor = true; - this.OverlayLabelSWRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(5, 102); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(56, 13); - this.label1.TabIndex = 30; - this.label1.Text = "Label Size"; - // - // HighlightColorLabel - // - this.HighlightColorLabel.AutoSize = true; - this.HighlightColorLabel.Location = new System.Drawing.Point(5, 78); - this.HighlightColorLabel.Name = "HighlightColorLabel"; - this.HighlightColorLabel.Size = new System.Drawing.Size(31, 13); - this.HighlightColorLabel.TabIndex = 29; - this.HighlightColorLabel.Text = "Color"; - // - // ActiveClientHighlightColorButton - // - this.ActiveClientHighlightColorButton.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ActiveClientHighlightColorButton.Location = new System.Drawing.Point(42, 77); - this.ActiveClientHighlightColorButton.Name = "ActiveClientHighlightColorButton"; - this.ActiveClientHighlightColorButton.Size = new System.Drawing.Size(93, 17); - this.ActiveClientHighlightColorButton.TabIndex = 28; - this.ActiveClientHighlightColorButton.Click += new System.EventHandler(this.ActiveClientHighlightColorButton_Click); - // - // EnableActiveClientHighlightCheckBox - // - this.EnableActiveClientHighlightCheckBox.AutoSize = true; - this.EnableActiveClientHighlightCheckBox.Checked = true; - this.EnableActiveClientHighlightCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.EnableActiveClientHighlightCheckBox.Location = new System.Drawing.Point(8, 55); - this.EnableActiveClientHighlightCheckBox.Name = "EnableActiveClientHighlightCheckBox"; - this.EnableActiveClientHighlightCheckBox.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.EnableActiveClientHighlightCheckBox.Size = new System.Drawing.Size(127, 17); - this.EnableActiveClientHighlightCheckBox.TabIndex = 27; - this.EnableActiveClientHighlightCheckBox.Text = "Highlight active client"; - this.EnableActiveClientHighlightCheckBox.UseVisualStyleBackColor = true; - this.EnableActiveClientHighlightCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ShowThumbnailOverlaysCheckBox - // - this.ShowThumbnailOverlaysCheckBox.AutoSize = true; - this.ShowThumbnailOverlaysCheckBox.Checked = true; - this.ShowThumbnailOverlaysCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.ShowThumbnailOverlaysCheckBox.Location = new System.Drawing.Point(8, 7); - this.ShowThumbnailOverlaysCheckBox.Name = "ShowThumbnailOverlaysCheckBox"; - this.ShowThumbnailOverlaysCheckBox.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.ShowThumbnailOverlaysCheckBox.Size = new System.Drawing.Size(90, 17); - this.ShowThumbnailOverlaysCheckBox.TabIndex = 25; - this.ShowThumbnailOverlaysCheckBox.Text = "Show overlay"; - this.ShowThumbnailOverlaysCheckBox.UseVisualStyleBackColor = true; - this.ShowThumbnailOverlaysCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ShowThumbnailFramesCheckBox - // - this.ShowThumbnailFramesCheckBox.AutoSize = true; - this.ShowThumbnailFramesCheckBox.Checked = true; - this.ShowThumbnailFramesCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.ShowThumbnailFramesCheckBox.Location = new System.Drawing.Point(8, 31); - this.ShowThumbnailFramesCheckBox.Name = "ShowThumbnailFramesCheckBox"; - this.ShowThumbnailFramesCheckBox.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.ShowThumbnailFramesCheckBox.Size = new System.Drawing.Size(87, 17); - this.ShowThumbnailFramesCheckBox.TabIndex = 26; - this.ShowThumbnailFramesCheckBox.Text = "Show frames"; - this.ShowThumbnailFramesCheckBox.UseVisualStyleBackColor = true; - this.ShowThumbnailFramesCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); - // - // ClientsTabPage - // - ClientsTabPage.BackColor = System.Drawing.SystemColors.Control; - ClientsTabPage.Controls.Add(ClientsPanel); - ClientsTabPage.Location = new System.Drawing.Point(124, 4); - ClientsTabPage.Name = "ClientsTabPage"; - ClientsTabPage.Size = new System.Drawing.Size(262, 210); - ClientsTabPage.TabIndex = 4; - ClientsTabPage.Text = "Active Clients"; - // - // ClientsPanel - // - ClientsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - ClientsPanel.Controls.Add(this.ThumbnailsList); - ClientsPanel.Controls.Add(ThumbnailsListLabel); - ClientsPanel.Dock = System.Windows.Forms.DockStyle.Fill; - ClientsPanel.Location = new System.Drawing.Point(0, 0); - ClientsPanel.Name = "ClientsPanel"; - ClientsPanel.Size = new System.Drawing.Size(262, 210); - ClientsPanel.TabIndex = 32; - // - // ThumbnailsList - // - this.ThumbnailsList.BackColor = System.Drawing.SystemColors.Window; - this.ThumbnailsList.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ThumbnailsList.CheckOnClick = true; - this.ThumbnailsList.Dock = System.Windows.Forms.DockStyle.Bottom; - this.ThumbnailsList.FormattingEnabled = true; - this.ThumbnailsList.IntegralHeight = false; - this.ThumbnailsList.Location = new System.Drawing.Point(0, 28); - this.ThumbnailsList.Name = "ThumbnailsList"; - this.ThumbnailsList.Size = new System.Drawing.Size(260, 180); - this.ThumbnailsList.TabIndex = 34; - this.ThumbnailsList.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.ThumbnailsList_ItemCheck_Handler); - // - // ThumbnailsListLabel - // - ThumbnailsListLabel.AutoSize = true; - ThumbnailsListLabel.Location = new System.Drawing.Point(8, 9); - ThumbnailsListLabel.Name = "ThumbnailsListLabel"; - ThumbnailsListLabel.Size = new System.Drawing.Size(162, 13); - ThumbnailsListLabel.TabIndex = 33; - ThumbnailsListLabel.Text = "Thumbnails (check to force hide)"; - // - // AboutTabPage - // - AboutTabPage.BackColor = System.Drawing.SystemColors.Control; - AboutTabPage.Controls.Add(AboutPanel); - AboutTabPage.Location = new System.Drawing.Point(124, 4); - AboutTabPage.Name = "AboutTabPage"; - AboutTabPage.Size = new System.Drawing.Size(262, 210); - AboutTabPage.TabIndex = 5; - AboutTabPage.Text = "About"; - // - // AboutPanel - // - AboutPanel.BackColor = System.Drawing.Color.Transparent; - AboutPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - AboutPanel.Controls.Add(CreditMaintLabel); - AboutPanel.Controls.Add(DocumentationLinkLabel); - AboutPanel.Controls.Add(DescriptionLabel); - AboutPanel.Controls.Add(this.VersionLabel); - AboutPanel.Controls.Add(NameLabel); - AboutPanel.Controls.Add(this.DocumentationLink); - AboutPanel.Dock = System.Windows.Forms.DockStyle.Fill; - AboutPanel.Location = new System.Drawing.Point(0, 0); - AboutPanel.Name = "AboutPanel"; - AboutPanel.Size = new System.Drawing.Size(262, 210); - AboutPanel.TabIndex = 2; - // - // CreditMaintLabel - // - CreditMaintLabel.AutoSize = true; - CreditMaintLabel.Location = new System.Drawing.Point(0, 143); - CreditMaintLabel.Name = "CreditMaintLabel"; - CreditMaintLabel.Padding = new System.Windows.Forms.Padding(8, 3, 8, 3); - CreditMaintLabel.Size = new System.Drawing.Size(258, 19); - CreditMaintLabel.TabIndex = 7; - CreditMaintLabel.Text = "Credit to previous maintainer: Phrynohyas Tig-Rah"; - // - // DocumentationLinkLabel - // - DocumentationLinkLabel.AutoSize = true; - DocumentationLinkLabel.Location = new System.Drawing.Point(0, 163); - DocumentationLinkLabel.Name = "DocumentationLinkLabel"; - DocumentationLinkLabel.Padding = new System.Windows.Forms.Padding(8, 3, 8, 3); - DocumentationLinkLabel.Size = new System.Drawing.Size(222, 19); - DocumentationLinkLabel.TabIndex = 6; - DocumentationLinkLabel.Text = "For more information visit the forum thread:"; - // - // DescriptionLabel - // - DescriptionLabel.BackColor = System.Drawing.Color.Transparent; - DescriptionLabel.Location = new System.Drawing.Point(0, 29); - DescriptionLabel.Name = "DescriptionLabel"; - DescriptionLabel.Padding = new System.Windows.Forms.Padding(8, 3, 8, 3); - DescriptionLabel.Size = new System.Drawing.Size(261, 145); - DescriptionLabel.TabIndex = 5; - DescriptionLabel.Text = resources.GetString("DescriptionLabel.Text"); - // - // VersionLabel - // - this.VersionLabel.AutoSize = true; - this.VersionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); - this.VersionLabel.Location = new System.Drawing.Point(133, 9); - this.VersionLabel.Name = "VersionLabel"; - this.VersionLabel.Size = new System.Drawing.Size(49, 20); - this.VersionLabel.TabIndex = 4; - this.VersionLabel.Text = "1.0.0"; - // - // NameLabel - // - NameLabel.AutoSize = true; - NameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); - NameLabel.Location = new System.Drawing.Point(4, 9); - NameLabel.Name = "NameLabel"; - NameLabel.Size = new System.Drawing.Size(130, 20); - NameLabel.TabIndex = 3; - NameLabel.Text = "EVE-O Preview"; - // - // DocumentationLink - // - this.DocumentationLink.Location = new System.Drawing.Point(0, 177); - this.DocumentationLink.Margin = new System.Windows.Forms.Padding(30, 3, 3, 3); - this.DocumentationLink.Name = "DocumentationLink"; - this.DocumentationLink.Padding = new System.Windows.Forms.Padding(8, 3, 8, 3); - this.DocumentationLink.Size = new System.Drawing.Size(262, 33); - this.DocumentationLink.TabIndex = 2; - this.DocumentationLink.TabStop = true; - this.DocumentationLink.Text = "to be set from prresenter to be set from prresenter to be set from prresenter to " + + this.OverlayLabelSizeNumericEdit.ValueChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // panel1 + // + this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel1.Controls.Add(this.OverlayLabelNWRadioButton); + this.panel1.Controls.Add(this.OverlayLabelNRadioButton); + this.panel1.Controls.Add(this.OverlayLabelNERadioButton); + this.panel1.Controls.Add(this.OverlayLabelWRadioButton); + this.panel1.Controls.Add(this.OverlayLabelSERadioButton); + this.panel1.Controls.Add(this.OverlayLabelCRadioButton); + this.panel1.Controls.Add(this.OverlayLabelSRadioButton); + this.panel1.Controls.Add(this.OverlayLabelERadioButton); + this.panel1.Controls.Add(this.OverlayLabelSWRadioButton); + this.panel1.Location = new System.Drawing.Point(72, 149); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(63, 57); + this.panel1.TabIndex = 39; + // + // OverlayLabelNWRadioButton + // + this.OverlayLabelNWRadioButton.AutoSize = true; + this.OverlayLabelNWRadioButton.Location = new System.Drawing.Point(3, 3); + this.OverlayLabelNWRadioButton.Name = "OverlayLabelNWRadioButton"; + this.OverlayLabelNWRadioButton.Size = new System.Drawing.Size(14, 13); + this.OverlayLabelNWRadioButton.TabIndex = 0; + this.OverlayLabelNWRadioButton.TabStop = true; + this.OverlayLabelNWRadioButton.UseVisualStyleBackColor = true; + this.OverlayLabelNWRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // OverlayLabelNRadioButton + // + this.OverlayLabelNRadioButton.AutoSize = true; + this.OverlayLabelNRadioButton.Location = new System.Drawing.Point(23, 3); + this.OverlayLabelNRadioButton.Name = "OverlayLabelNRadioButton"; + this.OverlayLabelNRadioButton.Size = new System.Drawing.Size(14, 13); + this.OverlayLabelNRadioButton.TabIndex = 1; + this.OverlayLabelNRadioButton.TabStop = true; + this.OverlayLabelNRadioButton.UseVisualStyleBackColor = true; + this.OverlayLabelNRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // OverlayLabelNERadioButton + // + this.OverlayLabelNERadioButton.AutoSize = true; + this.OverlayLabelNERadioButton.Location = new System.Drawing.Point(43, 3); + this.OverlayLabelNERadioButton.Name = "OverlayLabelNERadioButton"; + this.OverlayLabelNERadioButton.Size = new System.Drawing.Size(14, 13); + this.OverlayLabelNERadioButton.TabIndex = 2; + this.OverlayLabelNERadioButton.TabStop = true; + this.OverlayLabelNERadioButton.UseVisualStyleBackColor = true; + this.OverlayLabelNERadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // OverlayLabelWRadioButton + // + this.OverlayLabelWRadioButton.AutoSize = true; + this.OverlayLabelWRadioButton.Location = new System.Drawing.Point(3, 22); + this.OverlayLabelWRadioButton.Name = "OverlayLabelWRadioButton"; + this.OverlayLabelWRadioButton.Size = new System.Drawing.Size(14, 13); + this.OverlayLabelWRadioButton.TabIndex = 3; + this.OverlayLabelWRadioButton.TabStop = true; + this.OverlayLabelWRadioButton.UseVisualStyleBackColor = true; + this.OverlayLabelWRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // OverlayLabelSERadioButton + // + this.OverlayLabelSERadioButton.AutoSize = true; + this.OverlayLabelSERadioButton.Location = new System.Drawing.Point(43, 40); + this.OverlayLabelSERadioButton.Name = "OverlayLabelSERadioButton"; + this.OverlayLabelSERadioButton.Size = new System.Drawing.Size(14, 13); + this.OverlayLabelSERadioButton.TabIndex = 8; + this.OverlayLabelSERadioButton.TabStop = true; + this.OverlayLabelSERadioButton.UseVisualStyleBackColor = true; + this.OverlayLabelSERadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // OverlayLabelCRadioButton + // + this.OverlayLabelCRadioButton.AutoSize = true; + this.OverlayLabelCRadioButton.Location = new System.Drawing.Point(23, 22); + this.OverlayLabelCRadioButton.Name = "OverlayLabelCRadioButton"; + this.OverlayLabelCRadioButton.Size = new System.Drawing.Size(14, 13); + this.OverlayLabelCRadioButton.TabIndex = 4; + this.OverlayLabelCRadioButton.TabStop = true; + this.OverlayLabelCRadioButton.UseVisualStyleBackColor = true; + this.OverlayLabelCRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // OverlayLabelSRadioButton + // + this.OverlayLabelSRadioButton.AutoSize = true; + this.OverlayLabelSRadioButton.Location = new System.Drawing.Point(23, 40); + this.OverlayLabelSRadioButton.Name = "OverlayLabelSRadioButton"; + this.OverlayLabelSRadioButton.Size = new System.Drawing.Size(14, 13); + this.OverlayLabelSRadioButton.TabIndex = 7; + this.OverlayLabelSRadioButton.TabStop = true; + this.OverlayLabelSRadioButton.UseVisualStyleBackColor = true; + this.OverlayLabelSRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // OverlayLabelERadioButton + // + this.OverlayLabelERadioButton.AutoSize = true; + this.OverlayLabelERadioButton.Location = new System.Drawing.Point(43, 22); + this.OverlayLabelERadioButton.Name = "OverlayLabelERadioButton"; + this.OverlayLabelERadioButton.Size = new System.Drawing.Size(14, 13); + this.OverlayLabelERadioButton.TabIndex = 5; + this.OverlayLabelERadioButton.TabStop = true; + this.OverlayLabelERadioButton.UseVisualStyleBackColor = true; + this.OverlayLabelERadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // OverlayLabelSWRadioButton + // + this.OverlayLabelSWRadioButton.AutoSize = true; + this.OverlayLabelSWRadioButton.Location = new System.Drawing.Point(3, 40); + this.OverlayLabelSWRadioButton.Name = "OverlayLabelSWRadioButton"; + this.OverlayLabelSWRadioButton.Size = new System.Drawing.Size(14, 13); + this.OverlayLabelSWRadioButton.TabIndex = 6; + this.OverlayLabelSWRadioButton.TabStop = true; + this.OverlayLabelSWRadioButton.UseVisualStyleBackColor = true; + this.OverlayLabelSWRadioButton.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(5, 102); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(56, 13); + this.label1.TabIndex = 30; + this.label1.Text = "Label Size"; + // + // HighlightColorLabel + // + this.HighlightColorLabel.AutoSize = true; + this.HighlightColorLabel.Location = new System.Drawing.Point(5, 78); + this.HighlightColorLabel.Name = "HighlightColorLabel"; + this.HighlightColorLabel.Size = new System.Drawing.Size(31, 13); + this.HighlightColorLabel.TabIndex = 29; + this.HighlightColorLabel.Text = "Color"; + // + // ActiveClientHighlightColorButton + // + this.ActiveClientHighlightColorButton.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.ActiveClientHighlightColorButton.Location = new System.Drawing.Point(42, 77); + this.ActiveClientHighlightColorButton.Name = "ActiveClientHighlightColorButton"; + this.ActiveClientHighlightColorButton.Size = new System.Drawing.Size(93, 17); + this.ActiveClientHighlightColorButton.TabIndex = 28; + this.ActiveClientHighlightColorButton.Click += new System.EventHandler(this.ActiveClientHighlightColorButton_Click); + // + // EnableActiveClientHighlightCheckBox + // + this.EnableActiveClientHighlightCheckBox.AutoSize = true; + this.EnableActiveClientHighlightCheckBox.Checked = true; + this.EnableActiveClientHighlightCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.EnableActiveClientHighlightCheckBox.Location = new System.Drawing.Point(8, 55); + this.EnableActiveClientHighlightCheckBox.Name = "EnableActiveClientHighlightCheckBox"; + this.EnableActiveClientHighlightCheckBox.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.EnableActiveClientHighlightCheckBox.Size = new System.Drawing.Size(127, 17); + this.EnableActiveClientHighlightCheckBox.TabIndex = 27; + this.EnableActiveClientHighlightCheckBox.Text = "Highlight active client"; + this.EnableActiveClientHighlightCheckBox.UseVisualStyleBackColor = true; + this.EnableActiveClientHighlightCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ShowThumbnailOverlaysCheckBox + // + this.ShowThumbnailOverlaysCheckBox.AutoSize = true; + this.ShowThumbnailOverlaysCheckBox.Checked = true; + this.ShowThumbnailOverlaysCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.ShowThumbnailOverlaysCheckBox.Location = new System.Drawing.Point(8, 7); + this.ShowThumbnailOverlaysCheckBox.Name = "ShowThumbnailOverlaysCheckBox"; + this.ShowThumbnailOverlaysCheckBox.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.ShowThumbnailOverlaysCheckBox.Size = new System.Drawing.Size(90, 17); + this.ShowThumbnailOverlaysCheckBox.TabIndex = 25; + this.ShowThumbnailOverlaysCheckBox.Text = "Show overlay"; + this.ShowThumbnailOverlaysCheckBox.UseVisualStyleBackColor = true; + this.ShowThumbnailOverlaysCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ShowThumbnailFramesCheckBox + // + this.ShowThumbnailFramesCheckBox.AutoSize = true; + this.ShowThumbnailFramesCheckBox.Checked = true; + this.ShowThumbnailFramesCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; + this.ShowThumbnailFramesCheckBox.Location = new System.Drawing.Point(8, 31); + this.ShowThumbnailFramesCheckBox.Name = "ShowThumbnailFramesCheckBox"; + this.ShowThumbnailFramesCheckBox.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.ShowThumbnailFramesCheckBox.Size = new System.Drawing.Size(87, 17); + this.ShowThumbnailFramesCheckBox.TabIndex = 26; + this.ShowThumbnailFramesCheckBox.Text = "Show frames"; + this.ShowThumbnailFramesCheckBox.UseVisualStyleBackColor = true; + this.ShowThumbnailFramesCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + // + // ClientsTabPage + // + ClientsTabPage.BackColor = System.Drawing.SystemColors.Control; + ClientsTabPage.Controls.Add(ClientsPanel); + ClientsTabPage.Location = new System.Drawing.Point(124, 4); + ClientsTabPage.Name = "ClientsTabPage"; + ClientsTabPage.Size = new System.Drawing.Size(262, 210); + ClientsTabPage.TabIndex = 4; + ClientsTabPage.Text = "Active Clients"; + // + // ClientsPanel + // + ClientsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + ClientsPanel.Controls.Add(this.ThumbnailsList); + ClientsPanel.Controls.Add(ThumbnailsListLabel); + ClientsPanel.Dock = System.Windows.Forms.DockStyle.Fill; + ClientsPanel.Location = new System.Drawing.Point(0, 0); + ClientsPanel.Name = "ClientsPanel"; + ClientsPanel.Size = new System.Drawing.Size(262, 210); + ClientsPanel.TabIndex = 32; + // + // ThumbnailsList + // + this.ThumbnailsList.BackColor = System.Drawing.SystemColors.Window; + this.ThumbnailsList.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.ThumbnailsList.CheckOnClick = true; + this.ThumbnailsList.Dock = System.Windows.Forms.DockStyle.Bottom; + this.ThumbnailsList.FormattingEnabled = true; + this.ThumbnailsList.IntegralHeight = false; + this.ThumbnailsList.Location = new System.Drawing.Point(0, 28); + this.ThumbnailsList.Name = "ThumbnailsList"; + this.ThumbnailsList.Size = new System.Drawing.Size(260, 180); + this.ThumbnailsList.TabIndex = 34; + this.ThumbnailsList.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.ThumbnailsList_ItemCheck_Handler); + // + // ThumbnailsListLabel + // + ThumbnailsListLabel.AutoSize = true; + ThumbnailsListLabel.Location = new System.Drawing.Point(8, 9); + ThumbnailsListLabel.Name = "ThumbnailsListLabel"; + ThumbnailsListLabel.Size = new System.Drawing.Size(162, 13); + ThumbnailsListLabel.TabIndex = 33; + ThumbnailsListLabel.Text = "Thumbnails (check to force hide)"; + // + // AboutTabPage + // + AboutTabPage.BackColor = System.Drawing.SystemColors.Control; + AboutTabPage.Controls.Add(AboutPanel); + AboutTabPage.Location = new System.Drawing.Point(124, 4); + AboutTabPage.Name = "AboutTabPage"; + AboutTabPage.Size = new System.Drawing.Size(262, 210); + AboutTabPage.TabIndex = 5; + AboutTabPage.Text = "About"; + // + // AboutPanel + // + AboutPanel.BackColor = System.Drawing.Color.Transparent; + AboutPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + AboutPanel.Controls.Add(CreditMaintLabel); + AboutPanel.Controls.Add(DocumentationLinkLabel); + AboutPanel.Controls.Add(DescriptionLabel); + AboutPanel.Controls.Add(this.VersionLabel); + AboutPanel.Controls.Add(NameLabel); + AboutPanel.Controls.Add(this.DocumentationLink); + AboutPanel.Dock = System.Windows.Forms.DockStyle.Fill; + AboutPanel.Location = new System.Drawing.Point(0, 0); + AboutPanel.Name = "AboutPanel"; + AboutPanel.Size = new System.Drawing.Size(262, 210); + AboutPanel.TabIndex = 2; + // + // CreditMaintLabel + // + CreditMaintLabel.AutoSize = true; + CreditMaintLabel.Location = new System.Drawing.Point(0, 143); + CreditMaintLabel.Name = "CreditMaintLabel"; + CreditMaintLabel.Padding = new System.Windows.Forms.Padding(8, 3, 8, 3); + CreditMaintLabel.Size = new System.Drawing.Size(258, 19); + CreditMaintLabel.TabIndex = 7; + CreditMaintLabel.Text = "Credit to previous maintainer: Phrynohyas Tig-Rah"; + // + // DocumentationLinkLabel + // + DocumentationLinkLabel.AutoSize = true; + DocumentationLinkLabel.Location = new System.Drawing.Point(0, 163); + DocumentationLinkLabel.Name = "DocumentationLinkLabel"; + DocumentationLinkLabel.Padding = new System.Windows.Forms.Padding(8, 3, 8, 3); + DocumentationLinkLabel.Size = new System.Drawing.Size(222, 19); + DocumentationLinkLabel.TabIndex = 6; + DocumentationLinkLabel.Text = "For more information visit the forum thread:"; + // + // DescriptionLabel + // + DescriptionLabel.BackColor = System.Drawing.Color.Transparent; + DescriptionLabel.Location = new System.Drawing.Point(0, 29); + DescriptionLabel.Name = "DescriptionLabel"; + DescriptionLabel.Padding = new System.Windows.Forms.Padding(8, 3, 8, 3); + DescriptionLabel.Size = new System.Drawing.Size(261, 145); + DescriptionLabel.TabIndex = 5; + DescriptionLabel.Text = resources.GetString("DescriptionLabel.Text"); + // + // VersionLabel + // + this.VersionLabel.AutoSize = true; + this.VersionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + this.VersionLabel.Location = new System.Drawing.Point(133, 9); + this.VersionLabel.Name = "VersionLabel"; + this.VersionLabel.Size = new System.Drawing.Size(49, 20); + this.VersionLabel.TabIndex = 4; + this.VersionLabel.Text = "1.0.0"; + // + // NameLabel + // + NameLabel.AutoSize = true; + NameLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + NameLabel.Location = new System.Drawing.Point(4, 9); + NameLabel.Name = "NameLabel"; + NameLabel.Size = new System.Drawing.Size(130, 20); + NameLabel.TabIndex = 3; + NameLabel.Text = "EVE-O Preview"; + // + // DocumentationLink + // + this.DocumentationLink.Location = new System.Drawing.Point(0, 177); + this.DocumentationLink.Margin = new System.Windows.Forms.Padding(30, 3, 3, 3); + this.DocumentationLink.Name = "DocumentationLink"; + this.DocumentationLink.Padding = new System.Windows.Forms.Padding(8, 3, 8, 3); + this.DocumentationLink.Size = new System.Drawing.Size(262, 33); + this.DocumentationLink.TabIndex = 2; + this.DocumentationLink.TabStop = true; + this.DocumentationLink.Text = "to be set from prresenter to be set from prresenter to be set from prresenter to " + "be set from prresenter"; - this.DocumentationLink.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.DocumentationLinkClicked_Handler); - // - // NotifyIcon - // - this.NotifyIcon.ContextMenuStrip = this.TrayMenu; - this.NotifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("NotifyIcon.Icon"))); - this.NotifyIcon.Text = "EVE-O Preview"; - this.NotifyIcon.Visible = true; - this.NotifyIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.RestoreMainForm_Handler); - // - // TrayMenu - // - this.TrayMenu.ImageScalingSize = new System.Drawing.Size(24, 24); - this.TrayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.DocumentationLink.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.DocumentationLinkClicked_Handler); + // + // NotifyIcon + // + this.NotifyIcon.ContextMenuStrip = this.TrayMenu; + this.NotifyIcon.Icon = ((System.Drawing.Icon)(resources.GetObject("NotifyIcon.Icon"))); + this.NotifyIcon.Text = "EVE-O Preview"; + this.NotifyIcon.Visible = true; + this.NotifyIcon.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.RestoreMainForm_Handler); + // + // TrayMenu + // + this.TrayMenu.ImageScalingSize = new System.Drawing.Size(24, 24); + this.TrayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { TitleMenuItem, RestoreWindowMenuItem, SeparatorMenuItem, ExitMenuItem}); - this.TrayMenu.Name = "contextMenuStrip1"; - this.TrayMenu.Size = new System.Drawing.Size(152, 76); - // - // MainForm - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.BackColor = System.Drawing.SystemColors.Control; - this.ClientSize = new System.Drawing.Size(390, 218); - this.Controls.Add(ContentTabControl); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Margin = new System.Windows.Forms.Padding(0); - this.MaximizeBox = false; - this.Name = "MainForm"; - this.Text = "EVE-O Preview"; - this.TopMost = true; - this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainFormClosing_Handler); - this.Load += new System.EventHandler(this.MainFormResize_Handler); - this.Resize += new System.EventHandler(this.MainFormResize_Handler); - ContentTabControl.ResumeLayout(false); - GeneralTabPage.ResumeLayout(false); - GeneralSettingsPanel.ResumeLayout(false); - GeneralSettingsPanel.PerformLayout(); - ThumbnailTabPage.ResumeLayout(false); - ThumbnailSettingsPanel.ResumeLayout(false); - ThumbnailSettingsPanel.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ThumbnailSnapToGridSizeYNumericEdit)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.ThumbnailSnapToGridSizeXNumericEdit)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsWidthNumericEdit)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsHeightNumericEdit)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.ThumbnailOpacityTrackBar)).EndInit(); - this.ZoomTabPage.ResumeLayout(false); - ZoomSettingsPanel.ResumeLayout(false); - ZoomSettingsPanel.PerformLayout(); - this.ZoomAnchorPanel.ResumeLayout(false); - this.ZoomAnchorPanel.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ThumbnailZoomFactorNumericEdit)).EndInit(); - OverlayTabPage.ResumeLayout(false); - OverlaySettingsPanel.ResumeLayout(false); - OverlaySettingsPanel.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.OverlayLabelSizeNumericEdit)).EndInit(); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - ClientsTabPage.ResumeLayout(false); - ClientsPanel.ResumeLayout(false); - ClientsPanel.PerformLayout(); - AboutTabPage.ResumeLayout(false); - AboutPanel.ResumeLayout(false); - AboutPanel.PerformLayout(); - this.TrayMenu.ResumeLayout(false); - this.ResumeLayout(false); + this.TrayMenu.Name = "contextMenuStrip1"; + this.TrayMenu.Size = new System.Drawing.Size(152, 76); + // + // label4 + // + label4.AutoSize = true; + label4.Location = new System.Drawing.Point(5, 100); + label4.Name = "label4"; + label4.Size = new System.Drawing.Size(79, 13); + label4.TabIndex = 27; + label4.Text = "Animation Style"; + // + // MainForm + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.SystemColors.Control; + this.ClientSize = new System.Drawing.Size(390, 218); + this.Controls.Add(ContentTabControl); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.Margin = new System.Windows.Forms.Padding(0); + this.MaximizeBox = false; + this.Name = "MainForm"; + this.Text = "EVE-O Preview"; + this.TopMost = true; + this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainFormClosing_Handler); + this.Load += new System.EventHandler(this.MainFormResize_Handler); + this.Resize += new System.EventHandler(this.MainFormResize_Handler); + ContentTabControl.ResumeLayout(false); + GeneralTabPage.ResumeLayout(false); + GeneralSettingsPanel.ResumeLayout(false); + GeneralSettingsPanel.PerformLayout(); + ThumbnailTabPage.ResumeLayout(false); + ThumbnailSettingsPanel.ResumeLayout(false); + ThumbnailSettingsPanel.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.ThumbnailSnapToGridSizeYNumericEdit)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.ThumbnailSnapToGridSizeXNumericEdit)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsWidthNumericEdit)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsHeightNumericEdit)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.ThumbnailOpacityTrackBar)).EndInit(); + this.ZoomTabPage.ResumeLayout(false); + ZoomSettingsPanel.ResumeLayout(false); + ZoomSettingsPanel.PerformLayout(); + this.ZoomAnchorPanel.ResumeLayout(false); + this.ZoomAnchorPanel.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.ThumbnailZoomFactorNumericEdit)).EndInit(); + OverlayTabPage.ResumeLayout(false); + OverlaySettingsPanel.ResumeLayout(false); + OverlaySettingsPanel.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.OverlayLabelSizeNumericEdit)).EndInit(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + ClientsTabPage.ResumeLayout(false); + ClientsPanel.ResumeLayout(false); + ClientsPanel.PerformLayout(); + AboutTabPage.ResumeLayout(false); + AboutPanel.ResumeLayout(false); + AboutPanel.PerformLayout(); + this.TrayMenu.ResumeLayout(false); + this.ResumeLayout(false); } @@ -1261,7 +1273,6 @@ namespace EveOPreview.View private Label SnapYLabel; private NumericUpDown ThumbnailSnapToGridSizeXNumericEdit; private Label SnapXLabel; - private CheckBox MinimizeInactiveClientsAnimationCheckBox; private CheckBox ThumbnailSnapToGridCheckBox; private Label label3; private Label label2; @@ -1278,5 +1289,6 @@ namespace EveOPreview.View private RadioButton OverlayLabelERadioButton; private RadioButton OverlayLabelSWRadioButton; private Label label1; - } + private ComboBox AnimationStyleCombo; + } } \ No newline at end of file diff --git a/src/Eve-O-Preview/View/Implementation/MainForm.cs b/src/Eve-O-Preview/View/Implementation/MainForm.cs index ac36e3b..129e01a 100644 --- a/src/Eve-O-Preview/View/Implementation/MainForm.cs +++ b/src/Eve-O-Preview/View/Implementation/MainForm.cs @@ -1,8 +1,10 @@ +using EveOPreview.Configuration; using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Windows.Forms; +using static System.Windows.Forms.VisualStyles.VisualStyleElement; namespace EveOPreview.View { @@ -36,6 +38,10 @@ namespace EveOPreview.View this.InitZoomAnchorMap(); this.InitOverlayLabelMap(); this.InitFormSize(); + + + this.AnimationStyleCombo.DataSource = Enum.GetValues(typeof(AnimationStyle)); + } public bool MinimizeToTray @@ -80,10 +86,10 @@ namespace EveOPreview.View get => this.MinimizeInactiveClientsCheckBox.Checked; set => this.MinimizeInactiveClientsCheckBox.Checked = value; } - public bool MinimizeInactiveClientsAnimation + public ViewAnimationStyle WindowsAnimationStyle { - get => this.MinimizeInactiveClientsAnimationCheckBox.Checked; - set => this.MinimizeInactiveClientsAnimationCheckBox.Checked = value; + get => (ViewAnimationStyle)this.AnimationStyleCombo.SelectedItem; + set => this.AnimationStyleCombo.SelectedIndex = (int)value; } public bool ShowThumbnailsAlwaysOnTop @@ -515,5 +521,15 @@ namespace EveOPreview.View } } } + + private void AnimationStyleCombo_SelectedIndexChanged(object sender, EventArgs e) + { + + } + + private void GeneralSettingsPanel_Paint(object sender, PaintEventArgs e) + { + + } } } \ No newline at end of file diff --git a/src/Eve-O-Preview/View/Implementation/MainForm.resx b/src/Eve-O-Preview/View/Implementation/MainForm.resx index eac2842..370d85c 100644 --- a/src/Eve-O-Preview/View/Implementation/MainForm.resx +++ b/src/Eve-O-Preview/View/Implementation/MainForm.resx @@ -138,15 +138,33 @@ False + + False + False False + + False + + + False + + + False + False + + False + + + False + False @@ -159,75 +177,15 @@ False + + False + False False - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - - - False - False diff --git a/src/Eve-O-Preview/View/Interface/IMainFormView.cs b/src/Eve-O-Preview/View/Interface/IMainFormView.cs index bc9d1d2..649a649 100644 --- a/src/Eve-O-Preview/View/Interface/IMainFormView.cs +++ b/src/Eve-O-Preview/View/Interface/IMainFormView.cs @@ -17,7 +17,7 @@ namespace EveOPreview.View bool EnableClientLayoutTracking { get; set; } bool HideActiveClientThumbnail { get; set; } bool MinimizeInactiveClients { get; set; } - bool MinimizeInactiveClientsAnimation { get; set; } + ViewAnimationStyle WindowsAnimationStyle { get; set; } bool ShowThumbnailsAlwaysOnTop { get; set; } bool HideThumbnailsOnLostFocus { get; set; } bool EnablePerClientThumbnailLayouts { get; set; } diff --git a/src/Eve-O-Preview/View/Interface/ViewAnimationStyle.cs b/src/Eve-O-Preview/View/Interface/ViewAnimationStyle.cs new file mode 100644 index 0000000..bdddcc7 --- /dev/null +++ b/src/Eve-O-Preview/View/Interface/ViewAnimationStyle.cs @@ -0,0 +1,8 @@ +namespace EveOPreview.View +{ + public enum ViewAnimationStyle + { + OriginalAnimation, + NoAnimation + } +} \ No newline at end of file