* 0x004CE726 * * @param window @ */
| 183 | * @param window @<esi> |
| 184 | */ |
| 185 | static void prepareDraw(Ui::Window& self) |
| 186 | { |
| 187 | self.widgets[Widx::title].text = _title; |
| 188 | memcpy(self.widgets[Widx::title].textArgs.data(), _formatArgs.data(), 16); |
| 189 | |
| 190 | const uint16_t numCharacters = static_cast<uint16_t>(inputSession.buffer.length()); |
| 191 | const uint16_t maxNumCharacters = inputSession.inputLenLimit; |
| 192 | |
| 193 | FormatArguments args{ self.widgets[Widx::charLimit].textArgs }; |
| 194 | args.push<uint16_t>(numCharacters); |
| 195 | args.push<uint16_t>(maxNumCharacters); |
| 196 | } |
| 197 | |
| 198 | /** |
| 199 | * 0x004CE75B |