0.3.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
TextAnsiColored.hpp File Reference

Text which can be colored by Ansi codes. More...

Go to the source code of this file.

Functions

void ImGui::TextAnsiColored (const ImVec4 &col, const char *fmt,...)
 Displays an ansi text with format string.
 
void ImGui::TextAnsiColoredV (const ImVec4 &col, const char *fmt, va_list args)
 Displays an ansi text with format string.
 
void ImGui::TextAnsiUnformatted (const char *text, const char *text_end=nullptr)
 Displays an unformatted ansi text.
 
void ImGui::TextAnsiV (const char *fmt, va_list args)
 Displays an ansi text with format string.
 

Detailed Description

Function Documentation

◆ TextAnsiColored()

void ImGui::TextAnsiColored ( const ImVec4 & col,
const char * fmt,
... )

Displays an ansi text with format string.

Parameters
[in]colColor to display text in
[in]fmtFormat string
[in]...Further arguments

◆ TextAnsiColoredV()

void ImGui::TextAnsiColoredV ( const ImVec4 & col,
const char * fmt,
va_list args )

Displays an ansi text with format string.

Parameters
[in]colColor to display text in
[in]fmtFormat string
[in]argsFormat arguments

◆ TextAnsiUnformatted()

void ImGui::TextAnsiUnformatted ( const char * text,
const char * text_end = nullptr )

Displays an unformatted ansi text.

Parameters
[in]textC-style string pointer
[in]text_endPointer to the end of the text or nullptr

◆ TextAnsiV()

void ImGui::TextAnsiV ( const char * fmt,
va_list args )

Displays an ansi text with format string.

Parameters
[in]fmtFormat string
[in]argsFormat arguments