diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs b/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs index 98ea39bb..71533fbd 100644 --- a/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs +++ b/CSharp/Libraries/UniversalEditor.UserInterface/Engine.cs @@ -129,8 +129,16 @@ namespace UniversalEditor.UserInterface ExitApplication(); }); #endregion - #region Tools - // ToolsOptions should actually be under the Edit menu as "Preferences" on Linux systems + #region View + AttachCommandEventHandler("ViewFullScreen", delegate(object sender, EventArgs e) + { + Command cmd = (sender as Command); + HostApplication.CurrentWindow.FullScreen = !HostApplication.CurrentWindow.FullScreen; + cmd.Checked = HostApplication.CurrentWindow.FullScreen; + }); + #endregion + #region Tools + // ToolsOptions should actually be under the Edit menu as "Preferences" on Linux systems AttachCommandEventHandler("ToolsOptions", delegate(object sender, EventArgs e) { LastWindow.ShowOptionsDialog();