Skip to content

Commit

Permalink
2.3.2
Browse files Browse the repository at this point in the history
Fixes:
All forms have been updated to use new icon #47

New:
Warning button appears if resolution is big enough
  • Loading branch information
thetarkus committed Aug 29, 2016
1 parent d270285 commit 70d554d
Show file tree
Hide file tree
Showing 8 changed files with 4,967 additions and 4,857 deletions.
20 changes: 19 additions & 1 deletion FormMain.Designer.cs

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

22 changes: 18 additions & 4 deletions FormMain.cs
Expand Up @@ -25,9 +25,7 @@ public partial class FormMain : Form

// Hotkeys
private Hotkeys toggleHotkey = new Hotkeys();

private Hotkeys pauseHotkey = new Hotkeys();

private Hotkeys followHotkey = new Hotkeys();

/// <summary>
Expand Down Expand Up @@ -108,8 +106,13 @@ private void FormMain_Move(object sender, EventArgs e)
private void FormMain_Resize(object sender, EventArgs e)
{
FormMain_Move(null, e);
Text = string.Format("WebMCam [{0}x{1}]",
displayBox.Size.Width, displayBox.Size.Height);
Text = string.Format("WebMCam [{0}x{1}]", displayBox.Size.Width, displayBox.Size.Height);

if (displayBox.Size.Width > 1280 || displayBox.Size.Height > 720)
buttonWarning.Visible = true;

else if (buttonWarning.Visible)
buttonWarning.Visible = false;
}

/// <summary>
Expand Down Expand Up @@ -406,6 +409,16 @@ private void timerAttach_Tick(object sender, EventArgs e)
location.Y - titleHeight);
}

/// <summary>
/// Warning Button
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void buttonWarning_Click(object sender, EventArgs e)
{
MessageBox.Show("Recording high resolutions may not work as expected.", "Good luck...", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}

/// <summary>
/// Show information about things and hidden features
/// </summary>
Expand All @@ -415,6 +428,7 @@ private void linkHelp_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e
{
var n = Environment.NewLine;
MessageBox.Show(
"Press Ctrl+F10 to initiate cursor following." + n +
"Press Ctrl+F12 to start or stop recording." + n +
"Press Ctrl+F11 to pause or unpause a recording." + n + n +
"Right click on the form to show the sizing interface.",
Expand Down
2 changes: 2 additions & 0 deletions FormOptions.Designer.cs

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

0 comments on commit 70d554d

Please sign in to comment.