4#ifndef FTXUI_SCREEN_SCREEN_HPP
5#define FTXUI_SCREEN_SCREEN_HPP
70 const std::string& Hyperlink(
uint8_t id)
const;
82 pixel.inverted ^=
true;
A rectangular grid of Pixel.
A rectangular grid of Pixel.
std::function< void(Pixel &)> SelectionStyle
const SelectionStyle & GetSelectionStyle() const
Return the current selection style.
std::string ToString() const
void SetCursor(Cursor cursor)
static Screen Create(Dimensions dimension)
Create a screen with the given dimension.
uint8_t RegisterHyperlink(const std::string &link)
std::string ResetPosition(bool clear=false) const
Return a string to be printed in order to reset the cursor position to the beginning of the screen.
void Clear()
Clear all the pixel from the screen.
SelectionStyle selection_style_
void SetSelectionStyle(SelectionStyle decorator)
Set the current selection style.
std::vector< std::string > hyperlinks_
std::shared_ptr< T > Make(Args &&... args)
A Unicode character and its associated style.