diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2015-07-22 19:33:59 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2015-10-26 17:54:16 +0100 |
commit | 44925ad19051d4ffe239b3ba99ea27e7275409dc (patch) | |
tree | 5ffc3a491429c71c360553452ea4369aa268e017 /gui/pages.cpp | |
parent | Add nulls during reading of settings and info files (diff) | |
download | android_bootable_recovery-44925ad19051d4ffe239b3ba99ea27e7275409dc.tar android_bootable_recovery-44925ad19051d4ffe239b3ba99ea27e7275409dc.tar.gz android_bootable_recovery-44925ad19051d4ffe239b3ba99ea27e7275409dc.tar.bz2 android_bootable_recovery-44925ad19051d4ffe239b3ba99ea27e7275409dc.tar.lz android_bootable_recovery-44925ad19051d4ffe239b3ba99ea27e7275409dc.tar.xz android_bootable_recovery-44925ad19051d4ffe239b3ba99ea27e7275409dc.tar.zst android_bootable_recovery-44925ad19051d4ffe239b3ba99ea27e7275409dc.zip |
Diffstat (limited to '')
-rw-r--r-- | gui/pages.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/pages.cpp b/gui/pages.cpp index 9bff289d3..3abd28785 100644 --- a/gui/pages.cpp +++ b/gui/pages.cpp @@ -444,6 +444,13 @@ bool Page::ProcessNode(xml_node<>* page, std::vector<xml_node<>*> *templates, in mRenders.push_back(element); mActions.push_back(element); } + else if (type == "textbox") + { + GUITextBox* element = new GUITextBox(child); + mObjects.push_back(element); + mRenders.push_back(element); + mActions.push_back(element); + } else if (type == "template") { if (!templates || !child->first_attribute("name")) |