Iros
 
Loading...
Searching...
No Matches
ttx::Pane Class Reference

#include </home/runner/work/iros/iros/userland/ttx/pane.h>

Public Member Functions

 Pane (dius::SyncFile pty_controller)
 
 ~Pane ()
 
auto draw (Renderer &renderer) -> RenderedCursor
 
auto event (KeyEvent const &event) -> bool
 
auto event (MouseEvent const &event) -> bool
 
auto event (FocusEvent const &event) -> bool
 
auto event (PasteEvent const &event) -> bool
 
void resize (dius::tty::WindowSize const &size)
 

Static Public Member Functions

static auto create (di::Vector< di::TransparentStringView > command, dius::tty::WindowSize size) -> di::Result< di::Box< Pane > >
 

Public Attributes

di::Function< void()> did_exit
 

Constructor & Destructor Documentation

◆ Pane()

ttx::Pane::Pane ( dius::SyncFile pty_controller)
inlineexplicit

◆ ~Pane()

ttx::Pane::~Pane ( )

Member Function Documentation

◆ create()

auto ttx::Pane::create ( di::Vector< di::TransparentStringView > command,
dius::tty::WindowSize size ) -> di::Result<di::Box<Pane>>
static

◆ draw()

auto ttx::Pane::draw ( Renderer & renderer) -> RenderedCursor

◆ event() [1/4]

auto ttx::Pane::event ( FocusEvent const & event) -> bool

◆ event() [2/4]

auto ttx::Pane::event ( KeyEvent const & event) -> bool

◆ event() [3/4]

auto ttx::Pane::event ( MouseEvent const & event) -> bool

◆ event() [4/4]

auto ttx::Pane::event ( PasteEvent const & event) -> bool

◆ resize()

void ttx::Pane::resize ( dius::tty::WindowSize const & size)

Member Data Documentation

◆ did_exit

di::Function<void()> ttx::Pane::did_exit

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