Skip to content

Commit

Permalink
1.5.3
Browse files Browse the repository at this point in the history
- 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)
  • Loading branch information
jtorjo committed Nov 11, 2015
1 parent 6741d70 commit 3840204
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 17 deletions.
12 changes: 3 additions & 9 deletions docs/history.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
24 changes: 16 additions & 8 deletions ui/log_wizard.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions ui/log_wizard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

}
}
3 changes: 3 additions & 0 deletions ui/log_wizard.resx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@
<metadata name="whatupMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1046, 17</value>
</metadata>
<metadata name="refreshAddViewButtons.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>1170, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
Expand Down

0 comments on commit 3840204

Please sign in to comment.