|
|
@@ -6,7 +6,7 @@ namespace BansheeEngine
|
|
|
public sealed class GUIArea : ScriptObject
|
|
|
{
|
|
|
private GUILayout _layout;
|
|
|
- private GUIBase parent;
|
|
|
+ private GUIPanel parent;
|
|
|
private bool isDestroyed;
|
|
|
|
|
|
public GUILayout layout
|
|
|
@@ -17,7 +17,7 @@ namespace BansheeEngine
|
|
|
internal GUIArea()
|
|
|
{ }
|
|
|
|
|
|
- internal void SetParent(GUIBase parent)
|
|
|
+ internal void SetParent(GUIPanel parent)
|
|
|
{
|
|
|
if (this.parent != null)
|
|
|
this.parent.childAreas.Remove(this);
|
|
|
@@ -27,7 +27,7 @@ namespace BansheeEngine
|
|
|
parent.childAreas.Add(this);
|
|
|
}
|
|
|
|
|
|
- internal static GUIArea Create(GUIBase parent, int x, int y, int width, int height, short depth)
|
|
|
+ internal static GUIArea Create(GUIPanel parent, int x, int y, int width, int height, short depth)
|
|
|
{
|
|
|
GUIArea newArea = new GUIArea();
|
|
|
Internal_CreateInstance(newArea, parent, x, y, width, height, depth);
|
|
|
@@ -36,7 +36,7 @@ namespace BansheeEngine
|
|
|
return newArea;
|
|
|
}
|
|
|
|
|
|
- internal static GUIArea CreateResizableX(GUIBase parent, int offsetLeft, int offsetRight, int offsetTop, int height, short depth)
|
|
|
+ internal static GUIArea CreateResizableX(GUIPanel parent, int offsetLeft, int offsetRight, int offsetTop, int height, short depth)
|
|
|
{
|
|
|
GUIArea newArea = new GUIArea();
|
|
|
Internal_CreateInstanceResizableX(newArea, parent, offsetLeft, offsetRight, offsetTop, height, depth);
|
|
|
@@ -45,7 +45,7 @@ namespace BansheeEngine
|
|
|
return newArea;
|
|
|
}
|
|
|
|
|
|
- internal static GUIArea CreateResizableY(GUIBase parent, int offsetTop, int offsetBottom, int offsetLeft, int width, short depth)
|
|
|
+ internal static GUIArea CreateResizableY(GUIPanel parent, int offsetTop, int offsetBottom, int offsetLeft, int width, short depth)
|
|
|
{
|
|
|
GUIArea newArea = new GUIArea();
|
|
|
Internal_CreateInstanceResizableY(newArea, parent, offsetTop, offsetBottom, offsetLeft, width, depth);
|
|
|
@@ -54,7 +54,7 @@ namespace BansheeEngine
|
|
|
return newArea;
|
|
|
}
|
|
|
|
|
|
- internal static GUIArea CreateResizableXY(GUIBase parent, int offsetLeft, int offsetRight, int offsetTop, int offsetBottom, short depth)
|
|
|
+ internal static GUIArea CreateResizableXY(GUIPanel parent, int offsetLeft, int offsetRight, int offsetTop, int offsetBottom, short depth)
|
|
|
{
|
|
|
GUIArea newArea = new GUIArea();
|
|
|
Internal_CreateInstanceResizableXY(newArea, parent, offsetLeft, offsetRight, offsetTop, offsetBottom, depth);
|
|
|
@@ -88,18 +88,18 @@ namespace BansheeEngine
|
|
|
}
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
- private static extern void Internal_CreateInstance(GUIArea instance, GUIBase parent, int x, int y, int width, int height, short depth);
|
|
|
+ private static extern void Internal_CreateInstance(GUIArea instance, GUIPanel parent, int x, int y, int width, int height, short depth);
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
- private static extern void Internal_CreateInstanceResizableX(GUIArea instance, GUIBase parent, int offsetLeft, int offsetRight, int offsetTop,
|
|
|
+ private static extern void Internal_CreateInstanceResizableX(GUIArea instance, GUIPanel parent, int offsetLeft, int offsetRight, int offsetTop,
|
|
|
int height, short depth);
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
- private static extern void Internal_CreateInstanceResizableY(GUIArea instance, GUIBase parent, int offsetTop, int offsetBottom, int offsetLeft,
|
|
|
+ private static extern void Internal_CreateInstanceResizableY(GUIArea instance, GUIPanel parent, int offsetTop, int offsetBottom, int offsetLeft,
|
|
|
int width, short depth);
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|
|
|
- private static extern void Internal_CreateInstanceResizableXY(GUIArea instance, GUIBase parent, int offsetLeft, int offsetRight, int offsetTop,
|
|
|
+ private static extern void Internal_CreateInstanceResizableXY(GUIArea instance, GUIPanel parent, int offsetLeft, int offsetRight, int offsetTop,
|
|
|
int offsetBottom, short depth);
|
|
|
|
|
|
[MethodImpl(MethodImplOptions.InternalCall)]
|