Formatted text using bbcode markup. More...
| Functions | |
| void | ic_print (const char *s) | 
| Print to the terminal while respection bbcode markup.  More... | |
| void | ic_println (const char *s) | 
| Print with bbcode markup ending with a newline.  More... | |
| void | ic_printf (const char *fmt,...) | 
| Print formatted with bbcode markup.  More... | |
| void | ic_vprintf (const char *fmt, va_list args) | 
| Print formatted with bbcode markup.  More... | |
| void | ic_style_def (const char *style_name, const char *fmt) | 
| Define or redefine a style.  More... | |
| void | ic_style_open (const char *fmt) | 
| Start a global style that is only reset when calling a matching ic_style_close().  More... | |
| void | ic_style_close (void) | 
| End a global style.  More... | |
Formatted text using bbcode markup.
| void ic_print | ( | const char * | s | ) | 
Print to the terminal while respection bbcode markup.
Any unclosed tags are closed automatically at the end of the print. For example:
Properties that can be assigned are:
color= clr, bgcolor= clr: where clr is either a hex value #RRGGBB or #RGB, a standard HTML color name, or an ANSI palette name, like ansi-maroon, ansi-default, etc.bold,italic,reverse,underline: can be on or off.red instead of color=red, or on red instead of bgcolor=red), and there are the b, i, u, and r styles for bold, italic, underline, and reverse.See here for a description of the full bbcode format.
| void ic_printf | ( | const char * | fmt, | 
| ... | |||
| ) | 
Print formatted with bbcode markup.
| void ic_println | ( | const char * | s | ) | 
Print with bbcode markup ending with a newline.
| void ic_style_close | ( | void | ) | 
End a global style.
| void ic_style_def | ( | const char * | style_name, | 
| const char * | fmt | ||
| ) | 
Define or redefine a style.
| style_name | The name of the style. | 
| fmt | The fmtstring is the content of a tag and can contain other styles. This is very useful to theme the output of a program by assigning standard styles likeemorwarningetc. | 
| void ic_style_open | ( | const char * | fmt | ) | 
Start a global style that is only reset when calling a matching ic_style_close().
| void ic_vprintf | ( | const char * | fmt, | 
| va_list | args | ||
| ) | 
Print formatted with bbcode markup.