teditor  1.8.0@@fee5e94
Terminal based editor written in C++
Public Member Functions | Public Attributes | List of all members
teditor::Cell Struct Reference

#include <cell_buffer.h>

Public Member Functions

void set (Chr c, AttrColor f, AttrColor b)
 
void set (Chr c, color_t f, color_t b)
 
void copy (const Cell &from)
 
int width () const
 

Public Attributes

Chr ch
 
AttrColor fg
 
AttrColor bg
 

Detailed Description

a conceptual entity on the terminal screen

Member Function Documentation

◆ copy()

void teditor::Cell::copy ( const Cell from)

◆ set() [1/2]

void teditor::Cell::set ( Chr  c,
AttrColor  f,
AttrColor  b 
)

◆ set() [2/2]

void teditor::Cell::set ( Chr  c,
color_t  f,
color_t  b 
)

◆ width()

int teditor::Cell::width ( ) const

Member Data Documentation

◆ bg

AttrColor teditor::Cell::bg

◆ ch

Chr teditor::Cell::ch

◆ fg

AttrColor teditor::Cell::fg

The documentation for this struct was generated from the following files: