Exemple #1
0
        private float _value = 0.0f; // ranges from 0.0f to 1.0f

        #endregion Fields

        #region Constructors

        public XGVScrollbar(Rectangle rect, XGValueChangedEvent valueChangedHandler)
            : base(rect, false)
        {
            valueChangedEvent = valueChangedHandler;
            _scale = 1.0f;
            _value = 0.0f;
            BorderThickness = 1;
        }
Exemple #2
0
 public XGRadioGroup(Rectangle rect, string text, XGValueChangedEvent checkChangedEventHandler)
     : base(rect, true)
 {
     Text = text;
     valueChangedEvent = checkChangedEventHandler;
 }