31 #ifndef __BOLOS_UI_H__
32 #define __BOLOS_UI_H__
35 #define BLS_UI_CAPS_AVAILABLE (1 << 0)
37 #define BLS_UI_CAPS_MULTILINE (1 << 1)
39 #define BLS_UI_CAPS_TOUCH (1 << 2)
41 #define BLS_UI_CAPS_COLOR (1 << 3)
43 #define BLS_UI_CAPS_USER_ENTRY (1 << 4)
45 #define BLS_UI_CAPS_INAPP (1 << 5)
47 #define BLS_UI_CAPS_QR (1 << 6)
115 int bls_ui_display_qr(
const char WIDE *message,
const char WIDE *data,
size_t dataSize);
133 char WIDE *out,
size_t outLength);
135 #endif // __BOLOS_UI_H__
int bls_ui_display_qr(const char WIDE *message, const char WIDE *data, size_t dataSize)
Display a QR code.
int bls_ui_get_capabilities(void)
Return the UI capabilities as a bitmask.
int bls_ui_display_message(const char WIDE *text)
Display a simple information message.
int bls_ui_display_warning(const char WIDE *text)
Display a simple warning message.
int bls_ui_get_user_entry(const char WIDE *message, char WIDE *out, size_t outLength)
Retrieve user input.
int bls_ui_display_error(const char WIDE *text)
Display a simple error.
int bls_ui_display_choice(const char WIDE *message)
Display a OK/CANCEL choice message.