HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
src
hikogui
console.hpp
1
// Copyright Take Vos 2021.
2
// Distributed under the Boost Software License, Version 1.0.
3
// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5
#pragma once
6
7
#include <string_view>
8
#include <iostream>
9
#include <format>
10
11
namespace
hi::inline
v1
{
12
15
void
console_start
() noexcept;
16
24
void
console_output(
std
::string_view
text
,
std
::ostream &output =
std
::cout) noexcept;
25
32
#define hi_print(fmt, ...) console_output(std::format(fmt __VA_OPT__(, ) __VA_ARGS__))
33
34
}
// namespace hi::inline v1
std
STL namespace.
v1
DOXYGEN BUG.
Definition
algorithm.hpp:15
v1::console_start
void console_start() noexcept
Initialize the console.
v1::text
A variant of text.
Definition
label.hpp:36
Generated on Mon Apr 22 2024 12:52:34 for HikoGUI by
1.10.0