public UIButton(string label, Rectangle frame, UIButtonStyle styles, OnPressDelegate onPress) { this.label = label; this.frame = frame; this.styles = styles; this.onPress = onPress; }
public UIButton(string label, Rectangle frame, UIButtonStyle styles, OnPressDelegate onPress, List <OnPressDelegate> onPressActions = null) { this.label = label; this.frame = frame; this.styles = styles; this.onPress = onPress; this.onPressActions = onPressActions; }
public UIRadioButton(string label, T value, UIRadioButtonGroup <T> group, Rectangle frame, UIButtonStyle styles, UIButtonAppearance activeAppearance, OnRadioPressDelegate onRadioPress) : base(label, frame, styles, null) { this.group = group; this.value = value; this.activeAppearance = activeAppearance; this.onRadioPress = onRadioPress; }