RadioButton AddEncodingButton(VBox vbox, RadioButton previous, int type, string description) { var button = new GimpRadioButton<int>(previous, description, type, GetVariable<int>("encoding")); vbox.Add(button); return button; }
RadioButton AddBasedOnButton(VBox vbox, RadioButton previous, int type, string description) { var button = new GimpRadioButton<int>(previous, description, type, GetVariable<int>("based_on")); vbox.Add(button); return button; }
RadioButton AddEncodingButton(VBox vbox, RadioButton previous, int type, string description) { var button = new GimpRadioButton <int>(previous, description, type, GetVariable <int>("encoding")); vbox.Add(button); return(button); }
RadioButton AddTypeButton(VBox vbox, RadioButton previous, ForgeType type, string description) { var button = new GimpRadioButton <int>(previous, description, (int)type, _type); vbox.Add(button); return(button); }
RadioButton AddBasedOnButton(VBox vbox, RadioButton previous, int type, string description) { var button = new GimpRadioButton <int>(previous, description, type, GetVariable <int>("based_on")); vbox.Add(button); return(button); }
RadioButton AddErrorCorrectionButton(VBox vbox, RadioButton previous, string type, string description) { var variable = GetVariable<string>("error_correction"); var button = new GimpRadioButton<string>(previous, type + " " + _(description), type, variable); vbox.Add(button); return button; }
RadioButton AddErrorCorrectionButton(VBox vbox, RadioButton previous, string type, string description) { var variable = GetVariable <string>("error_correction"); var button = new GimpRadioButton <string>(previous, type + " " + _(description), type, variable); vbox.Add(button); return(button); }
RadioButton AddTypeButton(VBox vbox, RadioButton previous, ForgeType type, string description) { var button = new GimpRadioButton<int>(previous, description, (int) type, _type); vbox.Add(button); return button; }