public GUIPanel(Rectangle rec, UIDock uIDock, string Image, Color4 nColor, Color4 hColor, Color4 cColor, Color4 fColor) : base(rec, uIDock, nColor, hColor, cColor, fColor)
 {
     TextureName = Image;
     SetInteractColor(Color4.White);
     NoInteractable();
     HideFocus();
 }
 public GUIPanel(Rectangle rec, UIDock uIDock, string Image) : base(rec, uIDock)
 {
     TextureName = Image;
     SetInteractColor(Color4.White);
     NoInteractable();
     HideFocus();
 }
Exemple #3
0
        public GUIBase(Rectangle rec, UIDock uIDock, Color4 nColor, Color4 hColor, Color4 cColor, Color4 fColor)
        {
            GUI.AddGuiElement(this);

            _Rectangle = rec;
            _Dock      = uIDock;
            Enabled    = true;

            NormalColor     = nColor;
            HoverColor      = hColor;
            ClickColor      = cColor;
            FocusedColor    = fColor;
            NoInteractColor = Color4.Gray;

            SetFinalRectangle();

            SetGLBuffer();
        }
Exemple #4
0
        public GUIBase(Rectangle rec, UIDock uIDock)
        {
            GUI.AddGuiElement(this);

            _Rectangle = rec;
            _Dock      = uIDock;
            Enabled    = true;

            NormalColor     = Color4.White;
            HoverColor      = Color4.Gray;
            ClickColor      = Color4.Black;
            FocusedColor    = Color4.PapayaWhip;
            NoInteractColor = Color4.Gray;

            SetFinalRectangle();

            SetGLBuffer();
        }
Exemple #5
0
 public GUIButtom(string Text, Rectangle rec, UIDock uIDock) : base(rec, uIDock)
 {
     Start(Text);
 }
Exemple #6
0
 public virtual void Dock(UIDock uIDock)
 {
     _Dock = uIDock;
 }
 public GUITextInput(Rectangle rec, UIDock uIDock) : base(rec, uIDock)
 {
     Start();
 }