aboutsummaryrefslogtreecommitdiffstatsci
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Interface.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/Interface.cs b/src/Interface.cs
index 4cb94e76..e1062a55 100644
--- a/src/Interface.cs
+++ b/src/Interface.cs
@@ -227,7 +227,15 @@ namespace Crow
return tmp;
}
}
-
+ public GraphicObject LoadInterface (Stream stream)
+ {
+ lock (UpdateMutex) {
+ GraphicObject tmp = Interface.Load (stream,
+ Interface.GetTopContainerOfGOMLStream(stream), this);
+ AddWidget (tmp);
+ return tmp;
+ }
+ }
#endregion
#if MEASURE_TIME