public DFrame(int xpos, int ypos) : base(xpos, ypos, 120, 60) { numOfThisType++; if (!this.SetVarName(type + numOfThisType.ToString())) { while (!this.SetVarName(type + numOfThisType.ToString() + Derma.RandomString(4, false))) { continue; } } }
public DTextEntry(int x, int y) : base(x, y, 50, 20) { numOfThisType++; if (!this.SetVarName(type + numOfThisType.ToString())) { while (!this.SetVarName(type + numOfThisType.ToString() + Derma.RandomString(4, false))) { continue; } } }
public SpawnIcon(int x, int y) : base(x, y, 61, 61) { numOfThisType++; if (!this.SetVarName(type + numOfThisType.ToString())) { while (!this.SetVarName(type + numOfThisType.ToString() + Derma.RandomString(4, false))) { continue; } } }
public DNumSlider(int x, int y) : base(x, y, 154, 40) { numOfThisType++; this.text = "DNumSlider"; if (!this.SetVarName(type + numOfThisType.ToString())) { while (!this.SetVarName(type + numOfThisType.ToString() + Derma.RandomString(4, false))) { continue; } } }
public DLabel(int xpos, int ypos) : base(xpos, ypos, 60, 20) { numOfThisType++; if (!this.SetVarName(type + numOfThisType.ToString())) { while (!this.SetVarName(type + numOfThisType.ToString() + Derma.RandomString(4, false))) { continue; } } this.width = (int)labelSize.Width; this.height = (int)labelSize.Height; }