Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Namespaces | Functions
presentation_example_common.hpp File Reference
#include <uni20/common/presentation.hpp>
#include <cstddef>
#include <cstdio>
#include <string>
#include <string_view>
Include dependency graph for presentation_example_common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  uni20
 
namespace  uni20::examples
 
namespace  uni20::examples::presentation_demo
 

Functions

void uni20::examples::presentation_demo::append_glyphs (presentation::styled_text &text, presentation::semantic_glyph glyph, std::size_t count, terminal::TerminalStyle line_style={})
 
std::size_t uni20::examples::presentation_demo::detected_terminal_width ()
 
presentation::output_policy uni20::examples::presentation_demo::forced_demo_policy (presentation::glyph_set glyphs, std::size_t width)
 
std::string uni20::examples::presentation_demo::repeat (char ch, std::size_t count)
 
terminal::TerminalStyle uni20::examples::presentation_demo::style (std::string_view spec)
 
presentation::output_policy uni20::examples::presentation_demo::terminal_demo_policy (std::size_t width)
 
std::string uni20::examples::presentation_demo::width_ruler (std::size_t width)