Esempio n. 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));
        }
Esempio n. 2
0
 public void Show(bool visible, bool unk)
 {
     View_c.Show(_pointer, visible, unk);
 }
Esempio n. 3
0
 public void SetLayoutNode(LayoutNode layoutNode)
 {
     View_c.SetLayoutNode(_pointer, layoutNode.Pointer);
 }
Esempio n. 4
0
 public unsafe void LimitMaxSize(Vector2 maxSize)
 {
     View_c.LimitMaxSize(_pointer, &maxSize);
 }
Esempio n. 5
0
 public unsafe void SetFrame(Rect rect, bool unk)
 {
     View_c.SetFrame(_pointer, &rect, unk);
 }
Esempio n. 6
0
 public void SetBorders(float x1, float y1, float x2, float y2)
 {
     View_c.SetBorders(_pointer, x1, y1, x2, y2);
 }
Esempio n. 7
0
 public void AddChild(View view, bool unk)
 {
     View_c.AddChild(_pointer, view.Pointer, unk);
 }
Esempio n. 8
0
 public virtual void Dispose()
 {
     View_c.Deconstructor(_pointer);
 }
Esempio n. 9
0
 public override void Dispose()
 {
     View_c.Deconstructor(_pointer);
 }