0.2.0
Loading...
Searching...
No Matches
TextAnsiColored.hpp
Go to the documentation of this file.
1// This file is part of INSTINCT, the INS Toolkit for Integrated
2// Navigation Concepts and Training by the Institute of Navigation of
3// the University of Stuttgart, Germany.
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
15
16#pragma once
17
18#include <vector>
19#include <string>
20#define IMGUI_DEFINE_MATH_OPERATORS
21#include <imgui.h>
22#include <imgui_internal.h>
23
24namespace ImGui
25{
26
30void TextAnsiUnformatted(const char* text, const char* text_end = nullptr);
31
35void TextAnsiV(const char* fmt, va_list args);
36
41void TextAnsiColoredV(const ImVec4& col, const char* fmt, va_list args);
42
47void TextAnsiColored(const ImVec4& col, const char* fmt, ...);
48
49} // namespace ImGui
void TextAnsiColored(const ImVec4 &col, const char *fmt,...)
Displays an ansi text with format string.
void TextAnsiColoredV(const ImVec4 &col, const char *fmt, va_list args)
Displays an ansi text with format string.
void TextAnsiUnformatted(const char *text, const char *text_end=nullptr)
Displays an unformatted ansi text.
void TextAnsiV(const char *fmt, va_list args)
Displays an ansi text with format string.