libmx2 2.2.1
C++20 multimedia and game-engine library (SDL2 / OpenGL / Vulkan)
Loading...
Searching...
No Matches
console Namespace Reference

Classes

class  CommandQueue
 Thread-safe FIFO queue for dispatching console commands to a worker thread. More...
class  ConsoleChars
 Glyph cache that maps each ASCII character to a pre-rendered SDL_Surface. More...
class  Console
 Core text-console widget backed by an SDL_Surface. More...
class  GLConsole
 OpenGL-rendered overlay console built on top of Console. More...

Enumerations

enum  FadeState { FADE_NONE , FADE_IN , FADE_OUT }

Functions

SDL_Surface * flipSurface (SDL_Surface *surface)
std::vector< std::string > tokenize (const std::string &input)

Enumeration Type Documentation

◆ FadeState

Enumerator
FADE_NONE 
FADE_IN 
FADE_OUT 

Definition at line 137 of file console.hpp.

Function Documentation

◆ flipSurface()

SDL_Surface * console::flipSurface ( SDL_Surface * surface)

Definition at line 12 of file console.cpp.

Referenced by console::Console::drawText().

◆ tokenize()

std::vector< std::string > console::tokenize ( const std::string & input)

Definition at line 800 of file console.cpp.

Referenced by console::Console::procCmd().