diff --git a/docs/history.txt b/docs/history.txt
index 47b55c6..87fbd68 100644
--- a/docs/history.txt
+++ b/docs/history.txt
@@ -1,15 +1,9 @@
-- low pane + status:
- - they should combine into one - i should use a better status control, maybe richedit (readonly)?
- - first: by default, Status is shown , and at the end, there will be a button called "What's Up?'" (or some other name) ----------> animated_button
- - from the button, access all the existing commands (Toggles,Refresh, Hotkeys Help etc.)
- - from the button - have something called - show history (which shows the combo)
- - the history combo is hidden by default (it will cover the status only when the user wants to have it shown)
- - should have "Open" menu (with submenus) -> which for now just opens a file (later: Event viewer, etc)
- --> update original article (comment -> with things i solved )
+
+1.5.3
- add/del view , sync view buttons -> hide them by default - they should be visible only if the mouse is around them (on the y axis)
- - care about whether showing header or not?
+
1.5.2g
- moved every former command from lower pane into the "What's up" button
diff --git a/ui/log_wizard.Designer.cs b/ui/log_wizard.Designer.cs
index 2ba84d8..e930a9d 100644
--- a/ui/log_wizard.Designer.cs
+++ b/ui/log_wizard.Designer.cs
@@ -109,6 +109,7 @@ private void InitializeComponent()
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripSeparator();
this.aboutToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.whatupMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.refreshAddViewButtons = new System.Windows.Forms.Timer(this.components);
this.newViewMenu.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.toggleTopmost)).BeginInit();
this.toggleMenu.SuspendLayout();
@@ -161,7 +162,7 @@ private void InitializeComponent()
this.newFilteredView.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.newFilteredView.ContextMenuStrip = this.newViewMenu;
this.newFilteredView.Font = new System.Drawing.Font("Segoe UI", 7F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.newFilteredView.Location = new System.Drawing.Point(341, 29);
+ this.newFilteredView.Location = new System.Drawing.Point(339, 29);
this.newFilteredView.Name = "newFilteredView";
this.newFilteredView.Size = new System.Drawing.Size(18, 20);
this.newFilteredView.TabIndex = 1;
@@ -242,7 +243,7 @@ private void InitializeComponent()
//
this.delFilteredView.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.delFilteredView.Font = new System.Drawing.Font("Segoe UI", 7F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.delFilteredView.Location = new System.Drawing.Point(359, 29);
+ this.delFilteredView.Location = new System.Drawing.Point(357, 29);
this.delFilteredView.Name = "delFilteredView";
this.delFilteredView.Size = new System.Drawing.Size(18, 20);
this.delFilteredView.TabIndex = 2;
@@ -302,7 +303,7 @@ private void InitializeComponent()
this.synchronizedWithFullLog.Checked = true;
this.synchronizedWithFullLog.CheckState = System.Windows.Forms.CheckState.Checked;
this.synchronizedWithFullLog.Font = new System.Drawing.Font("Segoe UI", 7F);
- this.synchronizedWithFullLog.Location = new System.Drawing.Point(428, 29);
+ this.synchronizedWithFullLog.Location = new System.Drawing.Point(426, 29);
this.synchronizedWithFullLog.Name = "synchronizedWithFullLog";
this.synchronizedWithFullLog.Size = new System.Drawing.Size(46, 20);
this.synchronizedWithFullLog.TabIndex = 1;
@@ -318,7 +319,7 @@ private void InitializeComponent()
this.synchronizeWithExistingLogs.Checked = true;
this.synchronizeWithExistingLogs.CheckState = System.Windows.Forms.CheckState.Checked;
this.synchronizeWithExistingLogs.Font = new System.Drawing.Font("Segoe UI", 7F);
- this.synchronizeWithExistingLogs.Location = new System.Drawing.Point(382, 29);
+ this.synchronizeWithExistingLogs.Location = new System.Drawing.Point(380, 29);
this.synchronizeWithExistingLogs.Name = "synchronizeWithExistingLogs";
this.synchronizeWithExistingLogs.Size = new System.Drawing.Size(46, 20);
this.synchronizeWithExistingLogs.TabIndex = 3;
@@ -714,7 +715,7 @@ private void InitializeComponent()
this.filteredLeft.Panel1.Controls.Add(this.newFilteredView);
this.filteredLeft.Panel1.Controls.Add(this.viewsTab);
this.filteredLeft.Size = new System.Drawing.Size(979, 471);
- this.filteredLeft.SplitterDistance = 512;
+ this.filteredLeft.SplitterDistance = 510;
this.filteredLeft.SplitterWidth = 6;
this.filteredLeft.TabIndex = 0;
this.filteredLeft.SplitterMoved += new System.Windows.Forms.SplitterEventHandler(this.filteredLeft_SplitterMoved);
@@ -730,7 +731,7 @@ private void InitializeComponent()
this.viewsTab.Location = new System.Drawing.Point(0, 3);
this.viewsTab.Name = "viewsTab";
this.viewsTab.SelectedIndex = 0;
- this.viewsTab.Size = new System.Drawing.Size(507, 469);
+ this.viewsTab.Size = new System.Drawing.Size(505, 469);
this.viewsTab.TabIndex = 0;
this.viewsTab.SelectedIndexChanged += new System.EventHandler(this.viewsTab_SelectedIndexChanged);
this.viewsTab.DragDrop += new System.Windows.Forms.DragEventHandler(this.filteredViews_DragDrop);
@@ -742,7 +743,7 @@ private void InitializeComponent()
this.tabPage1.Location = new System.Drawing.Point(4, 24);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage1.Size = new System.Drawing.Size(499, 441);
+ this.tabPage1.Size = new System.Drawing.Size(497, 441);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "View";
this.tabPage1.UseVisualStyleBackColor = true;
@@ -757,7 +758,7 @@ private void InitializeComponent()
this.dropHere.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
this.dropHere.Location = new System.Drawing.Point(3, 3);
this.dropHere.Name = "dropHere";
- this.dropHere.Size = new System.Drawing.Size(488, 441);
+ this.dropHere.Size = new System.Drawing.Size(486, 441);
this.dropHere.TabIndex = 0;
this.dropHere.Text = "Drop it Like it\'s Hot!\r\nJust drop a file here, and get to work!\r\n";
this.dropHere.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -950,6 +951,12 @@ private void InitializeComponent()
this.whatupMenu.Name = "whatupMenu";
this.whatupMenu.Size = new System.Drawing.Size(167, 242);
//
+ // refreshAddViewButtons
+ //
+ this.refreshAddViewButtons.Enabled = true;
+ this.refreshAddViewButtons.Interval = 250;
+ this.refreshAddViewButtons.Tick += new System.EventHandler(this.refreshAddViewButtons_Tick);
+ //
// log_wizard
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -1080,6 +1087,7 @@ private void InitializeComponent()
private System.Windows.Forms.ToolStripSeparator aboutToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem1;
private System.Windows.Forms.ContextMenuStrip whatupMenu;
+ private System.Windows.Forms.Timer refreshAddViewButtons;
}
}
diff --git a/ui/log_wizard.cs b/ui/log_wizard.cs
index f79ff37..605dfe6 100644
--- a/ui/log_wizard.cs
+++ b/ui/log_wizard.cs
@@ -3721,5 +3721,17 @@ private void newView_Click(object sender, EventArgs e)
new about_form(this,new_releases_, cur_release_).Show();
}
+ private void refreshAddViewButtons_Tick(object sender, EventArgs e) {
+ var button_rect= newFilteredView.RectangleToScreen(newFilteredView.ClientRectangle);
+ var mouse = Cursor.Position;
+ const int PAD = 20;
+ bool visible = button_rect.Top - PAD <= mouse.Y && button_rect.Bottom >= mouse.Y;
+
+ newFilteredView.Visible = visible;
+ delFilteredView.Visible = visible;
+ synchronizeWithExistingLogs.Visible = visible;
+ synchronizedWithFullLog.Visible = visible;
+ }
+
}
}
diff --git a/ui/log_wizard.resx b/ui/log_wizard.resx
index 4b0fb69..e547a80 100644
--- a/ui/log_wizard.resx
+++ b/ui/log_wizard.resx
@@ -138,6 +138,9 @@
1046, 17
+
+ 1170, 17
+