#include "qt-utils.h"#include "unix/TerminalView.h"#include <QApplication>#include <QBoxLayout>#include <QClipboard>#include <QKeyEvent>#include <QtCore/QEvent>#include <QtCore/QTime>#include <QtCore/QFile>#include <QGridLayout>#include <QLabel>#include <QLayout>#include <QPainter>#include <QPixmap>#include <QScrollBar>#include <QStyle>#include <QToolTip>#include <QtCore>#include <QtGui>#include "unix/Filter.h"#include "unix/konsole_wcwidth.h"#include "unix/ScreenWindow.h"#include "unix/TerminalCharacterDecoder.h"#include <signal.h>
Go to the source code of this file.
Macros | |
| #define | loc(X, Y) ((Y)*_columns+(X)) |
| #define | REPCHAR |
| #define | yMouseScroll 1 |
Enumerations | |
| enum | LineEncode { TopL = (1<<1) , TopC = (1<<2) , TopR = (1<<3) , LeftT = (1<<5) , Int11 = (1<<6) , Int12 = (1<<7) , Int13 = (1<<8) , RightT = (1<<9) , LeftC = (1<<10) , Int21 = (1<<11) , Int22 = (1<<12) , Int23 = (1<<13) , RightC = (1<<14) , LeftB = (1<<15) , Int31 = (1<<16) , Int32 = (1<<17) , Int33 = (1<<18) , RightB = (1<<19) , BotL = (1<<21) , BotC = (1<<22) , BotR = (1<<23) } |
| A table for emulating the simple (single width) unicode drawing chars. More... | |
Variables | |
| unsigned short | vt100_graphics [32] |
| #define loc | ( | X, | |
| Y | |||
| ) | ((Y)*_columns+(X)) |
Definition at line 62 of file TerminalView.cpp.
| #define REPCHAR |
Definition at line 67 of file TerminalView.cpp.
| #define yMouseScroll 1 |
Definition at line 65 of file TerminalView.cpp.
| enum LineEncode |
A table for emulating the simple (single width) unicode drawing chars.
It represents the 250x - 257x glyphs. If it's zero, we can't use it. if it's not, it's encoded as follows: imagine a 5x5 grid where the points are numbered 0 to 24 left to top, top to bottom. Each point is represented by the corresponding bit.
Then, the pixels basically have the following interpretation: _|||_ -...- -...- -...- _|||_
where _ = none | = vertical line.
| Enumerator | |
|---|---|
| TopL | |
| TopC | |
| TopR | |
| LeftT | |
| Int11 | |
| Int12 | |
| Int13 | |
| RightT | |
| LeftC | |
| Int21 | |
| Int22 | |
| Int23 | |
| RightC | |
| LeftB | |
| Int31 | |
| Int32 | |
| Int33 | |
| RightB | |
| BotL | |
| BotC | |
| BotR | |
Definition at line 375 of file TerminalView.cpp.
| unsigned short vt100_graphics[32] |
Definition at line 153 of file TerminalView.cpp.
Referenced by Vt102Emulation::applyCharset().