45 lines
763 B
C
45 lines
763 B
C
#include "shared_context.h"
|
|
#include "ui_callbacks.h"
|
|
|
|
UX_STEP_NOCB(
|
|
ux_sign_flow_1_step,
|
|
pnn,
|
|
{
|
|
&C_icon_certificate,
|
|
"Sign",
|
|
"message",
|
|
});
|
|
UX_STEP_NOCB(
|
|
ux_sign_flow_2_step,
|
|
bnnn_paging,
|
|
{
|
|
.title = "Message hash",
|
|
.text = strings.tmp.tmp,
|
|
});
|
|
UX_STEP_CB(
|
|
ux_sign_flow_3_step,
|
|
pbb,
|
|
io_seproxyhal_touch_signMessage_ok(NULL),
|
|
{
|
|
&C_icon_validate_14,
|
|
"Sign",
|
|
"message",
|
|
});
|
|
UX_STEP_CB(
|
|
ux_sign_flow_4_step,
|
|
pbb,
|
|
io_seproxyhal_touch_signMessage_cancel(NULL),
|
|
{
|
|
&C_icon_crossmark,
|
|
"Cancel",
|
|
"signature",
|
|
});
|
|
|
|
UX_FLOW(ux_sign_flow,
|
|
&ux_sign_flow_1_step,
|
|
&ux_sign_flow_2_step,
|
|
&ux_sign_flow_3_step,
|
|
&ux_sign_flow_4_step
|
|
);
|
|
|