diff --git a/README.md b/README.md index fb088e6..350ce88 100644 --- a/README.md +++ b/README.md @@ -148,11 +148,13 @@ Some of the application options are not exposed in the GUI. They can be adjusted | **CompatibilityMode** |
Enables the alternative render mode (see below)
The default value is **false**
For example: **"CompatibilityMode": true**
| | **EnableThumbnailSnap** |
Allows to disable thumbnails snap feature by setting its value to **false**
The default value is **true**
For example: **"EnableThumbnailSnap": true**
| | **HideThumbnailsDelay** |
Delay before thumbnails are hidden if the **General** -> **Hide previews when EVE client is not active** option is enabled
The delay is measured in thumbnail refresh periods
The default value is **2** (corresponds to 1 second delay)
For example: **"HideThumbnailsDelay": 2**
| +| **HideLoginClientThumbnail** |
Hide EVE login window clients. If an Eve online client is sat at character selection screen - hide the preview window for this client
The default value is **false**
For example: **"HideLoginClientThumbnail": false**
| | **PriorityClients** |
Allows to set a list of clients that are not auto-minimized on inactivity even if the **Minimize inactive EVE clients** option is enabled. Listed clients still can be minimized using Windows hotkeys or via _Ctrl+Click_ on the corresponding thumbnail
The default value is empty list **[]**
For example: **"PriorityClients": [ "EVE - Phrynohyas Tig-Rah", "EVE - Ondatra Patrouette" ]**
| | **ThumbnailMinimumSize** |
Minimum thumbnail size that can be set either via GUI or by resizing a thumbnail window. Value is written in the form "width, height"
The default value is **"100, 80"**.
For example: **"ThumbnailMinimumSize": "100, 80"**
| | **ThumbnailMaximumSize** |
Maximum thumbnail size that can be set either via GUI or by resizing a thumbnail window. Value is written in the form "width, height"
The default value is **"640, 400"**.
For example: **"ThumbnailMaximumSize": "640, 400"**
| | **ThumbnailRefreshPeriod** |
Thumbnail refresh period in milliseconds. This option accepts values between **300** and **1000** only.
The default value is **500** milliseconds.
For example: **"ThumbnailRefreshPeriod": 500**
| | **ThumbnailResizeTimeoutPeriod** |
Thumbnail Resize Timeout period in milliseconds. This option accepts values between **200** and **5000** only.
The default value is **500** milliseconds.
For example: **"ThumbnailResizeTimeoutPeriod": 500**. If you are having the preview windows resize incorrectly on startup increase this value.
| +| **ExecutablesToPreview** |
List of executables to display preview windows for. List of strings.
The default value is **"exefile"**.
For example: **"ExecutablesToPreview": ["exefile","wow","Diablo IV"]**. If you are having the preview windows resize incorrectly on startup increase this value.
|
diff --git a/src/Eve-O-Preview/Configuration/Implementation/ThumbnailConfiguration.cs b/src/Eve-O-Preview/Configuration/Implementation/ThumbnailConfiguration.cs index 888e2c0..8c952a4 100644 --- a/src/Eve-O-Preview/Configuration/Implementation/ThumbnailConfiguration.cs +++ b/src/Eve-O-Preview/Configuration/Implementation/ThumbnailConfiguration.cs @@ -73,6 +73,7 @@ namespace EveOPreview.Configuration.Implementation this.EnableClientLayoutTracking = false; this.HideActiveClientThumbnail = false; + this.HideLoginClientThumbnail = false; this.MinimizeInactiveClients = false; this.WindowsAnimationStyle = AnimationStyle.NoAnimation; this.ShowThumbnailsAlwaysOnTop = true; @@ -165,6 +166,7 @@ namespace EveOPreview.Configuration.Implementation } public bool HideActiveClientThumbnail { get; set; } + public bool HideLoginClientThumbnail { get; set; } public bool MinimizeInactiveClients { get; set; } public AnimationStyle WindowsAnimationStyle { get; set; } public bool ShowThumbnailsAlwaysOnTop { get; set; } diff --git a/src/Eve-O-Preview/Configuration/Interface/IThumbnailConfiguration.cs b/src/Eve-O-Preview/Configuration/Interface/IThumbnailConfiguration.cs index 4cb3653..df03cb9 100644 --- a/src/Eve-O-Preview/Configuration/Interface/IThumbnailConfiguration.cs +++ b/src/Eve-O-Preview/Configuration/Interface/IThumbnailConfiguration.cs @@ -26,6 +26,7 @@ namespace EveOPreview.Configuration bool EnableClientLayoutTracking { get; set; } bool HideActiveClientThumbnail { get; set; } + bool HideLoginClientThumbnail { get; set; } bool MinimizeInactiveClients { get; set; } AnimationStyle WindowsAnimationStyle { get; set; } bool ShowThumbnailsAlwaysOnTop { get; set; } diff --git a/src/Eve-O-Preview/Properties/AssemblyInfo.cs b/src/Eve-O-Preview/Properties/AssemblyInfo.cs index 166b385..5f93b2f 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.7")] -[assembly: AssemblyFileVersion("8.0.1.7")] +[assembly: AssemblyVersion("8.0.1.8")] +[assembly: AssemblyFileVersion("8.0.1.8")] [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 f14077a..471ddfe 100644 --- a/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs +++ b/src/Eve-O-Preview/Services/Implementation/ThumbnailManager.cs @@ -443,6 +443,15 @@ namespace EveOPreview.Services continue; } + if (this._configuration.HideLoginClientThumbnail && (view.Title == DEFAULT_CLIENT_TITLE )) + { + if (view.IsActive) + { + view.Hide(); + } + continue; + } + // No need to update Thumbnails while one of them is highlighted if (!this._isHoverEffectActive) {