Esempio n. 1
0
 /// <summary>Construct an instance.</summary>
 public SliderButton(string name, string displayText, Rectangle bounds, Texture2DExtended buttonTexture, Button barTexture, Rectangle sourceRect, float scale, SliderInformation sliderInformation, Animations.Animation defaultAnimation, Color drawColor, Color textColor, ButtonFunctionality buttonFunctionality, bool animationEnabled, Dictionary <string, List <Animations.Animation> > animationsToPlay, string startingKey, int startingAnimationFrame, List <KeyValuePair <ClickableTextureComponent, ExtraTextureDrawOrder> > extraTexture, bool getLabelXYPos = true)
     : base(name, bounds, buttonTexture, displayText, sourceRect, scale, defaultAnimation, animationsToPlay, startingKey, drawColor, textColor, buttonFunctionality, startingAnimationFrame, animationEnabled, extraTexture)
 {
     this.sliderInformation = sliderInformation;
     this.getLabelXYPos     = getLabelXYPos;
     this.sliderBar         = barTexture;
     this.initializeBounds();
 }
Esempio n. 2
0
 /// <summary>Construct an instance.</summary>
 public SliderButton(Rectangle bounds, Texture2DExtended buttonTexture, Button barTexture, Rectangle sourceRect, float scale, SliderInformation sliderInformation, bool getLabelXYPos = true)
     : base(bounds, buttonTexture, sourceRect, scale)
 {
     this.sliderInformation = sliderInformation;
     this.getLabelXYPos     = getLabelXYPos;
     this.sliderBar         = barTexture;
     this.initializeBounds();
 }