Lines Matching refs:buttons
53 struct calculator_button buttons[] = { variable
100 if (id >= ARRAY_SIZE(buttons)) { in lv_btn_matrix_click_callback()
105 rc = post_calculator_event(&buttons[id].event, K_FOREVER); in lv_btn_matrix_click_callback()
121 static const char *const btnm_map[] = {buttons[BUTTON_CANCEL_ENTRY].label, in setup_display()
122 buttons[BUTTON_CANCEL].label, in setup_display()
124 buttons[BUTTON_7].label, in setup_display()
125 buttons[BUTTON_8].label, in setup_display()
126 buttons[BUTTON_9].label, in setup_display()
127 buttons[BUTTON_DIVIDE].label, in setup_display()
129 buttons[BUTTON_4].label, in setup_display()
130 buttons[BUTTON_5].label, in setup_display()
131 buttons[BUTTON_6].label, in setup_display()
132 buttons[BUTTON_MULTIPLY].label, in setup_display()
134 buttons[BUTTON_1].label, in setup_display()
135 buttons[BUTTON_2].label, in setup_display()
136 buttons[BUTTON_3].label, in setup_display()
137 buttons[BUTTON_SUBTRACT].label, in setup_display()
139 buttons[BUTTON_0].label, in setup_display()
140 buttons[BUTTON_DECIMAL_POINT].label, in setup_display()
141 buttons[BUTTON_EQUALS].label, in setup_display()
142 buttons[BUTTON_ADD].label, in setup_display()