using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Windows.Forms; using BizHawk.Client.Common; namespace BizHawk.Client.EmuHawk { // this is a little messy right now because of remnants of the old config system public partial class ControllerConfigPanel : UserControl { // the dictionary that results are saved to Dictionary RealConfigObject; // if nonnull, the list of keys to use. used to have the config panel operate on a smaller list than the whole dictionary; // for instance, to show only a single player List RealConfigButtons; public List buttons = new List(); public int InputMarginLeft = UIHelper.ScaleX(0); public int LabelPadding = UIHelper.ScaleX(5); public int MarginTop = UIHelper.ScaleY(0); public int Spacing = UIHelper.ScaleY(24); public int InputSize = UIHelper.ScaleX(170); public int ColumnWidth = UIHelper.ScaleX(280); public int LabelWidth = UIHelper.ScaleX(60); public ToolTip Tooltip; protected List Inputs = new List(); protected List