Esempio n. 1
0
 public override void AddText(Gump gump)
 {
     gump.AddHtmlTextRectangle(
         Location.X,
         Location.Y,
         Size,
         Bold,
         Italicized,
         Underlined,
         HtmlColor,
         DisplayText,
         LabelWidthInPixels,
         FontHandling.FONT_LINE_HEIGHT);
 }
Esempio n. 2
0
 public static void AddHtmlLabel(
     this Gump gump,
     int x,
     int y,
     FontHandling.FontSize size,
     bool bold,
     bool italicized,
     bool underlined,
     string webColor,
     string text)
 {
     gump.AddHtmlTextRectangle(
         x,
         y,
         size,
         bold,
         italicized,
         underlined,
         webColor,
         text,
         FontHandling.CalculateTextLengthInPixels(text, size, italicized, bold),
         FontHandling.FONT_LINE_HEIGHT);
 }
Esempio n. 3
0
 public override void AddText(Gump gump)
 {
     gump.AddHtmlTextRectangle(Location.X, Location.Y, Size, Bold, Italicized, Underlined, HtmlColor, DisplayText, LabelWidthInPixels, FontHandling.FONT_LINE_HEIGHT);
 }