Пример #1
0
 /// <summary>
 /// Allows you to do things before a tooltip line of this item is drawn. The line contains draw info.
 /// </summary>
 /// <param name="item">The item</param>
 /// <param name="line">The line that would be drawn</param>
 /// <param name="yOffset">The Y offset added for next tooltip lines</param>
 /// <returns>Whether or not to draw this tooltip line</returns>
 public virtual bool PreDrawTooltipLine(Item item, DrawableTooltipLine line, ref int yOffset)
 {
     return(true);
 }
Пример #2
0
 /// <summary>
 /// Allows you to do things after a tooltip line of this item is drawn. The line contains draw info.
 /// </summary>
 /// <param name="item">The item</param>
 /// <param name="line">The line that was drawn</param>
 public virtual void PostDrawTooltipLine(Item item, DrawableTooltipLine line)
 {
 }
Пример #3
0
 /// <summary>
 /// Allows you to do things after a tooltip line of this item is drawn. The line contains draw info.
 /// </summary>
 /// <param name="line">The line that was drawn</param>
 public virtual void PostDrawTooltipLine(DrawableTooltipLine line)
 {
 }