Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | Static Public Attributes | List of all members
RichTextUtil Class Reference

Rich text helper methods for formatting various things More...

Inheritance diagram for RichTextUtil:
KSPRichTextUtil

Static Public Member Functions

static string Text (string text, int lines=2)
 
static string Text (string title, string value, int lines=2)
 
static string TextAdvance (string title, string value, int lines=2)
 
static string TextAgent (string title, string value, int lines=2)
 
static string TextAward (string title, string value, int lines=2)
 
static string TextParam (string title, string value, int lines=2)
 
static string TextParamsAward (string title, string value, int lines=2)
 
static string TextPenalty (string title, string value, int lines=2)
 
static string Title (string title, int lines=2)
 

Static Public Attributes

static Color32 colorAdvance = new Color32(237, 237, 139, 255)
 
static Color32 colorAgent = new Color32(237, 139, 11, 255)
 
static Color32 colorAwards = new Color32(139, 237, 139, 255)
 
static Color32 colorParams = new Color32(190, 194, 174, 255)
 
static Color32 colorPenalty = new Color32(237, 11, 11, 255)
 
static Color32 colorTitle = new Color32(237, 139, 11, 255)
 

Detailed Description

Rich text helper methods for formatting various things

Member Function Documentation

static string RichTextUtil.Text ( string  text,
int  lines = 2 
)
inlinestatic
static string RichTextUtil.Text ( string  title,
string  value,
int  lines = 2 
)
inlinestatic
static string RichTextUtil.TextAdvance ( string  title,
string  value,
int  lines = 2 
)
inlinestatic
static string RichTextUtil.TextAgent ( string  title,
string  value,
int  lines = 2 
)
inlinestatic
static string RichTextUtil.TextAward ( string  title,
string  value,
int  lines = 2 
)
inlinestatic
static string RichTextUtil.TextParam ( string  title,
string  value,
int  lines = 2 
)
inlinestatic
static string RichTextUtil.TextParamsAward ( string  title,
string  value,
int  lines = 2 
)
inlinestatic
static string RichTextUtil.TextPenalty ( string  title,
string  value,
int  lines = 2 
)
inlinestatic
static string RichTextUtil.Title ( string  title,
int  lines = 2 
)
inlinestatic

Member Data Documentation

Color32 RichTextUtil.colorAdvance = new Color32(237, 237, 139, 255)
static
Color32 RichTextUtil.colorAgent = new Color32(237, 139, 11, 255)
static
Color32 RichTextUtil.colorAwards = new Color32(139, 237, 139, 255)
static
Color32 RichTextUtil.colorParams = new Color32(190, 194, 174, 255)
static
Color32 RichTextUtil.colorPenalty = new Color32(237, 11, 11, 255)
static
Color32 RichTextUtil.colorTitle = new Color32(237, 139, 11, 255)
static

The documentation for this class was generated from the following file: