4#ifndef FTXUI_SCREEN_SURFACE_HPP
5#define FTXUI_SCREEN_SURFACE_HPP
21class FTXUI_EXPORT(SCREEN) Surface {
25 Surface(
int dimx,
int dimy);
28 virtual ~Surface() =
default;
31 std::string& at(
int x,
int y);
32 const std::string& at(
int x,
int y)
const;
35 Cell& CellAt(
int x,
int y);
36 const Cell& CellAt(
int x,
int y)
const;
39 Cell& PixelAt(
int x,
int y) {
return CellAt(x, y); }
40 const Cell& PixelAt(
int x,
int y)
const {
return CellAt(x, y); }
43 int dimx()
const {
return dimx_; }
44 int dimy()
const {
return dimy_; }
52 Cell& FastCellAt(
int x,
int y);
53 const Cell& FastCellAt(
int x,
int y)
const;
57 std::vector<Cell> cells_;
The FTXUI ftxui:: namespace.