27 #if (BAGL_WIDTH==128 && BAGL_HEIGHT==64)
29 {{BAGL_RECTANGLE , 0x00, 0, 0, 128, 64, 0, 0, BAGL_FILL, 0x000000, 0xFFFFFF, 0, 0}, .
text=NULL},
31 {{BAGL_ICON , 0x01, 2, 28, 4, 7, 0, 0, 0 , 0xFFFFFF, 0x000000, 0, 0 }, .text=(
const char*)&C_icon_left },
32 {{BAGL_ICON , 0x02, 122, 28, 4, 7, 0, 0, 0 , 0xFFFFFF, 0x000000, 0, 0 }, .text=(
const char*)&C_icon_right },
34 {{BAGL_ICON , 0x10, 57, 17, 14, 14, 0, 0, 0 , 0xFFFFFF, 0x000000, BAGL_FONT_OPEN_SANS_REGULAR_11px|BAGL_FONT_ALIGNMENT_CENTER, 0 }, .text=NULL },
35 {{BAGL_LABELINE , 0x11, 0, 44, 128, 32, 0, 0, 0 , 0xFFFFFF, 0x000000, BAGL_FONT_OPEN_SANS_REGULAR_11px|BAGL_FONT_ALIGNMENT_CENTER, 0 }, .text=NULL },
36 #elif (BAGL_WIDTH==128 && BAGL_HEIGHT==32)
38 {{BAGL_RECTANGLE , 0x00, 0, 0, 128, 32, 0, 0, BAGL_FILL, 0x000000, 0xFFFFFF, 0, 0}, .text=NULL},
41 {{BAGL_ICON , 0x01, 2, 12, 4, 7, 0, 0, 0 , 0xFFFFFF, 0x000000, 0, 0 }, .text=(
const char*)&C_icon_left },
42 {{BAGL_ICON , 0x02, 122, 12, 4, 7, 0, 0, 0 , 0xFFFFFF, 0x000000, 0, 0 }, .text=(
const char*)&C_icon_right },
44 {{BAGL_ICON , 0x10, 56, 2, 16, 16, 0, 0, 0 , 0xFFFFFF, 0x000000, BAGL_FONT_OPEN_SANS_REGULAR_11px|BAGL_FONT_ALIGNMENT_CENTER, 0 }, .text=NULL },
45 {{BAGL_LABELINE , 0x11, 0, 28, 128, 32, 0, 0, 0 , 0xFFFFFF, 0x000000, BAGL_FONT_OPEN_SANS_REGULAR_11px|BAGL_FONT_ALIGNMENT_CENTER, 0 }, .text=NULL },
47 #error "BAGL_WIDTH/BAGL_HEIGHT not defined"
54 void ux_layout_pn_init(
unsigned int stack_slot)
57 G_ux.stack[stack_slot].element_arrays[0].element_array = ux_layout_pn_elements;
58 G_ux.stack[stack_slot].element_arrays[0].element_array_count = ARRAYLEN(ux_layout_pn_elements);
59 G_ux.stack[stack_slot].element_arrays_count = 1;
60 G_ux.stack[stack_slot].screen_before_element_display_callback = ux_layout_pb_prepro;
void ux_stack_display(unsigned int stack_slot)
void ux_stack_init(unsigned int stack_slot)
unsigned int ux_flow_button_callback(unsigned int button_mask, unsigned int button_mask_counter)