aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn/Desktop.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-02-04 13:21:38 -0500
committerMichael <[email protected]>2017-02-04 13:21:43 -0500
commit50971ea04e7ad7a7ae9dcbbe911b7b8bcf5dd7d3 (patch)
treea3824b76d963a0371074af7f1aa90f99df1d37d7 /ShiftOS_TheReturn/Desktop.cs
parente92d575e6208850dd912c058cafd3f63a63819ff (diff)
downloadshiftos_thereturn-50971ea04e7ad7a7ae9dcbbe911b7b8bcf5dd7d3.tar.gz
shiftos_thereturn-50971ea04e7ad7a7ae9dcbbe911b7b8bcf5dd7d3.tar.bz2
shiftos_thereturn-50971ea04e7ad7a7ae9dcbbe911b7b8bcf5dd7d3.zip
Implement maximizing and minimizing
Fixes #24 and makes panel buttons useful.
Diffstat (limited to 'ShiftOS_TheReturn/Desktop.cs')
-rw-r--r--ShiftOS_TheReturn/Desktop.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/Desktop.cs b/ShiftOS_TheReturn/Desktop.cs
index 3f9a88c..712f05d 100644
--- a/ShiftOS_TheReturn/Desktop.cs
+++ b/ShiftOS_TheReturn/Desktop.cs
@@ -99,6 +99,22 @@ namespace ShiftOS.Engine
_desktop = desk;
}
+ public static void MinimizeWindow(IWindowBorder brdr)
+ {
+ _desktop.MinimizeWindow(brdr);
+ }
+
+ public static void MaximizeWindow(IWindowBorder brdr)
+ {
+ _desktop.MaximizeWindow(brdr);
+ }
+
+ public static void RestoreWindow(IWindowBorder brdr)
+ {
+ _desktop.RestoreWindow(brdr);
+ }
+
+
public static void InvokeOnWorkerThread(Action act)
{
_desktop.InvokeOnWorkerThread(act);