public AsvarduilButton(Vector2 pos,
		                   Vector2 targetPos,
		                   Vector2 dimensions,
		                   Color tint,
		                   Color targetTint,
		                   float tweenRate,
	                       string buttonText,
	                       AsvarduilTooltip tooltip) 
		: base(pos, targetPos, tint, targetTint, tweenRate)
	{
		Dimensions = dimensions;
		ButtonText = buttonText;
		
		Tooltip = tooltip;
	}
Esempio n. 2
0
    public AsvarduilButton(Vector2 pos,
                           Vector2 targetPos,
                           Vector2 dimensions,
                           Color tint,
                           Color targetTint,
                           float tweenRate,
                           string buttonText,
                           AsvarduilTooltip tooltip)
        : base(pos, targetPos, tint, targetTint, tweenRate)
    {
        Dimensions = dimensions;
        ButtonText = buttonText;

        Tooltip = tooltip;
    }
	public AsvarduilImageButton(Vector2 pos,
		                        Vector2 targetPos,
		                        Vector2 dimensions,
		                        Color tint,
		                        Color targetTint,
		                        float tweenRate,
		                        Texture2D image,
	                            AsvarduilTooltip tooltip,
		                        bool isRelative = false) 
		: base(pos, targetPos, tint, targetTint, tweenRate, isRelative)
	{
		Image = image;
		Dimensions = dimensions;
		
		Tooltip = tooltip;
	}
Esempio n. 4
0
    public AsvarduilImageButton(Vector2 pos,
                                Vector2 targetPos,
                                Vector2 dimensions,
                                Color tint,
                                Color targetTint,
                                float tweenRate,
                                Texture2D image,
                                AsvarduilTooltip tooltip,
                                bool isRelative = false)
        : base(pos, targetPos, tint, targetTint, tweenRate, isRelative)
    {
        Image      = image;
        Dimensions = dimensions;

        Tooltip = tooltip;
    }
	public AsvarduilCheckbox(Vector2 pos,
		                     Vector2 targetPos,
		                     Color tint,
		                     Color targetTint,
		                     float tweenRate,
		                     string checkboxText,
		                     bool value,
		                     Vector2 dimensions,
		                     AsvarduilTooltip tooltip,
		                     bool isRelative = false) 
		: base(pos, targetPos, tint, targetTint, tweenRate, isRelative)
	{
		Text = checkboxText;
		Value = value;
		Dimensions = dimensions;
		Tooltip = tooltip;
	}
Esempio n. 6
0
 public AsvarduilCheckbox(Vector2 pos,
                          Vector2 targetPos,
                          Color tint,
                          Color targetTint,
                          float tweenRate,
                          string checkboxText,
                          bool value,
                          Vector2 dimensions,
                          AsvarduilTooltip tooltip,
                          bool isRelative = false)
     : base(pos, targetPos, tint, targetTint, tweenRate, isRelative)
 {
     Text       = checkboxText;
     Value      = value;
     Dimensions = dimensions;
     Tooltip    = tooltip;
 }