コード例 #1
0
ファイル: TextLabel.cs プロジェクト: FreeReign/UltimaXNA
 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;
 }
コード例 #2
0
ファイル: CroppedText.cs プロジェクト: FreeReign/UltimaXNA
 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);
 }
コード例 #3
0
ファイル: TextEntry.cs プロジェクト: FreeReign/UltimaXNA
 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);
 }
コード例 #4
0
ファイル: Button.cs プロジェクト: FreeReign/UltimaXNA
 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);
 }
コード例 #5
0
ファイル: HtmlGump.cs プロジェクト: FreeReign/UltimaXNA
 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;
 }