gui: add terminal emulator
Emulates enough of a VT-100 to run busybox vi. Change-Id: I99c829c6c9de2246194ecb8b8b3cdf4ac34a0606
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user