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_; }
50 virtual void Reserved1();
51 virtual void Reserved2();
52 virtual void Reserved3();
53 virtual void Reserved4();
54 virtual void Reserved5();
55 virtual void Reserved6();
56 virtual void Reserved7();
57 virtual void Reserved8();
62 Cell& FastCellAt(
int x,
int y);
63 const Cell& FastCellAt(
int x,
int y)
const;
67 std::vector<Cell> cells_;
The FTXUI ftxui:: namespace.