gui: add terminal emulator

Emulates enough of a VT-100 to run busybox vi.

Change-Id: I99c829c6c9de2246194ecb8b8b3cdf4ac34a0606
This commit is contained in:
that
2016-01-07 00:41:03 +01:00
parent 8834a0ffc0
commit 1964d19c46
5 changed files with 949 additions and 0 deletions
+8
View File
@@ -372,6 +372,14 @@ bool Page::ProcessNode(xml_node<>* page, std::vector<xml_node<>*> *templates, in
mRenders.push_back(element);
mActions.push_back(element);
}
else if (type == "terminal")
{
GUITerminal* element = new GUITerminal(child);
mObjects.push_back(element);
mRenders.push_back(element);
mActions.push_back(element);
mInputs.push_back(element);
}
else if (type == "button")
{
GUIButton* element = new GUIButton(child);