Moving source files into a separate folder
This commit is contained in:
28
src/Eve-O-Preview/Configuration/Interface/ClientLayout.cs
Normal file
28
src/Eve-O-Preview/Configuration/Interface/ClientLayout.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
namespace EveOPreview.Configuration
|
||||
{
|
||||
public class ClientLayout
|
||||
{
|
||||
public ClientLayout()
|
||||
{
|
||||
}
|
||||
|
||||
public ClientLayout(int x, int y, int width, int height, bool maximized)
|
||||
{
|
||||
this.X = x;
|
||||
this.Y = y;
|
||||
this.Width = width;
|
||||
this.Height = height;
|
||||
this.IsMaximized = maximized;
|
||||
}
|
||||
|
||||
public int X { get; set; }
|
||||
|
||||
public int Y { get; set; }
|
||||
|
||||
public int Width { get; set; }
|
||||
|
||||
public int Height { get; set; }
|
||||
|
||||
public bool IsMaximized { get; set; }
|
||||
}
|
||||
}
|
||||
10
src/Eve-O-Preview/Configuration/Interface/IAppConfig.cs
Normal file
10
src/Eve-O-Preview/Configuration/Interface/IAppConfig.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace EveOPreview.Configuration
|
||||
{
|
||||
/// <summary>
|
||||
/// Application configuration
|
||||
/// </summary>
|
||||
public interface IAppConfig
|
||||
{
|
||||
string ConfigFileName { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace EveOPreview.Configuration
|
||||
{
|
||||
public interface IConfigurationStorage
|
||||
{
|
||||
void Load();
|
||||
void Save();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace EveOPreview.Configuration
|
||||
{
|
||||
public interface IThumbnailConfiguration
|
||||
{
|
||||
bool MinimizeToTray { get; set; }
|
||||
int ThumbnailRefreshPeriod { get; set; }
|
||||
|
||||
bool EnableCompatibilityMode { get; set; }
|
||||
|
||||
double ThumbnailOpacity { get; set; }
|
||||
|
||||
bool EnableClientLayoutTracking { get; set; }
|
||||
bool HideActiveClientThumbnail { get; set; }
|
||||
bool MinimizeInactiveClients { get; set; }
|
||||
bool ShowThumbnailsAlwaysOnTop { get; set; }
|
||||
bool HideThumbnailsOnLostFocus { get; set; }
|
||||
bool EnablePerClientThumbnailLayouts { get; set; }
|
||||
|
||||
Size ThumbnailSize { get; set; }
|
||||
Size ThumbnailMinimumSize { get; set; }
|
||||
Size ThumbnailMaximumSize { get; set; }
|
||||
|
||||
bool EnableThumbnailSnap { get; set; }
|
||||
|
||||
bool ThumbnailZoomEnabled { get; set; }
|
||||
int ThumbnailZoomFactor { get; set; }
|
||||
ZoomAnchor ThumbnailZoomAnchor { get; set; }
|
||||
|
||||
bool ShowThumbnailOverlays { get; set; }
|
||||
bool ShowThumbnailFrames { get; set; }
|
||||
|
||||
bool EnableActiveClientHighlight { get; set; }
|
||||
Color ActiveClientHighlightColor { get; set; }
|
||||
int ActiveClientHighlightThickness { get; set; }
|
||||
|
||||
Point GetDefaultThumbnailLocation();
|
||||
Point GetThumbnailLocation(string currentClient, string activeClient, Point defaultLocation);
|
||||
void SetThumbnailLocation(string currentClient, string activeClient, Point location);
|
||||
|
||||
ClientLayout GetClientLayout(string currentClient);
|
||||
void SetClientLayout(string currentClient, ClientLayout layout);
|
||||
|
||||
Keys GetClientHotkey(string currentClient);
|
||||
void SetClientHotkey(string currentClient, Keys hotkey);
|
||||
|
||||
bool IsPriorityClient(string currentClient);
|
||||
|
||||
bool IsThumbnailDisabled(string currentClient);
|
||||
void ToggleThumbnail(string currentClient, bool isDisabled);
|
||||
|
||||
void ApplyRestrictions();
|
||||
}
|
||||
}
|
||||
15
src/Eve-O-Preview/Configuration/Interface/ZoomAnchor.cs
Normal file
15
src/Eve-O-Preview/Configuration/Interface/ZoomAnchor.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace EveOPreview.Configuration
|
||||
{
|
||||
public enum ZoomAnchor
|
||||
{
|
||||
NW,
|
||||
N,
|
||||
NE,
|
||||
W,
|
||||
C,
|
||||
E,
|
||||
SW,
|
||||
S,
|
||||
SE
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user