GUI: ByteInput keyboard view module API. More...
#include <gui/view.h>Go to the source code of this file.
Functions | |
| ByteInput * | byte_input_alloc (void) |
| Allocate and initialize byte input. | |
| void | byte_input_free (ByteInput *byte_input) |
| Deinitialize and free byte input. | |
| View * | byte_input_get_view (ByteInput *byte_input) |
| Get byte input view. | |
| void | byte_input_set_result_callback (ByteInput *byte_input, ByteInputCallback input_callback, ByteChangedCallback changed_callback, void *callback_context, uint8_t *bytes, uint8_t bytes_count) |
| Set byte input result callback. | |
| void | byte_input_set_header_text (ByteInput *byte_input, const char *text) |
| Set byte input header text. | |
GUI: ByteInput keyboard view module API.
| ByteInput * byte_input_alloc | ( | void | ) |
Allocate and initialize byte input.
This byte input is used to enter bytes.
| void byte_input_free | ( | ByteInput * | byte_input | ) |
Deinitialize and free byte input.
| byte_input | Byte input instance |
Get byte input view.
| byte_input | byte input instance |
| void byte_input_set_header_text | ( | ByteInput * | byte_input, |
| const char * | text ) |
Set byte input header text.
| byte_input | byte input instance |
| text | text to be shown |
| void byte_input_set_result_callback | ( | ByteInput * | byte_input, |
| ByteInputCallback | input_callback, | ||
| ByteChangedCallback | changed_callback, | ||
| void * | callback_context, | ||
| uint8_t * | bytes, | ||
| uint8_t | bytes_count ) |
Set byte input result callback.
| byte_input | byte input instance |
| input_callback | input callback fn |
| changed_callback | changed callback fn |
| callback_context | callback context |
| bytes | buffer to use |
| bytes_count | buffer length |