Displays a generic text in the shell contents.
Syntax |
void text(const string &in text, uint32 attrib = shell::text_normal, uint32 color = 0) |
---|---|
text |
Text to be displayed |
attrib |
Attributes for text (optional; see table of text attributes) |
color |
Text color (optional; 0=automatic) |
Result |
(none) |
Example of use:
bool execute(shell::object @shell, const string &in cmdline) { ... shell.content.text("testo da visualizzare"); ... } |