|
teditor
1.8.0@@fee5e94
Terminal based editor written in C++
|
#include <window.h>
Public Member Functions | |
| Window () | |
| void | attachBuffs (Buffers *bs) |
| attach buffers list to this window. This list should be shared with all the other windows being displayed (except for the Window that wraps the CmdMsgBar) More... | |
| void | copyTo (Window &w) |
| Buffer & | getBuff () |
| const Buffer & | getBuff () const |
| void | resize (const Pos2di &start, const Pos2di &dim) |
| resize the window in case of window size change More... | |
| void | draw (Editor &ed) |
| void | drawPoint (Editor &ed, const AttrColor &bg) |
| void | incrementCurrBuff () |
| void | decrementCurrBuff () |
| int | currBuffId () const |
| void | setCurrBuff (int i) |
| const Pos2di & | start () const |
| const Pos2di & | dim () const |
Protected Attributes | |
| Buffers * | buffs |
| int | currBuff |
| Pos2di | screenStart |
| Pos2di | screenDim |
Window to draw the contents of an associated buffer
| teditor::Window::Window | ( | ) |
| void teditor::Window::attachBuffs | ( | Buffers * | bs | ) |
|
inline |
copy the current window's buffers and ID to the new window
|
inline |
| void teditor::Window::decrementCurrBuff | ( | ) |
|
inline |
| void teditor::Window::incrementCurrBuff | ( | ) |
resize the window in case of window size change
| start | screen start location |
| dim | screen dimension |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.17