Lines Matching refs:style
91 lv_cb_set_style(new_cb, LV_CB_STYLE_BG, th->style.cb.bg); in lv_cb_create()
92 lv_cb_set_style(new_cb, LV_CB_STYLE_BOX_REL, th->style.cb.box.rel); in lv_cb_create()
93 lv_cb_set_style(new_cb, LV_CB_STYLE_BOX_PR, th->style.cb.box.pr); in lv_cb_create()
94 lv_cb_set_style(new_cb, LV_CB_STYLE_BOX_TGL_REL, th->style.cb.box.tgl_rel); in lv_cb_create()
95 lv_cb_set_style(new_cb, LV_CB_STYLE_BOX_TGL_PR, th->style.cb.box.tgl_pr); in lv_cb_create()
96 lv_cb_set_style(new_cb, LV_CB_STYLE_BOX_INA, th->style.cb.box.ina); in lv_cb_create()
151 void lv_cb_set_style(lv_obj_t * cb, lv_cb_style_t type, const lv_style_t * style) in lv_cb_set_style() argument
157 lv_btn_set_style(cb, LV_BTN_STYLE_REL, style); in lv_cb_set_style()
158 lv_btn_set_style(cb, LV_BTN_STYLE_PR, style); in lv_cb_set_style()
159 lv_btn_set_style(cb, LV_BTN_STYLE_TGL_REL, style); in lv_cb_set_style()
160 lv_btn_set_style(cb, LV_BTN_STYLE_TGL_PR, style); in lv_cb_set_style()
161 lv_btn_set_style(cb, LV_BTN_STYLE_INA, style); in lv_cb_set_style()
163 case LV_CB_STYLE_BOX_REL: lv_btn_set_style(ext->bullet, LV_BTN_STYLE_REL, style); break; in lv_cb_set_style()
164 case LV_CB_STYLE_BOX_PR: lv_btn_set_style(ext->bullet, LV_BTN_STYLE_PR, style); break; in lv_cb_set_style()
165 … case LV_CB_STYLE_BOX_TGL_REL: lv_btn_set_style(ext->bullet, LV_BTN_STYLE_TGL_REL, style); break; in lv_cb_set_style()
166 … case LV_CB_STYLE_BOX_TGL_PR: lv_btn_set_style(ext->bullet, LV_BTN_STYLE_TGL_PR, style); break; in lv_cb_set_style()
167 case LV_CB_STYLE_BOX_INA: lv_btn_set_style(ext->bullet, LV_BTN_STYLE_INA, style); break; in lv_cb_set_style()
194 const lv_style_t * style = NULL; in lv_cb_get_style() local
198 case LV_CB_STYLE_BOX_REL: style = lv_btn_get_style(ext->bullet, LV_BTN_STYLE_REL); break; in lv_cb_get_style()
199 case LV_CB_STYLE_BOX_PR: style = lv_btn_get_style(ext->bullet, LV_BTN_STYLE_PR); break; in lv_cb_get_style()
200 … case LV_CB_STYLE_BOX_TGL_REL: style = lv_btn_get_style(ext->bullet, LV_BTN_STYLE_TGL_REL); break; in lv_cb_get_style()
201 … case LV_CB_STYLE_BOX_TGL_PR: style = lv_btn_get_style(ext->bullet, LV_BTN_STYLE_TGL_PR); break; in lv_cb_get_style()
202 case LV_CB_STYLE_BOX_INA: style = lv_btn_get_style(ext->bullet, LV_BTN_STYLE_INA); break; in lv_cb_get_style()
203 default: style = NULL; break; in lv_cb_get_style()
206 return style; in lv_cb_get_style()