Skip to content

Commit 3840204

Browse files
committed
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)
1 parent 6741d70 commit 3840204

File tree

4 files changed

+34
-17
lines changed

4 files changed

+34
-17
lines changed

docs/history.txt

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11

2-
- low pane + status:
3-
- they should combine into one - i should use a better status control, maybe richedit (readonly)?
4-
- 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
5-
- from the button, access all the existing commands (Toggles,Refresh, Hotkeys Help etc.)
6-
- from the button - have something called - show history (which shows the combo)
7-
- the history combo is hidden by default (it will cover the status only when the user wants to have it shown)
8-
- should have "Open" menu (with submenus) -> which for now just opens a file (later: Event viewer, etc)
9-
--> update original article (comment -> with things i solved )
102

3+
4+
1.5.3
115
- 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)
12-
- care about whether showing header or not?
6+
137

148
1.5.2g
159
- moved every former command from lower pane into the "What's up" button

ui/log_wizard.Designer.cs

Lines changed: 16 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/log_wizard.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3721,5 +3721,17 @@ private void aboutToolStripMenuItem1_Click(object sender, EventArgs e) {
37213721
new about_form(this,new_releases_, cur_release_).Show();
37223722
}
37233723

3724+
private void refreshAddViewButtons_Tick(object sender, EventArgs e) {
3725+
var button_rect= newFilteredView.RectangleToScreen(newFilteredView.ClientRectangle);
3726+
var mouse = Cursor.Position;
3727+
const int PAD = 20;
3728+
bool visible = button_rect.Top - PAD <= mouse.Y && button_rect.Bottom >= mouse.Y;
3729+
3730+
newFilteredView.Visible = visible;
3731+
delFilteredView.Visible = visible;
3732+
synchronizeWithExistingLogs.Visible = visible;
3733+
synchronizedWithFullLog.Visible = visible;
3734+
}
3735+
37243736
}
37253737
}

ui/log_wizard.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@
138138
<metadata name="whatupMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
139139
<value>1046, 17</value>
140140
</metadata>
141+
<metadata name="refreshAddViewButtons.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
142+
<value>1170, 17</value>
143+
</metadata>
141144
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
142145
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
143146
<value>

0 commit comments

Comments
 (0)