32 #if (BAGL_WIDTH==128 && BAGL_HEIGHT==64)
34 {{BAGL_RECTANGLE , 0x00, 0, 0, 128, 64, 0, 0, BAGL_FILL, 0x000000, 0xFFFFFF, 0, 0}, .
text=NULL},
37 {{BAGL_ICON , 0x01, 2, 28, 4, 7, 0, 0, 0 , 0xFFFFFF, 0x000000, 0, 0 }, .text=(
const char*)&C_icon_left},
38 {{BAGL_ICON , 0x02, 122, 28, 4, 7, 0, 0, 0 , 0xFFFFFF, 0x000000, 0, 0 }, .text=(
const char*)&C_icon_right},
40 {{BAGL_ICON , 0x0F, 57, 10, 14, 14, 0, 0, 0 , 0xFFFFFF, 0x000000, BAGL_FONT_OPEN_SANS_REGULAR_11px|BAGL_FONT_ALIGNMENT_CENTER, 0 }, .text=NULL},
41 {{BAGL_LABELINE , 0x10, 6, 37, 116, 32, 0, 0, 0 , 0xFFFFFF, 0x000000, BAGL_FONT_OPEN_SANS_EXTRABOLD_11px|BAGL_FONT_ALIGNMENT_CENTER, 0 }, .text=NULL},
42 {{BAGL_LABELINE , 0x11, 6, 51, 116, 32, 0, 0, 0 , 0xFFFFFF, 0x000000, BAGL_FONT_OPEN_SANS_EXTRABOLD_11px|BAGL_FONT_ALIGNMENT_CENTER, 0 }, .text=NULL},
43 #elif (BAGL_WIDTH==128 && BAGL_HEIGHT==32)
45 {{BAGL_RECTANGLE , 0x00, 0, 0, 128, 32, 0, 0, BAGL_FILL, 0x000000, 0xFFFFFF, 0, 0}, .text=NULL},
48 {{BAGL_ICON , 0x01, 2, 12, 4, 7, 0, 0, 0 , 0xFFFFFF, 0x000000, 0, 0 }, .text=(
const char*)&C_icon_left},
49 {{BAGL_ICON , 0x02, 122, 12, 4, 7, 0, 0, 0 , 0xFFFFFF, 0x000000, 0, 0 }, .text=(
const char*)&C_icon_right},
51 {{BAGL_ICON , 0x0F, 16, 8, 16, 16, 0, 0, 0 , 0xFFFFFF, 0x000000, 0, 0 }, .text=NULL},
52 {{BAGL_LABELINE , 0x10, 41, 12, 128, 32, 0, 0, 0 , 0xFFFFFF, 0x000000, BAGL_FONT_OPEN_SANS_EXTRABOLD_11px, 0 }, .text=NULL},
53 {{BAGL_LABELINE , 0x11, 41, 26, 128, 32, 0, 0, 0 , 0xFFFFFF, 0x000000, BAGL_FONT_OPEN_SANS_EXTRABOLD_11px, 0 }, .text=NULL},
55 #error "BAGL_WIDTH/BAGL_HEIGHT not defined"
83 #if defined(HAVE_INDEXED_STRINGS)
94 #if defined(HAVE_INDEXED_STRINGS)
96 + (
G_ux.tmp_element.component.userid & 0xF);
100 ->lines[
G_ux.tmp_element.component.userid & 0xF];
105 return &
G_ux.tmp_element;
108 void ux_layout_pbb_init_common(
unsigned int stack_slot)
111 G_ux.stack[stack_slot].element_arrays[0].element_array = ux_layout_pbb_elements;
112 G_ux.stack[stack_slot].element_arrays[0].element_array_count = ARRAYLEN(ux_layout_pbb_elements);
113 G_ux.stack[stack_slot].element_arrays_count = 1;
117 void ux_layout_pbb_init(
unsigned int stack_slot)
119 ux_layout_pbb_init_common(stack_slot);
120 G_ux.stack[stack_slot].screen_before_element_display_callback = ux_layout_pbb_prepro;
const char * get_ux_loc_string(uint32_t index)
bagl_component_t component
void ux_stack_display(unsigned int stack_slot)
void ux_stack_init(unsigned int stack_slot)
unsigned int ux_flow_is_first(void)
const void * ux_stack_get_current_step_params(void)
unsigned int ux_flow_button_callback(unsigned int button_mask, unsigned int button_mask_counter)
unsigned int ux_flow_is_last(void)
BOLOS_UX_LOC_STRINGS UX_LOC_STRINGS_INDEX