You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#include <3ds.h>
|
|
|
|
|
|
|
|
|
|
#include "utils/stdcompat/string_view.hpp"
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Queues a request for user input for the next call to ctr_vkbdFlush()
|
|
|
|
|
* @see ctr_vkdbFlush()
|
|
|
|
|
* @param title Label for the input
|
|
|
|
|
* @param inText Optional text to prefil the input field
|
|
|
|
|
* @param outText Pointer to a buffer to receive user input
|
|
|
|
|
* @param maxLength Size of the buffer
|
|
|
|
|
*/
|
|
|
|
|
void ctr_vkbdInput(devilution::string_view title, devilution::string_view inText, char *outText, size_t maxLength);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @brief Processes pending requests for user input
|
|
|
|
|
*/
|
|
|
|
|
void ctr_vkbdFlush();
|