diff --git a/Eve-O-Preview/UI/Implementation/MainForm.Designer.cs b/Eve-O-Preview/UI/Implementation/MainForm.Designer.cs index bbf116b..bc611ec 100644 --- a/Eve-O-Preview/UI/Implementation/MainForm.Designer.cs +++ b/Eve-O-Preview/UI/Implementation/MainForm.Designer.cs @@ -31,31 +31,42 @@ namespace EveOPreview.UI private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.Windows.Forms.Label OpacityLabel; System.Windows.Forms.ToolStripMenuItem RestoreWindowMenuItem; System.Windows.Forms.ToolStripMenuItem ExitMenuItem; - System.Windows.Forms.Panel MainOptionsPanel; - System.Windows.Forms.Panel ThumbnailSizePanel; - System.Windows.Forms.Label HeigthLabel; - System.Windows.Forms.Label WidthLabel; - System.Windows.Forms.Panel ZoomOptionsPanel; - System.Windows.Forms.Label ZoomFactorLabel; - System.Windows.Forms.Label ZoomAnchorLabel; - System.Windows.Forms.Panel ThumbnailListPanel; - System.Windows.Forms.Label ThumbnailsListLabel; System.Windows.Forms.ToolStripMenuItem TitleMenuItem; System.Windows.Forms.ToolStripSeparator SeparatorMenuItem; - System.Windows.Forms.Panel OverlayOptionsPanel; + 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 DescriptionLabel; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); - this.ThumbnailOpacityTrackBar = new System.Windows.Forms.TrackBar(); - this.MinimizeToTrayCheckBox = new System.Windows.Forms.CheckBox(); + System.Windows.Forms.Label VersionLabel; + System.Windows.Forms.Label NameLabel; 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.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(); @@ -68,52 +79,62 @@ namespace EveOPreview.UI this.ZoomAanchorSWRadioButton = new System.Windows.Forms.RadioButton(); this.EnableThumbnailZoomCheckBox = new System.Windows.Forms.CheckBox(); this.ThumbnailZoomFactorNumericEdit = new System.Windows.Forms.NumericUpDown(); - this.ThumbnailsList = new System.Windows.Forms.CheckedListBox(); 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.ForumLinkLabel = new System.Windows.Forms.LinkLabel(); this.NotifyIcon = new System.Windows.Forms.NotifyIcon(this.components); this.TrayMenu = new System.Windows.Forms.ContextMenuStrip(this.components); - OpacityLabel = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); RestoreWindowMenuItem = new System.Windows.Forms.ToolStripMenuItem(); ExitMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - MainOptionsPanel = new System.Windows.Forms.Panel(); - ThumbnailSizePanel = new System.Windows.Forms.Panel(); - HeigthLabel = new System.Windows.Forms.Label(); - WidthLabel = new System.Windows.Forms.Label(); - ZoomOptionsPanel = new System.Windows.Forms.Panel(); - ZoomFactorLabel = new System.Windows.Forms.Label(); - ZoomAnchorLabel = new System.Windows.Forms.Label(); - ThumbnailListPanel = new System.Windows.Forms.Panel(); - ThumbnailsListLabel = new System.Windows.Forms.Label(); TitleMenuItem = new System.Windows.Forms.ToolStripMenuItem(); SeparatorMenuItem = new System.Windows.Forms.ToolStripSeparator(); - OverlayOptionsPanel = new System.Windows.Forms.Panel(); - MainOptionsPanel.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ThumbnailOpacityTrackBar)).BeginInit(); - ThumbnailSizePanel.SuspendLayout(); + 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(); + DescriptionLabel = new System.Windows.Forms.Label(); + VersionLabel = 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.ThumbnailsWidthNumericEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsHeightNumericEdit)).BeginInit(); - ZoomOptionsPanel.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.ThumbnailOpacityTrackBar)).BeginInit(); + this.ZoomTabPage.SuspendLayout(); + ZoomSettingsPanel.SuspendLayout(); this.ZoomAnchorPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ThumbnailZoomFactorNumericEdit)).BeginInit(); - ThumbnailListPanel.SuspendLayout(); - OverlayOptionsPanel.SuspendLayout(); + OverlayTabPage.SuspendLayout(); + OverlaySettingsPanel.SuspendLayout(); + ClientsTabPage.SuspendLayout(); + ClientsPanel.SuspendLayout(); + AboutTabPage.SuspendLayout(); + AboutPanel.SuspendLayout(); this.TrayMenu.SuspendLayout(); this.SuspendLayout(); // - // OpacityLabel - // - OpacityLabel.AutoSize = true; - OpacityLabel.Location = new System.Drawing.Point(0, 23); - OpacityLabel.Name = "OpacityLabel"; - OpacityLabel.Size = new System.Drawing.Size(43, 13); - OpacityLabel.TabIndex = 0; - OpacityLabel.Text = "Opacity"; - // // RestoreWindowMenuItem // RestoreWindowMenuItem.Name = "RestoreWindowMenuItem"; @@ -128,56 +149,72 @@ namespace EveOPreview.UI ExitMenuItem.Text = "Exit"; ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItemClick_Handler); // - // MainOptionsPanel + // TitleMenuItem // - MainOptionsPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - MainOptionsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - MainOptionsPanel.Controls.Add(this.ThumbnailOpacityTrackBar); - MainOptionsPanel.Controls.Add(this.MinimizeToTrayCheckBox); - MainOptionsPanel.Controls.Add(this.EnableClientLayoutTrackingCheckBox); - MainOptionsPanel.Controls.Add(this.HideActiveClientThumbnailCheckBox); - MainOptionsPanel.Controls.Add(this.ShowThumbnailsAlwaysOnTopCheckBox); - MainOptionsPanel.Controls.Add(this.HideThumbnailsOnLostFocusCheckBox); - MainOptionsPanel.Controls.Add(this.EnablePerClientThumbnailsLayoutsCheckBox); - MainOptionsPanel.Controls.Add(OpacityLabel); - MainOptionsPanel.Location = new System.Drawing.Point(3, 3); - MainOptionsPanel.Name = "MainOptionsPanel"; - MainOptionsPanel.Size = new System.Drawing.Size(264, 164); - MainOptionsPanel.TabIndex = 0; + TitleMenuItem.Enabled = false; + TitleMenuItem.Name = "TitleMenuItem"; + TitleMenuItem.Size = new System.Drawing.Size(151, 22); + TitleMenuItem.Text = "EVE-O Preview"; // - // ThumbnailOpacityTrackBar + // SeparatorMenuItem // - this.ThumbnailOpacityTrackBar.AutoSize = false; - this.ThumbnailOpacityTrackBar.LargeChange = 10; - this.ThumbnailOpacityTrackBar.Location = new System.Drawing.Point(51, 22); - this.ThumbnailOpacityTrackBar.Maximum = 100; - this.ThumbnailOpacityTrackBar.Minimum = 20; - this.ThumbnailOpacityTrackBar.Name = "ThumbnailOpacityTrackBar"; - this.ThumbnailOpacityTrackBar.Size = new System.Drawing.Size(208, 22); - this.ThumbnailOpacityTrackBar.TabIndex = 1; - this.ThumbnailOpacityTrackBar.TickFrequency = 10; - this.ThumbnailOpacityTrackBar.Value = 20; - this.ThumbnailOpacityTrackBar.ValueChanged += new System.EventHandler(this.OptionChanged_Handler); + SeparatorMenuItem.Name = "SeparatorMenuItem"; + SeparatorMenuItem.Size = new System.Drawing.Size(148, 6); // - // MinimizeToTrayCheckBox + // ContentTabControl // - this.MinimizeToTrayCheckBox.AutoSize = true; - this.MinimizeToTrayCheckBox.Location = new System.Drawing.Point(3, 3); - this.MinimizeToTrayCheckBox.Name = "MinimizeToTrayCheckBox"; - this.MinimizeToTrayCheckBox.Size = new System.Drawing.Size(139, 17); - this.MinimizeToTrayCheckBox.TabIndex = 0; - this.MinimizeToTrayCheckBox.Text = "Minimize to System Tray"; - this.MinimizeToTrayCheckBox.UseVisualStyleBackColor = true; - this.MinimizeToTrayCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); + 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.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; // // EnableClientLayoutTrackingCheckBox // this.EnableClientLayoutTrackingCheckBox.AutoSize = true; - this.EnableClientLayoutTrackingCheckBox.Location = new System.Drawing.Point(3, 50); + 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 = 2; + this.EnableClientLayoutTrackingCheckBox.TabIndex = 19; this.EnableClientLayoutTrackingCheckBox.Text = "Track client locations"; this.EnableClientLayoutTrackingCheckBox.UseVisualStyleBackColor = true; this.EnableClientLayoutTrackingCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); @@ -187,10 +224,10 @@ namespace EveOPreview.UI this.HideActiveClientThumbnailCheckBox.AutoSize = true; this.HideActiveClientThumbnailCheckBox.Checked = true; this.HideActiveClientThumbnailCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.HideActiveClientThumbnailCheckBox.Location = new System.Drawing.Point(3, 73); + 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 = 3; + 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); @@ -200,11 +237,11 @@ namespace EveOPreview.UI this.ShowThumbnailsAlwaysOnTopCheckBox.AutoSize = true; this.ShowThumbnailsAlwaysOnTopCheckBox.Checked = true; this.ShowThumbnailsAlwaysOnTopCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.ShowThumbnailsAlwaysOnTopCheckBox.Location = new System.Drawing.Point(3, 96); + this.ShowThumbnailsAlwaysOnTopCheckBox.Location = new System.Drawing.Point(8, 79); this.ShowThumbnailsAlwaysOnTopCheckBox.Name = "ShowThumbnailsAlwaysOnTopCheckBox"; this.ShowThumbnailsAlwaysOnTopCheckBox.RightToLeft = System.Windows.Forms.RightToLeft.No; this.ShowThumbnailsAlwaysOnTopCheckBox.Size = new System.Drawing.Size(137, 17); - this.ShowThumbnailsAlwaysOnTopCheckBox.TabIndex = 4; + this.ShowThumbnailsAlwaysOnTopCheckBox.TabIndex = 21; this.ShowThumbnailsAlwaysOnTopCheckBox.Text = "Previews always on top"; this.ShowThumbnailsAlwaysOnTopCheckBox.UseVisualStyleBackColor = true; this.ShowThumbnailsAlwaysOnTopCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); @@ -214,10 +251,10 @@ namespace EveOPreview.UI this.HideThumbnailsOnLostFocusCheckBox.AutoSize = true; this.HideThumbnailsOnLostFocusCheckBox.Checked = true; this.HideThumbnailsOnLostFocusCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.HideThumbnailsOnLostFocusCheckBox.Location = new System.Drawing.Point(3, 119); + this.HideThumbnailsOnLostFocusCheckBox.Location = new System.Drawing.Point(8, 103); this.HideThumbnailsOnLostFocusCheckBox.Name = "HideThumbnailsOnLostFocusCheckBox"; this.HideThumbnailsOnLostFocusCheckBox.Size = new System.Drawing.Size(234, 17); - this.HideThumbnailsOnLostFocusCheckBox.TabIndex = 5; + 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); @@ -227,44 +264,67 @@ namespace EveOPreview.UI this.EnablePerClientThumbnailsLayoutsCheckBox.AutoSize = true; this.EnablePerClientThumbnailsLayoutsCheckBox.Checked = true; this.EnablePerClientThumbnailsLayoutsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.EnablePerClientThumbnailsLayoutsCheckBox.Location = new System.Drawing.Point(3, 142); + this.EnablePerClientThumbnailsLayoutsCheckBox.Location = new System.Drawing.Point(8, 127); this.EnablePerClientThumbnailsLayoutsCheckBox.Name = "EnablePerClientThumbnailsLayoutsCheckBox"; this.EnablePerClientThumbnailsLayoutsCheckBox.Size = new System.Drawing.Size(185, 17); - this.EnablePerClientThumbnailsLayoutsCheckBox.TabIndex = 6; + 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); // - // ThumbnailSizePanel + // MinimizeToTrayCheckBox // - ThumbnailSizePanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - ThumbnailSizePanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - ThumbnailSizePanel.Controls.Add(HeigthLabel); - ThumbnailSizePanel.Controls.Add(WidthLabel); - ThumbnailSizePanel.Controls.Add(this.ThumbnailsWidthNumericEdit); - ThumbnailSizePanel.Controls.Add(this.ThumbnailsHeightNumericEdit); - ThumbnailSizePanel.Location = new System.Drawing.Point(3, 173); - ThumbnailSizePanel.Name = "ThumbnailSizePanel"; - ThumbnailSizePanel.Size = new System.Drawing.Size(264, 28); - ThumbnailSizePanel.TabIndex = 1; + 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(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; // // HeigthLabel // HeigthLabel.AutoSize = true; - HeigthLabel.Location = new System.Drawing.Point(150, 5); + HeigthLabel.Location = new System.Drawing.Point(8, 57); HeigthLabel.Name = "HeigthLabel"; - HeigthLabel.Size = new System.Drawing.Size(38, 13); - HeigthLabel.TabIndex = 14; - HeigthLabel.Text = "Heigth"; + 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(0, 5); + WidthLabel.Location = new System.Drawing.Point(8, 33); WidthLabel.Name = "WidthLabel"; WidthLabel.Size = new System.Drawing.Size(87, 13); - WidthLabel.TabIndex = 13; + WidthLabel.TabIndex = 23; WidthLabel.Text = "Thumbnail Width"; // // ThumbnailsWidthNumericEdit @@ -277,7 +337,7 @@ namespace EveOPreview.UI 0, 0, 0}); - this.ThumbnailsWidthNumericEdit.Location = new System.Drawing.Point(92, 3); + this.ThumbnailsWidthNumericEdit.Location = new System.Drawing.Point(105, 31); this.ThumbnailsWidthNumericEdit.Maximum = new decimal(new int[] { 999999, 0, @@ -285,7 +345,7 @@ namespace EveOPreview.UI 0}); this.ThumbnailsWidthNumericEdit.Name = "ThumbnailsWidthNumericEdit"; this.ThumbnailsWidthNumericEdit.Size = new System.Drawing.Size(48, 20); - this.ThumbnailsWidthNumericEdit.TabIndex = 0; + this.ThumbnailsWidthNumericEdit.TabIndex = 21; this.ThumbnailsWidthNumericEdit.Value = new decimal(new int[] { 100, 0, @@ -303,15 +363,15 @@ namespace EveOPreview.UI 0, 0, 0}); - this.ThumbnailsHeightNumericEdit.Location = new System.Drawing.Point(217, 3); + 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(42, 20); - this.ThumbnailsHeightNumericEdit.TabIndex = 1; + this.ThumbnailsHeightNumericEdit.Size = new System.Drawing.Size(48, 20); + this.ThumbnailsHeightNumericEdit.TabIndex = 22; this.ThumbnailsHeightNumericEdit.Value = new decimal(new int[] { 70, 0, @@ -319,33 +379,65 @@ namespace EveOPreview.UI 0}); this.ThumbnailsHeightNumericEdit.ValueChanged += new System.EventHandler(this.ThumbnailSizeChanged_Handler); // - // ZoomOptionsPanel + // ThumbnailOpacityTrackBar // - ZoomOptionsPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - ZoomOptionsPanel.BackColor = System.Drawing.SystemColors.Control; - ZoomOptionsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - ZoomOptionsPanel.Controls.Add(ZoomFactorLabel); - ZoomOptionsPanel.Controls.Add(this.ZoomAnchorPanel); - ZoomOptionsPanel.Controls.Add(ZoomAnchorLabel); - ZoomOptionsPanel.Controls.Add(this.EnableThumbnailZoomCheckBox); - ZoomOptionsPanel.Controls.Add(this.ThumbnailZoomFactorNumericEdit); - ZoomOptionsPanel.Location = new System.Drawing.Point(3, 207); - ZoomOptionsPanel.Name = "ZoomOptionsPanel"; - ZoomOptionsPanel.Size = new System.Drawing.Size(264, 82); - ZoomOptionsPanel.TabIndex = 2; + 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(0, 43); + ZoomFactorLabel.Location = new System.Drawing.Point(8, 33); ZoomFactorLabel.Name = "ZoomFactorLabel"; ZoomFactorLabel.Size = new System.Drawing.Size(67, 13); - ZoomFactorLabel.TabIndex = 29; + 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); @@ -355,10 +447,10 @@ namespace EveOPreview.UI 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(199, 20); + this.ZoomAnchorPanel.Location = new System.Drawing.Point(81, 54); this.ZoomAnchorPanel.Name = "ZoomAnchorPanel"; - this.ZoomAnchorPanel.Size = new System.Drawing.Size(60, 57); - this.ZoomAnchorPanel.TabIndex = 2; + this.ZoomAnchorPanel.Size = new System.Drawing.Size(77, 73); + this.ZoomAnchorPanel.TabIndex = 38; // // ZoomAanchorNWRadioButton // @@ -374,7 +466,7 @@ namespace EveOPreview.UI // ZoomAanchorNRadioButton // this.ZoomAanchorNRadioButton.AutoSize = true; - this.ZoomAanchorNRadioButton.Location = new System.Drawing.Point(23, 3); + 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; @@ -385,7 +477,7 @@ namespace EveOPreview.UI // ZoomAanchorNERadioButton // this.ZoomAanchorNERadioButton.AutoSize = true; - this.ZoomAanchorNERadioButton.Location = new System.Drawing.Point(43, 3); + 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; @@ -396,7 +488,7 @@ namespace EveOPreview.UI // ZoomAanchorWRadioButton // this.ZoomAanchorWRadioButton.AutoSize = true; - this.ZoomAanchorWRadioButton.Location = new System.Drawing.Point(3, 22); + 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; @@ -407,7 +499,7 @@ namespace EveOPreview.UI // ZoomAanchorSERadioButton // this.ZoomAanchorSERadioButton.AutoSize = true; - this.ZoomAanchorSERadioButton.Location = new System.Drawing.Point(43, 41); + 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; @@ -418,7 +510,7 @@ namespace EveOPreview.UI // ZoomAanchorCRadioButton // this.ZoomAanchorCRadioButton.AutoSize = true; - this.ZoomAanchorCRadioButton.Location = new System.Drawing.Point(23, 22); + 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; @@ -429,7 +521,7 @@ namespace EveOPreview.UI // ZoomAanchorSRadioButton // this.ZoomAanchorSRadioButton.AutoSize = true; - this.ZoomAanchorSRadioButton.Location = new System.Drawing.Point(23, 41); + 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; @@ -440,7 +532,7 @@ namespace EveOPreview.UI // ZoomAanchorERadioButton // this.ZoomAanchorERadioButton.AutoSize = true; - this.ZoomAanchorERadioButton.Location = new System.Drawing.Point(43, 22); + 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; @@ -451,7 +543,7 @@ namespace EveOPreview.UI // ZoomAanchorSWRadioButton // this.ZoomAanchorSWRadioButton.AutoSize = true; - this.ZoomAanchorSWRadioButton.Location = new System.Drawing.Point(3, 41); + 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; @@ -462,10 +554,10 @@ namespace EveOPreview.UI // ZoomAnchorLabel // ZoomAnchorLabel.AutoSize = true; - ZoomAnchorLabel.Location = new System.Drawing.Point(150, 43); + ZoomAnchorLabel.Location = new System.Drawing.Point(8, 57); ZoomAnchorLabel.Name = "ZoomAnchorLabel"; ZoomAnchorLabel.Size = new System.Drawing.Size(41, 13); - ZoomAnchorLabel.TabIndex = 30; + ZoomAnchorLabel.TabIndex = 40; ZoomAnchorLabel.Text = "Anchor"; // // EnableThumbnailZoomCheckBox @@ -473,11 +565,11 @@ namespace EveOPreview.UI this.EnableThumbnailZoomCheckBox.AutoSize = true; this.EnableThumbnailZoomCheckBox.Checked = true; this.EnableThumbnailZoomCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.EnableThumbnailZoomCheckBox.Location = new System.Drawing.Point(3, 5); + 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 = 0; + this.EnableThumbnailZoomCheckBox.TabIndex = 36; this.EnableThumbnailZoomCheckBox.Text = "Zoom on hover"; this.EnableThumbnailZoomCheckBox.UseVisualStyleBackColor = true; this.EnableThumbnailZoomCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); @@ -486,7 +578,7 @@ namespace EveOPreview.UI // this.ThumbnailZoomFactorNumericEdit.BackColor = System.Drawing.SystemColors.Window; this.ThumbnailZoomFactorNumericEdit.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ThumbnailZoomFactorNumericEdit.Location = new System.Drawing.Point(94, 41); + this.ThumbnailZoomFactorNumericEdit.Location = new System.Drawing.Point(81, 31); this.ThumbnailZoomFactorNumericEdit.Maximum = new decimal(new int[] { 10, 0, @@ -499,7 +591,7 @@ namespace EveOPreview.UI 0}); this.ThumbnailZoomFactorNumericEdit.Name = "ThumbnailZoomFactorNumericEdit"; this.ThumbnailZoomFactorNumericEdit.Size = new System.Drawing.Size(38, 20); - this.ThumbnailZoomFactorNumericEdit.TabIndex = 1; + this.ThumbnailZoomFactorNumericEdit.TabIndex = 37; this.ThumbnailZoomFactorNumericEdit.Value = new decimal(new int[] { 2, 0, @@ -507,86 +599,46 @@ namespace EveOPreview.UI 0}); this.ThumbnailZoomFactorNumericEdit.ValueChanged += new System.EventHandler(this.OptionChanged_Handler); // - // ThumbnailListPanel + // OverlayTabPage // - ThumbnailListPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - ThumbnailListPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - ThumbnailListPanel.Controls.Add(this.ThumbnailsList); - ThumbnailListPanel.Controls.Add(ThumbnailsListLabel); - ThumbnailListPanel.Location = new System.Drawing.Point(3, 350); - ThumbnailListPanel.Name = "ThumbnailListPanel"; - ThumbnailListPanel.Size = new System.Drawing.Size(264, 125); - ThumbnailListPanel.TabIndex = 5; + 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"; // - // ThumbnailsList + // OverlaySettingsPanel // - this.ThumbnailsList.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.ThumbnailsList.BackColor = System.Drawing.SystemColors.Window; - this.ThumbnailsList.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.ThumbnailsList.FormattingEnabled = true; - this.ThumbnailsList.IntegralHeight = false; - this.ThumbnailsList.Location = new System.Drawing.Point(3, 18); - this.ThumbnailsList.Name = "ThumbnailsList"; - this.ThumbnailsList.Size = new System.Drawing.Size(256, 100); - this.ThumbnailsList.TabIndex = 0; - this.ThumbnailsList.ItemCheck += new System.Windows.Forms.ItemCheckEventHandler(this.ThumbnailsList_ItemCheck_Handler); - // - // ThumbnailsListLabel - // - ThumbnailsListLabel.AutoSize = true; - ThumbnailsListLabel.Location = new System.Drawing.Point(0, 0); - ThumbnailsListLabel.Name = "ThumbnailsListLabel"; - ThumbnailsListLabel.Size = new System.Drawing.Size(162, 13); - ThumbnailsListLabel.TabIndex = 29; - ThumbnailsListLabel.Text = "Thumbnails (check to force hide)"; - // - // 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); - // - // OverlayOptionsPanel - // - OverlayOptionsPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - OverlayOptionsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - OverlayOptionsPanel.Controls.Add(this.HighlightColorLabel); - OverlayOptionsPanel.Controls.Add(this.ActiveClientHighlightColorButton); - OverlayOptionsPanel.Controls.Add(this.EnableActiveClientHighlightCheckBox); - OverlayOptionsPanel.Controls.Add(this.ShowThumbnailOverlaysCheckBox); - OverlayOptionsPanel.Controls.Add(this.ShowThumbnailFramesCheckBox); - OverlayOptionsPanel.Location = new System.Drawing.Point(3, 295); - OverlayOptionsPanel.Name = "OverlayOptionsPanel"; - OverlayOptionsPanel.Size = new System.Drawing.Size(264, 49); - OverlayOptionsPanel.TabIndex = 3; + OverlaySettingsPanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + 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; // // HighlightColorLabel // this.HighlightColorLabel.AutoSize = true; - this.HighlightColorLabel.Location = new System.Drawing.Point(150, 28); + 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 = 19; + this.HighlightColorLabel.TabIndex = 29; this.HighlightColorLabel.Text = "Color"; // // ActiveClientHighlightColorButton // this.ActiveClientHighlightColorButton.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ActiveClientHighlightColorButton.Location = new System.Drawing.Point(199, 27); + this.ActiveClientHighlightColorButton.Location = new System.Drawing.Point(42, 77); this.ActiveClientHighlightColorButton.Name = "ActiveClientHighlightColorButton"; - this.ActiveClientHighlightColorButton.Size = new System.Drawing.Size(60, 17); - this.ActiveClientHighlightColorButton.TabIndex = 3; + this.ActiveClientHighlightColorButton.Size = new System.Drawing.Size(93, 17); + this.ActiveClientHighlightColorButton.TabIndex = 28; this.ActiveClientHighlightColorButton.Click += new System.EventHandler(this.ActiveClientHighlightColorButton_Click); // // EnableActiveClientHighlightCheckBox @@ -594,25 +646,25 @@ namespace EveOPreview.UI this.EnableActiveClientHighlightCheckBox.AutoSize = true; this.EnableActiveClientHighlightCheckBox.Checked = true; this.EnableActiveClientHighlightCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.EnableActiveClientHighlightCheckBox.Location = new System.Drawing.Point(3, 27); + 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 = 2; + this.EnableActiveClientHighlightCheckBox.TabIndex = 27; this.EnableActiveClientHighlightCheckBox.Text = "Highlight active client"; this.EnableActiveClientHighlightCheckBox.UseVisualStyleBackColor = true; - this.EnableActiveClientHighlightCheckBox.CheckStateChanged += new System.EventHandler(this.OptionChanged_Handler); + 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(3, 4); + 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 = 0; + this.ShowThumbnailOverlaysCheckBox.TabIndex = 25; this.ShowThumbnailOverlaysCheckBox.Text = "Show overlay"; this.ShowThumbnailOverlaysCheckBox.UseVisualStyleBackColor = true; this.ShowThumbnailOverlaysCheckBox.CheckedChanged += new System.EventHandler(this.OptionChanged_Handler); @@ -622,23 +674,116 @@ namespace EveOPreview.UI this.ShowThumbnailFramesCheckBox.AutoSize = true; this.ShowThumbnailFramesCheckBox.Checked = true; this.ShowThumbnailFramesCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; - this.ShowThumbnailFramesCheckBox.Location = new System.Drawing.Point(153, 4); + 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 = 1; + 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.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.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + AboutPanel.Controls.Add(this.label1); + AboutPanel.Controls.Add(DescriptionLabel); + AboutPanel.Controls.Add(VersionLabel); + AboutPanel.Controls.Add(NameLabel); + AboutPanel.Controls.Add(this.ForumLinkLabel); + 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; + // + // DescriptionLabel + // + DescriptionLabel.Location = new System.Drawing.Point(0, 41); + DescriptionLabel.Name = "DescriptionLabel"; + DescriptionLabel.Size = new System.Drawing.Size(261, 108); + DescriptionLabel.TabIndex = 5; + DescriptionLabel.Text = resources.GetString("DescriptionLabel.Text"); + // + // VersionLabel + // + VersionLabel.AutoSize = true; + VersionLabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); + VersionLabel.Location = new System.Drawing.Point(140, 9); + VersionLabel.Name = "VersionLabel"; + VersionLabel.Size = new System.Drawing.Size(112, 20); + VersionLabel.TabIndex = 4; + VersionLabel.Text = "v ##.###.###"; + // + // 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"; + // // ForumLinkLabel // - this.ForumLinkLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.ForumLinkLabel.Location = new System.Drawing.Point(4, 478); + this.ForumLinkLabel.Location = new System.Drawing.Point(0, 173); this.ForumLinkLabel.Name = "ForumLinkLabel"; - this.ForumLinkLabel.Size = new System.Drawing.Size(264, 33); - this.ForumLinkLabel.TabIndex = 0; + this.ForumLinkLabel.Size = new System.Drawing.Size(262, 33); + this.ForumLinkLabel.TabIndex = 2; this.ForumLinkLabel.TabStop = true; this.ForumLinkLabel.Text = "to be set from prresenter to be set from prresenter to be set from prresenter to " + "be set from prresenter"; @@ -662,18 +807,22 @@ namespace EveOPreview.UI this.TrayMenu.Name = "contextMenuStrip1"; this.TrayMenu.Size = new System.Drawing.Size(152, 76); // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(0, 157); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(206, 13); + this.label1.TabIndex = 6; + this.label1.Text = "For more information visit our forum thread:"; + // // 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(270, 511); - this.Controls.Add(OverlayOptionsPanel); - this.Controls.Add(MainOptionsPanel); - this.Controls.Add(ThumbnailSizePanel); - this.Controls.Add(ZoomOptionsPanel); - this.Controls.Add(ThumbnailListPanel); - this.Controls.Add(this.ForumLinkLabel); + 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); @@ -684,57 +833,68 @@ namespace EveOPreview.UI 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); - MainOptionsPanel.ResumeLayout(false); - MainOptionsPanel.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.ThumbnailOpacityTrackBar)).EndInit(); - ThumbnailSizePanel.ResumeLayout(false); - ThumbnailSizePanel.PerformLayout(); + ContentTabControl.ResumeLayout(false); + GeneralTabPage.ResumeLayout(false); + GeneralSettingsPanel.ResumeLayout(false); + GeneralSettingsPanel.PerformLayout(); + ThumbnailTabPage.ResumeLayout(false); + ThumbnailSettingsPanel.ResumeLayout(false); + ThumbnailSettingsPanel.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsWidthNumericEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ThumbnailsHeightNumericEdit)).EndInit(); - ZoomOptionsPanel.ResumeLayout(false); - ZoomOptionsPanel.PerformLayout(); + ((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(); - ThumbnailListPanel.ResumeLayout(false); - ThumbnailListPanel.PerformLayout(); - OverlayOptionsPanel.ResumeLayout(false); - OverlayOptionsPanel.PerformLayout(); + OverlayTabPage.ResumeLayout(false); + OverlaySettingsPanel.ResumeLayout(false); + OverlaySettingsPanel.PerformLayout(); + ClientsTabPage.ResumeLayout(false); + ClientsPanel.ResumeLayout(false); + ClientsPanel.PerformLayout(); + AboutTabPage.ResumeLayout(false); + AboutPanel.ResumeLayout(false); + AboutPanel.PerformLayout(); this.TrayMenu.ResumeLayout(false); this.ResumeLayout(false); } #endregion - private LinkLabel ForumLinkLabel; - private NumericUpDown ThumbnailsWidthNumericEdit; - private NumericUpDown ThumbnailsHeightNumericEdit; - private CheckBox EnableThumbnailZoomCheckBox; - private RadioButton ZoomAanchorNWRadioButton; - private RadioButton ZoomAanchorNRadioButton; - private RadioButton ZoomAanchorNERadioButton; - private RadioButton ZoomAanchorWRadioButton; - private RadioButton ZoomAanchorCRadioButton; - private RadioButton ZoomAanchorERadioButton; - private RadioButton ZoomAanchorSWRadioButton; - private RadioButton ZoomAanchorSRadioButton; - private RadioButton ZoomAanchorSERadioButton; - private NumericUpDown ThumbnailZoomFactorNumericEdit; - private Panel ZoomAnchorPanel; - private CheckedListBox ThumbnailsList; private NotifyIcon NotifyIcon; private ContextMenuStrip TrayMenu; + private TabPage ZoomTabPage; private CheckBox EnableClientLayoutTrackingCheckBox; private CheckBox HideActiveClientThumbnailCheckBox; private CheckBox ShowThumbnailsAlwaysOnTopCheckBox; private CheckBox HideThumbnailsOnLostFocusCheckBox; private CheckBox EnablePerClientThumbnailsLayoutsCheckBox; - private CheckBox ShowThumbnailOverlaysCheckBox; - private CheckBox ShowThumbnailFramesCheckBox; private CheckBox MinimizeToTrayCheckBox; + private NumericUpDown ThumbnailsWidthNumericEdit; + private NumericUpDown ThumbnailsHeightNumericEdit; private TrackBar ThumbnailOpacityTrackBar; - private CheckBox EnableActiveClientHighlightCheckBox; + private Panel ZoomAnchorPanel; + private RadioButton ZoomAanchorNWRadioButton; + private RadioButton ZoomAanchorNRadioButton; + private RadioButton ZoomAanchorNERadioButton; + private RadioButton ZoomAanchorWRadioButton; + private RadioButton ZoomAanchorSERadioButton; + private RadioButton ZoomAanchorCRadioButton; + private RadioButton ZoomAanchorSRadioButton; + private RadioButton ZoomAanchorERadioButton; + private RadioButton ZoomAanchorSWRadioButton; + private CheckBox EnableThumbnailZoomCheckBox; + private NumericUpDown ThumbnailZoomFactorNumericEdit; private Label HighlightColorLabel; private Panel ActiveClientHighlightColorButton; + private CheckBox EnableActiveClientHighlightCheckBox; + private CheckBox ShowThumbnailOverlaysCheckBox; + private CheckBox ShowThumbnailFramesCheckBox; + private CheckedListBox ThumbnailsList; + private LinkLabel ForumLinkLabel; + private Label label1; } } \ No newline at end of file diff --git a/Eve-O-Preview/UI/Implementation/MainForm.cs b/Eve-O-Preview/UI/Implementation/MainForm.cs index da802cd..51bae9a 100644 --- a/Eve-O-Preview/UI/Implementation/MainForm.cs +++ b/Eve-O-Preview/UI/Implementation/MainForm.cs @@ -339,6 +339,31 @@ namespace EveOPreview.UI public Action ForumUrlLinkActivated { get; set; } #region UI events + private void ContentTabControl_DrawItem(object sender, DrawItemEventArgs e) + { + TabControl control = (TabControl)sender; + TabPage page = control.TabPages[e.Index]; + Rectangle bounds = control.GetTabRect(e.Index); + + Graphics graphics = e.Graphics; + + Brush textBrush = new SolidBrush(SystemColors.ActiveCaptionText); + Brush backgroundBrush = (e.State == DrawItemState.Selected) + ? new SolidBrush(SystemColors.Control) + : new SolidBrush(SystemColors.ControlDark); + graphics.FillRectangle(backgroundBrush, e.Bounds); + + // Use our own font + Font font = new Font("Arial", this.Font.Size * 1.2f, FontStyle.Bold, GraphicsUnit.Pixel); + + // Draw string and center the text + StringFormat stringFlags = new StringFormat(); + stringFlags.Alignment = StringAlignment.Center; + stringFlags.LineAlignment = StringAlignment.Center; + + graphics.DrawString(page.Text, font, textBrush, bounds, stringFlags); + } + private void OptionChanged_Handler(object sender, EventArgs e) { if (this._suppressEvents) diff --git a/Eve-O-Preview/UI/Implementation/MainForm.resx b/Eve-O-Preview/UI/Implementation/MainForm.resx index f470749..66b5c55 100644 --- a/Eve-O-Preview/UI/Implementation/MainForm.resx +++ b/Eve-O-Preview/UI/Implementation/MainForm.resx @@ -117,28 +117,34 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - False - - - True - False False - + False - + + False + + + False + + True - + + False + + True - + + False + + True @@ -156,10 +162,19 @@ True - + + True + + False - + + True + + + False + + True @@ -180,10 +195,22 @@ True - + + True + + False - + + True + + + True + + + False + + True @@ -234,31 +261,16 @@ True - + False - + True - - True - - + False - - True - - - False - - - False - - - False - - + True @@ -276,6 +288,69 @@ True + + False + + + True + + + False + + + True + + + True + + + False + + + True + + + False + + + True + + + False + + + True + + + True + + + False + + + True + + + An advanced task switcher for EVE Online clients. + +The program does NOT +- modify EVE Online interface +- display modified EVE Online interface +- broadcast any keyboard or mouse events +- anyhow interact with EVE Online except of bringing its main window to foreground or resizing it + + + False + + + True + + + False + + + True + True