summaryrefslogtreecommitdiffstats
path: root/gui/pages.cpp
diff options
context:
space:
mode:
authorthat <github@that.at>2016-01-07 00:41:03 +0100
committerthat <github@that.at>2016-01-07 22:30:39 +0100
commit1964d19c464d25fb1898a8ea38579f97b36fafd5 (patch)
tree28873f60e59b701afd0eff38bd1d0407ccf39b7c /gui/pages.cpp
parentgui: add keyboard support for Ctrl layer and more special keys (diff)
downloadandroid_bootable_recovery-1964d19c464d25fb1898a8ea38579f97b36fafd5.tar
android_bootable_recovery-1964d19c464d25fb1898a8ea38579f97b36fafd5.tar.gz
android_bootable_recovery-1964d19c464d25fb1898a8ea38579f97b36fafd5.tar.bz2
android_bootable_recovery-1964d19c464d25fb1898a8ea38579f97b36fafd5.tar.lz
android_bootable_recovery-1964d19c464d25fb1898a8ea38579f97b36fafd5.tar.xz
android_bootable_recovery-1964d19c464d25fb1898a8ea38579f97b36fafd5.tar.zst
android_bootable_recovery-1964d19c464d25fb1898a8ea38579f97b36fafd5.zip
Diffstat (limited to 'gui/pages.cpp')
-rw-r--r--gui/pages.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/gui/pages.cpp b/gui/pages.cpp
index c097c39bd..bd7c79959 100644
--- a/gui/pages.cpp
+++ b/gui/pages.cpp
@@ -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);