mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add 'sub-consumer' to textbox
This commit is contained in:
parent
868b69db90
commit
699d8ce2bb
6 changed files with 37 additions and 5 deletions
|
|
@ -355,6 +355,13 @@ static std::shared_ptr<UINode> readTextBox(UiXmlReader& reader, const xml::xmlel
|
|||
reader.getFilename()
|
||||
));
|
||||
}
|
||||
if (element->has("sub-consumer")) {
|
||||
textbox->setTextSubConsumer(scripting::create_wstring_consumer(
|
||||
reader.getEnvironment(),
|
||||
element->attr("sub-consumer").getText(),
|
||||
reader.getFilename()
|
||||
));
|
||||
}
|
||||
if (element->has("supplier")) {
|
||||
textbox->setTextSupplier(scripting::create_wstring_supplier(
|
||||
reader.getEnvironment(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue