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

#include <cell_buffer.h>

Public Member Functions

 CellBuffer (int w=0, int h=0)
 
void clear (AttrColor fg, AttrColor bg)
 
void resize (int w, int h)
 
const Cellat (int x, int y) const
 
Cellat (int x, int y)
 
unsigned w () const
 
unsigned h () const
 

Detailed Description

list of cells

Constructor & Destructor Documentation

◆ CellBuffer()

teditor::CellBuffer::CellBuffer ( int  w = 0,
int  h = 0 
)

Member Function Documentation

◆ at() [1/2]

Cell& teditor::CellBuffer::at ( int  x,
int  y 
)
inline

◆ at() [2/2]

const Cell& teditor::CellBuffer::at ( int  x,
int  y 
) const
inline

◆ clear()

void teditor::CellBuffer::clear ( AttrColor  fg,
AttrColor  bg 
)

◆ h()

unsigned teditor::CellBuffer::h ( ) const
inline

◆ resize()

void teditor::CellBuffer::resize ( int  w,
int  h 
)

◆ w()

unsigned teditor::CellBuffer::w ( ) const
inline

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