示例#1
0
 public EleVertScrollRgn(EleBaseRect parent, ScrollInfo horiz, ScrollInfo vert, bool showBack, float sensitivity, string name = "")
     : base(parent, horiz, vert, showBack, sensitivity, name)
 {
     this._Create(parent, horiz, vert, showBack, new Vector2(-1.0f, -1.0f), sensitivity, name);
 }
示例#2
0
 public EleImg(EleBaseRect parent, Sprite sprite, Vector2 size, string name = "")
     : base(parent, size, name)
 {
     this._Create(parent, sprite, size, name);
 }
示例#3
0
 public EleImg(EleBaseRect parent, Sprite sprite)
     : base(parent)
 {
     this._Create(parent, sprite, new Vector2(-1.0f, -1.0f), "");
 }
示例#4
0
 public EleTex(EleBaseRect parent, Texture t, Vector2 size, string name = "")
     : base(parent, size, name)
 {
     this._Create(parent, t, size, name);
 }
示例#5
0
 public EleTex(EleBaseRect parent, Texture t)
     : base(parent)
 {
     this._Create(parent, t, new Vector2(-1.0f, -1.0f), "");
 }
示例#6
0
 public EleGenButton(EleBaseRect parent, Sprite plateSprite)
     : base(parent)
 {
     this._Create(parent, null, 0, Color.black, null, plateSprite, new Vector2(-1.0f, -1.0f), "");
 }
示例#7
0
 public EleGenButton(EleBaseRect parent, Sprite plateSprite, Vector2 size, string name = "")
     : base(parent, size, name)
 {
     this._Create(parent, null, 0, Color.black, null, plateSprite, size, name);
 }
示例#8
0
 public EleGenButton(EleBaseRect parent, Font font, int fontSize, Color fontColor, string text, Sprite plateSprite)
     : base(parent)
 {
     this._Create(parent, font, fontSize, fontColor, text, plateSprite, new Vector2(-1.0f, -1.0f), "");
 }
示例#9
0
 public EleGenButton(EleBaseRect parent, Font font, int fontSize, Color fontColor, string text, Sprite plateSprite, Vector2 size, string name = "")
     : base(parent, size, name)
 {
     this._Create(parent, font, fontSize, fontColor, text, plateSprite, size, name);
 }
示例#10
0
 public EleGridSizer(EleBaseRect parent, int col, string name)
     : base(parent, name)
 {
     this.columns = col;
 }