mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
textbox.caret property
This commit is contained in:
parent
5834233162
commit
3992ca8291
5 changed files with 45 additions and 13 deletions
|
|
@ -50,7 +50,11 @@ static Gravity gravity_from_string(const std::string& str) {
|
|||
return Gravity::none;
|
||||
}
|
||||
|
||||
static runnable create_runnable(UiXmlReader& reader, xml::xmlelement element, const std::string& name) {
|
||||
static runnable create_runnable(
|
||||
const UiXmlReader& reader,
|
||||
xml::xmlelement element,
|
||||
const std::string& name
|
||||
) {
|
||||
if (element->has(name)) {
|
||||
std::string text = element->attr(name).getText();
|
||||
if (!text.empty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue