| 4363 | |
| 4364 | |
| 4365 | void PixelGameEngine::TextEntryEnable(const bool bEnable, const std::string& sText) |
| 4366 | { |
| 4367 | if (bEnable) |
| 4368 | { |
| 4369 | nTextEntryCursor = int32_t(sText.size()); |
| 4370 | sTextEntryString = sText; |
| 4371 | bTextEntryEnable = true; |
| 4372 | } |
| 4373 | else |
| 4374 | { |
| 4375 | bTextEntryEnable = false; |
| 4376 | } |
| 4377 | } |
| 4378 | |
| 4379 | std::string PixelGameEngine::TextEntryGetString() const |
| 4380 | { |