Example #1
0
        public static View Create(Rect rect, string name, int unk1, int unk2)
        {
            IntPtr pView = View_c.Create(rect, name, unk1, unk2);

            if (pView == IntPtr.Zero)
            {
                return(null);
            }

            return(new View(pView));
        }
Example #2
0
 public void Show(bool visible, bool unk)
 {
     View_c.Show(_pointer, visible, unk);
 }
Example #3
0
 public void SetLayoutNode(LayoutNode layoutNode)
 {
     View_c.SetLayoutNode(_pointer, layoutNode.Pointer);
 }
Example #4
0
 public unsafe void LimitMaxSize(Vector2 maxSize)
 {
     View_c.LimitMaxSize(_pointer, &maxSize);
 }
Example #5
0
 public unsafe void SetFrame(Rect rect, bool unk)
 {
     View_c.SetFrame(_pointer, &rect, unk);
 }
Example #6
0
 public void SetBorders(float x1, float y1, float x2, float y2)
 {
     View_c.SetBorders(_pointer, x1, y1, x2, y2);
 }
Example #7
0
 public void AddChild(View view, bool unk)
 {
     View_c.AddChild(_pointer, view.Pointer, unk);
 }
Example #8
0
 public virtual void Dispose()
 {
     View_c.Deconstructor(_pointer);
 }
Example #9
0
 public override void Dispose()
 {
     View_c.Deconstructor(_pointer);
 }