nngn
terminal.cpp File Reference
#include "graphics.h"
#include "os/platform.h"
#include "utils/log.h"
#include <algorithm>
#include <list>
#include <span>
#include <string_view>
#include <thread>
#include <vector>
#include <sys/ioctl.h>
#include <unistd.h>
#include "math/math.h"
#include "timing/timing.h"
#include "utils/ranges.h"
#include "pseudo.h"
Include dependency graph for terminal.cpp:

Classes

struct  anonymous_namespace{terminal.cpp}::VT100EscapeCodes
 Character sequences to control a VT100 terminal. More...
 
struct  anonymous_namespace{terminal.cpp}::VT520EscapeCodes
 Character sequences to control a VT520 terminal. More...
 
struct  anonymous_namespace{terminal.cpp}::ANSIEscapeCode
 ANSI escape code sequences. More...
 
struct  anonymous_namespace{terminal.cpp}::Terminal
 Handles interactions with the output terminal. More...
 
class  anonymous_namespace{terminal.cpp}::FrameLimiter
 Simulates a v-sync pause using sleep. More...
 
struct  anonymous_namespace{terminal.cpp}::Texture
 Buffer holding texture image data. More...
 
class  anonymous_namespace{terminal.cpp}::FrameBuffer
 
struct  anonymous_namespace{terminal.cpp}::FrameBuffer::ColoredPixel
 
class  anonymous_namespace{terminal.cpp}::Rasterizer
 Axis-aligned sprite rasterizer with texture sampling. More...
 
class  anonymous_namespace{terminal.cpp}::TerminalBackend
 

Namespaces

 anonymous_namespace{terminal.cpp}
 
 nngn
 

Typedefs

using Mode = nngn::Graphics::TerminalMode
 

Functions

template<>
std::unique_ptr< Graphics > nngn::graphics_create_backend< backend > (const void *params)
 

Variables

static constexpr auto backend = nngn::Graphics::Backend::TERMINAL_BACKEND
 

Typedef Documentation

◆ Mode

Variable Documentation

◆ backend

constexpr auto backend = nngn::Graphics::Backend::TERMINAL_BACKEND
staticconstexpr