| 260 | } |
| 261 | |
| 262 | sp<Control> TextEdit::copyTo(sp<Control> CopyParent) |
| 263 | { |
| 264 | sp<TextEdit> copy; |
| 265 | if (CopyParent) |
| 266 | { |
| 267 | copy = CopyParent->createChild<TextEdit>(to_ustring(this->text), this->font); |
| 268 | } |
| 269 | else |
| 270 | { |
| 271 | copy = mksp<TextEdit>(to_ustring(this->text), this->font); |
| 272 | } |
| 273 | copy->TextHAlign = this->TextHAlign; |
| 274 | copy->TextVAlign = this->TextVAlign; |
| 275 | copyControlData(copy); |
| 276 | return copy; |
| 277 | } |
| 278 | |
| 279 | void TextEdit::configureSelfFromXml(pugi::xml_node *node) |
| 280 | { |
nothing calls this directly
no test coverage detected