void buildGumpling(int x, int y, int hue, string text) { Position = new Point(x, y); Hue = hue; Text = text; m_textRenderer = new UltimaGUI.TextRenderer(Text, 0, true); m_textRenderer.Hue = Hue; }
void buildGumpling(int x, int y, int width, int height, int hue, int textIndex, string[] lines) { Position = new Point(x, y); Size = new Point(width, height); Hue = hue; Text = lines[textIndex]; m_textRenderer = new UltimaGUI.TextRenderer(Text, width, true); }
void buildGumpling(int x, int y, int width, int height, int hue, int entryID, int limitSize, string text) { Position = new Point(x, y); Size = new Point(width, height); Hue = hue; EntryID = entryID; Text = text; LimitSize = limitSize; m_caratBlinkOn = false; m_textRenderer = new UltimaGUI.TextRenderer("", width, true); m_caratRenderer = new UltimaGUI.TextRenderer("", width, true); }
void buildGumpling(int x, int y, int gumpID1, int gumpID2, ButtonTypes buttonType, int param, int buttonID) { Position = new Point(x, y); GumpUpID = gumpID1; ButtonType = buttonType; ButtonParameter = param; ButtonID = buttonID; m_textRenderer = new UltimaGUI.TextRenderer("", 100, true); }
void buildGumpling(int x, int y, int width, int height, int background, int scrollbar, string text) { Position = new Point(x, y); Width = width; Size = new Point(width, height); Text = text; m_background = (background == 1) ? true : false; m_hasScrollbar = (scrollbar == 1) ? true : false; m_textRenderer = new TextRenderer(text, Width, true); Height = m_textRenderer.Height; }