FINALLY... implement option to toggle status bar visibility
This commit is contained in:
parent
6b836cde1f
commit
1e6c6f56ae
@ -482,6 +482,10 @@ namespace UniversalEditor.UserInterface
|
||||
{
|
||||
HostApplication.CurrentWindow.ShowStartPage();
|
||||
});
|
||||
Application.AttachCommandEventHandler("ViewStatusBar", delegate (object sender, EventArgs e)
|
||||
{
|
||||
HostApplication.CurrentWindow.StatusBar.Visible = !HostApplication.CurrentWindow.StatusBar.Visible;
|
||||
});
|
||||
|
||||
#endregion
|
||||
#region Tools
|
||||
|
||||
@ -74,6 +74,8 @@ namespace UniversalEditor.UserInterface
|
||||
/// <param name="visible">True if the window list should be shown; false if the window list should be hidden.</param>
|
||||
/// <param name="modal">True if the window list should be presented as a modal dialog; false if it should be presented as a popup (for example, during a window switch action).</param>
|
||||
void SetWindowListVisible(bool visible, bool modal);
|
||||
|
||||
StatusBar StatusBar { get; }
|
||||
}
|
||||
public class IHostApplicationWindowCollection
|
||||
: System.Collections.ObjectModel.Collection<IHostApplicationWindow>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user