BIG deep clean

This commit is contained in:
2020-06-10 13:14:16 +03:00
parent f579718e0b
commit c59579d5d5
222 changed files with 2392 additions and 11600 deletions

View File

@@ -11,7 +11,6 @@ TileTerminal::TileTerminal(const PIString & n): PIScreenTile(n) {
void TileTerminal::drawEvent(PIScreenDrawer * d) {
//piCout << "draw" << visible;
//PIVector<PIVector<PIScreenTypes::Cell> > c = term->content();
d->fillRect(x_, y_, x_ + width_, y_ + height_, cells);
}
@@ -25,20 +24,11 @@ bool TileTerminal::keyEvent(PIKbdListener::KeyEvent key) {
return true;
}
//piCout << "key";
/*if (!term) return false;
if (PITerminal::isSpecialKey(key.key)) term->write((PIKbdListener::SpecialKey)key.key, key.modifiers);
else {
PIByteArray ba;
ba << PIChar(key.key).toConcole1Byte();
term->write(ba);
}*/
keyPressed(key);
return true;
}
void TileTerminal::resizeEvent(int w, int h) {
/*if (!term) return;
term->resize(w, h);*/
resizeRequest();
}