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 Surface(
const Surface&) =
default;
32 Surface& operator=(
const Surface&) =
default;
35 std::string& at(
int x,
int y);
36 const std::string& at(
int x,
int y)
const;
39 Cell& CellAt(
int x,
int y);
40 const Cell& CellAt(
int x,
int y)
const;
43 Cell& PixelAt(
int x,
int y) {
return CellAt(x, y); }
44 const Cell& PixelAt(
int x,
int y)
const {
return CellAt(x, y); }
47 int dimx()
const {
return dimx_; }
48 int dimy()
const {
return dimy_; }
54 virtual void Reserved1();
55 virtual void Reserved2();
56 virtual void Reserved3();
57 virtual void Reserved4();
58 virtual void Reserved5();
59 virtual void Reserved6();
60 virtual void Reserved7();
61 virtual void Reserved8();
66 Cell& FastCellAt(
int x,
int y);
67 const Cell& FastCellAt(
int x,
int y)
const;
71 std::vector<Cell> cells_;
The FTXUI ftxui:: namespace.