public SpriteView(IEditorHost host) { this.host = host; int MAX_PAD_AMOUNT = 17; extraPadAmountValues = new int[MAX_PAD_AMOUNT]; extraPadAmountLabels = new string[MAX_PAD_AMOUNT]; for (int i = 0; i < MAX_PAD_AMOUNT; ++i) { extraPadAmountValues[i] = i; extraPadAmountLabels[i] = (i==0)?"None":(i.ToString()); } textureEditor = new TextureEditor(host); }
public SpriteView(IEditorHost host) { this.host = host; int MAX_PAD_AMOUNT = 17; extraPadAmountValues = new int[MAX_PAD_AMOUNT]; extraPadAmountLabels = new string[MAX_PAD_AMOUNT]; for (int i = 0; i < MAX_PAD_AMOUNT; ++i) { extraPadAmountValues[i] = i; extraPadAmountLabels[i] = (i == 0)?"None":(i.ToString()); } textureEditor = new TextureEditor(host); }