teditor  1.8.0@@fee5e94
Terminal based editor written in C++
Public Member Functions | List of all members
teditor::Windows Class Reference

#include <window.h>

Public Member Functions

 Windows ()
 
 ~Windows ()
 
WindowgetWindow ()
 
const WindowgetWindow () const
 
int currWinId () const
 
size_t size () const
 
void incrementCurrWin ()
 
void decrementCurrWin ()
 
Windowoperator[] (int idx)
 
const Windowoperator[] (int idx) const
 
void draw (Editor &ed, bool cmdMsgBarActive)
 
bool splitVertically ()
 split the window into 2 vertical parts More...
 
void clearAll ()
 
void resize (int cmBarHt)
 

Detailed Description

a list of windows

Constructor & Destructor Documentation

◆ Windows()

teditor::Windows::Windows ( )

◆ ~Windows()

teditor::Windows::~Windows ( )

Member Function Documentation

◆ clearAll()

void teditor::Windows::clearAll ( )

◆ currWinId()

int teditor::Windows::currWinId ( ) const
inline

◆ decrementCurrWin()

void teditor::Windows::decrementCurrWin ( )

◆ draw()

void teditor::Windows::draw ( Editor ed,
bool  cmdMsgBarActive 
)

◆ getWindow() [1/2]

Window& teditor::Windows::getWindow ( )
inline

◆ getWindow() [2/2]

const Window& teditor::Windows::getWindow ( ) const
inline

◆ incrementCurrWin()

void teditor::Windows::incrementCurrWin ( )

◆ operator[]() [1/2]

Window* teditor::Windows::operator[] ( int  idx)
inline

◆ operator[]() [2/2]

const Window* teditor::Windows::operator[] ( int  idx) const
inline

◆ resize()

void teditor::Windows::resize ( int  cmBarHt)

◆ size()

size_t teditor::Windows::size ( ) const
inline

◆ splitVertically()

bool teditor::Windows::splitVertically ( )

split the window into 2 vertical parts

Returns
true if split was successful, else false

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