Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
Classes | Typedefs | Enumerations | Variables
Virtual console

Virtual console. More...

Classes

class  gf::ConsoleEffect
 A console effect on the background color. More...
 
struct  gf::ConsoleStyle
 A console style. More...
 
class  gf::Console
 A virtual console. More...
 
struct  gf::ConsoleChar
 Named console characters. More...
 
struct  gf::ConsoleFontFormat
 A console font format. More...
 
struct  gf::ConsoleFontElement
 A console font element. More...
 
struct  gf::PredefinedConsoleFontFormat
 Predefined console font formats. More...
 
class  gf::ConsoleFont
 A console font. More...
 
class  gf::BitmapConsoleFont
 A bitmap console font. More...
 
class  gf::ColoredConsoleFont
 A colored console font. More...
 

Typedefs

using gf::ConsoleColorControl = char
 A type for color controls in a console. More...
 

Enumerations

enum class  gf::ConsoleAlignment {
  gf::ConsoleAlignment::Left ,
  gf::ConsoleAlignment::Center ,
  gf::ConsoleAlignment::Right
}
 The alignment of the text in the console. More...
 

Variables

constexpr ConsoleColorControl gf::ConsoleColorControl1 = '\x01'
 The constant for color control #1. More...
 
constexpr ConsoleColorControl gf::ConsoleColorControl2 = '\x02'
 The constant for color control #2. More...
 
constexpr ConsoleColorControl gf::ConsoleColorControl3 = '\x03'
 The constant for color control #3. More...
 
constexpr ConsoleColorControl gf::ConsoleColorControl4 = '\x04'
 The constant for color control #4. More...
 
constexpr ConsoleColorControl gf::ConsoleColorControl5 = '\x05'
 The constant for color control #5. More...
 
constexpr ConsoleColorControl gf::ConsoleColorControlStop = '\x06'
 The constant for color control stop. More...
 

Detailed Description

Virtual console.

Typedef Documentation

◆ ConsoleColorControl

using gf::ConsoleColorControl = typedef char

A type for color controls in a console.

See also
gf::Console

Enumeration Type Documentation

◆ ConsoleAlignment

enum class gf::ConsoleAlignment
strong

The alignment of the text in the console.

See also
gf::Console
Enumerator
Left 

Left alignment.

Center 

Centered alignment.

Right 

Right alignment.

Variable Documentation

◆ ConsoleColorControl1

constexpr ConsoleColorControl gf::ConsoleColorControl1 = '\x01'
constexpr

The constant for color control #1.

See also
gf::Console

◆ ConsoleColorControl2

constexpr ConsoleColorControl gf::ConsoleColorControl2 = '\x02'
constexpr

The constant for color control #2.

See also
gf::Console

◆ ConsoleColorControl3

constexpr ConsoleColorControl gf::ConsoleColorControl3 = '\x03'
constexpr

The constant for color control #3.

See also
gf::Console

◆ ConsoleColorControl4

constexpr ConsoleColorControl gf::ConsoleColorControl4 = '\x04'
constexpr

The constant for color control #4.

See also
gf::Console

◆ ConsoleColorControl5

constexpr ConsoleColorControl gf::ConsoleColorControl5 = '\x05'
constexpr

The constant for color control #5.

See also
gf::Console

◆ ConsoleColorControlStop

constexpr ConsoleColorControl gf::ConsoleColorControlStop = '\x06'
constexpr

The constant for color control stop.

See also
gf::Console