aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Window.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-02-23 18:15:30 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-03-01 05:14:01 +0100
commita25ff30120987cf9d24e27ff5d062b451d508b6e (patch)
tree51d4be362562a08b8358dfe5f6f771d17fa9a678 /src/GraphicObjects/Window.cs
parent70bcdc77ff42c74fcd8e6e7dffd4eb6b16f24f39 (diff)
CrowInterface object holding common functions, IGOLibHost removed
Diffstat (limited to 'src/GraphicObjects/Window.cs')
-rw-r--r--src/GraphicObjects/Window.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GraphicObjects/Window.cs b/src/GraphicObjects/Window.cs
index 617670fc..429d4269 100644
--- a/src/GraphicObjects/Window.cs
+++ b/src/GraphicObjects/Window.cs
@@ -83,7 +83,7 @@ namespace Crow
{
base.onMouseMove (sender, e);
- IGOLibHost otkgw = HostContainer;
+ Interface otkgw = Interface.CurrentInterface;
if (e.Mouse.IsButtonDown (MouseButton.Left)) {
if (!HasFocus)
@@ -210,7 +210,7 @@ namespace Crow
{
base.onMouseLeave (sender, e);
currentDirection = Direction.None;
- HostContainer.MouseCursor = XCursor.Default;
+ Interface.CurrentInterface.MouseCursor = XCursor.Default;
}
protected override void loadTemplate(GraphicObject template = null)
@@ -224,7 +224,7 @@ namespace Crow
ILayoutable parent = (sender as GraphicObject).Parent;
while(!(parent is Window))
parent = parent.Parent;
- HostContainer.DeleteWidget (parent as GraphicObject);
+ Interface.CurrentInterface.DeleteWidget (parent as GraphicObject);
}
public override void ResolveBindings ()