Home
last modified time | relevance | path

Searched refs:class_p (Results 1 – 25 of 48) sorted by relevance

12

/lvgl-latest/src/core/
Dlv_obj_class.c29 static uint32_t get_instance_size(const lv_obj_class_t * class_p);
43 lv_obj_t * lv_obj_class_create_obj(const lv_obj_class_t * class_p, lv_obj_t * parent) in lv_obj_class_create_obj() argument
45 …LV_TRACE_OBJ_CREATE("Creating object with %p class on %p parent", (void *)class_p, (void *)parent); in lv_obj_class_create_obj()
46 uint32_t s = get_instance_size(class_p); in lv_obj_class_create_obj()
50 obj->class_p = class_p; in lv_obj_class_create_obj()
136 if(obj->class_p->destructor_cb) obj->class_p->destructor_cb(obj->class_p, obj); in _lv_obj_destruct()
138 if(obj->class_p->base_class) { in _lv_obj_destruct()
140 obj->class_p = obj->class_p->base_class; in _lv_obj_destruct()
149 const lv_obj_class_t * class_p = obj->class_p; in lv_obj_is_editable() local
152 …while(class_p && class_p->editable == LV_OBJ_CLASS_EDITABLE_INHERIT) class_p = class_p->base_class; in lv_obj_is_editable()
[all …]
Dlv_obj_class.h43 typedef void (*lv_obj_class_event_cb_t)(struct _lv_obj_class_t * class_p, struct _lv_event_t * e);
50 void (*constructor_cb)(const struct _lv_obj_class_t * class_p, struct _lv_obj_t * obj);
51 void (*destructor_cb)(const struct _lv_obj_class_t * class_p, struct _lv_obj_t * obj);
55 void (*event_cb)(const struct _lv_obj_class_t * class_p,
74 struct _lv_obj_t * lv_obj_class_create_obj(const struct _lv_obj_class_t * class_p, struct _lv_obj_t…
Dlv_obj.c60 static void lv_obj_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
61 static void lv_obj_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
63 static void lv_obj_event(const lv_obj_class_t * class_p, lv_event_t * e);
376 bool lv_obj_check_type(const lv_obj_t * obj, const lv_obj_class_t * class_p) in lv_obj_check_type() argument
379 return obj->class_p == class_p ? true : false; in lv_obj_check_type()
382 bool lv_obj_has_class(const lv_obj_t * obj, const lv_obj_class_t * class_p) in lv_obj_has_class() argument
384 const lv_obj_class_t * obj_class = obj->class_p; in lv_obj_has_class()
386 if(obj_class == class_p) return true; in lv_obj_has_class()
395 return obj->class_p; in lv_obj_get_class()
419 static void lv_obj_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_obj_constructor() argument
[all …]
Dlv_obj_draw.h44 const struct _lv_obj_class_t * class_p; /**< The class that sent the event */ member
144 …rt_check_type(lv_obj_draw_part_dsc_t * dsc, const struct _lv_obj_class_t * class_p, uint32_t type);
Dlv_obj.h174 const lv_obj_class_t * class_p; member
342 bool lv_obj_check_type(const lv_obj_t * obj, const lv_obj_class_t * class_p);
351 bool lv_obj_has_class(const lv_obj_t * obj, const lv_obj_class_t * class_p);
/lvgl-latest/src/widgets/
Dlv_objx_templ.c34 static void lv_templ_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
35 static void lv_templ_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
36 static void lv_templ_event(const lv_obj_class_t * class_p, lv_event_t * e);
106 static void lv_templ_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_templ_constructor() argument
108 LV_UNUSED(class_p); in lv_templ_constructor()
117 static void lv_templ_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_templ_destructor() argument
123 static void lv_templ_event(const lv_obj_class_t * class_p, lv_event_t * e) in lv_templ_event() argument
125 LV_UNUSED(class_p); in lv_templ_event()
Dlv_btn.c27 static void lv_btn_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
61 static void lv_btn_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_btn_constructor() argument
63 LV_UNUSED(class_p); in lv_btn_constructor()
Dlv_switch.c43 static void lv_switch_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
44 static void lv_switch_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
45 static void lv_switch_event(const lv_obj_class_t * class_p, lv_event_t * e);
85 static void lv_switch_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_switch_constructor() argument
87 LV_UNUSED(class_p); in lv_switch_constructor()
101 static void lv_switch_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_switch_destructor() argument
103 LV_UNUSED(class_p); in lv_switch_destructor()
109 static void lv_switch_event(const lv_obj_class_t * class_p, lv_event_t * e) in lv_switch_event() argument
111 LV_UNUSED(class_p); in lv_switch_event()
Dlv_checkbox.c29 static void lv_checkbox_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
30 static void lv_checkbox_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
31 static void lv_checkbox_event(const lv_obj_class_t * class_p, lv_event_t * e);
120 static void lv_checkbox_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_checkbox_constructor() argument
122 LV_UNUSED(class_p); in lv_checkbox_constructor()
136 static void lv_checkbox_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_checkbox_destructor() argument
138 LV_UNUSED(class_p); in lv_checkbox_destructor()
149 static void lv_checkbox_event(const lv_obj_class_t * class_p, lv_event_t * e) in lv_checkbox_event() argument
151 LV_UNUSED(class_p); in lv_checkbox_event()
236 part_draw_dsc.class_p = MY_CLASS; in lv_checkbox_draw()
Dlv_line.c31 static void lv_line_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
32 static void lv_line_event(const lv_obj_class_t * class_p, lv_event_t * e);
108 static void lv_line_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_line_constructor() argument
110 LV_UNUSED(class_p); in lv_line_constructor()
124 static void lv_line_event(const lv_obj_class_t * class_p, lv_event_t * e) in lv_line_event() argument
126 LV_UNUSED(class_p); in lv_line_event()
Dlv_bar.c47 static void lv_bar_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
48 static void lv_bar_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
49 static void lv_bar_event(const lv_obj_class_t * class_p, lv_event_t * e);
208 static void lv_bar_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_bar_constructor() argument
210 LV_UNUSED(class_p); in lv_bar_constructor()
234 static void lv_bar_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_bar_destructor() argument
236 LV_UNUSED(class_p); in lv_bar_destructor()
394 part_draw_dsc.class_p = MY_CLASS; in draw_indic()
413 part_draw_dsc.class_p = MY_CLASS; in draw_indic()
508 static void lv_bar_event(const lv_obj_class_t * class_p, lv_event_t * e) in lv_bar_event() argument
[all …]
Dlv_dropdown.c40 static void lv_dropdown_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
41 static void lv_dropdown_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
42 static void lv_dropdown_event(const lv_obj_class_t * class_p, lv_event_t * e);
45 static void lv_dropdownlist_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
46 static void lv_dropdownlist_destructor(const lv_obj_class_t * class_p, lv_obj_t * list_obj);
47 static void lv_dropdown_list_event(const lv_obj_class_t * class_p, lv_event_t * e);
584 static void lv_dropdown_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_dropdown_constructor() argument
586 LV_UNUSED(class_p); in lv_dropdown_constructor()
614 static void lv_dropdown_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_dropdown_destructor() argument
616 LV_UNUSED(class_p); in lv_dropdown_destructor()
[all …]
/lvgl-latest/src/extra/libs/gif/
Dlv_gif.c26 static void lv_gif_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
27 static void lv_gif_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
109 static void lv_gif_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_gif_constructor() argument
111 LV_UNUSED(class_p); in lv_gif_constructor()
120 static void lv_gif_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_gif_destructor() argument
122 LV_UNUSED(class_p); in lv_gif_destructor()
/lvgl-latest/src/extra/widgets/led/
Dlv_led.c26 static void lv_led_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
27 static void lv_led_event(const lv_obj_class_t * class_p, lv_event_t * e);
150 static void lv_led_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_led_constructor() argument
152 LV_UNUSED(class_p); in lv_led_constructor()
158 static void lv_led_event(const lv_obj_class_t * class_p, lv_event_t * e) in lv_led_event() argument
160 LV_UNUSED(class_p); in lv_led_event()
210 part_draw_dsc.class_p = MY_CLASS; in lv_led_event()
/lvgl-latest/src/extra/widgets/tileview/
Dlv_tileview.c24 static void lv_tileview_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
25 static void lv_tileview_tile_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
125 static void lv_tileview_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_tileview_constructor() argument
127 LV_UNUSED(class_p); in lv_tileview_constructor()
136 static void lv_tileview_tile_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_tileview_tile_constructor() argument
139 LV_UNUSED(class_p); in lv_tileview_tile_constructor()
/lvgl-latest/src/extra/libs/qrcode/
Dlv_qrcode.c26 static void lv_qrcode_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
27 static void lv_qrcode_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
190 static void lv_qrcode_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_qrcode_constructor() argument
192 LV_UNUSED(class_p); in lv_qrcode_constructor()
204 static void lv_qrcode_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_qrcode_destructor() argument
206 LV_UNUSED(class_p); in lv_qrcode_destructor()
/lvgl-latest/src/extra/widgets/spinner/
Dlv_spinner.c23 static void lv_spinner_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
65 static void lv_spinner_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_spinner_constructor() argument
69 LV_UNUSED(class_p); in lv_spinner_constructor()
/lvgl-latest/src/extra/widgets/menu/
Dlv_menu.c31 static void lv_menu_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
32 static void lv_menu_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
33 static void lv_menu_page_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
34 static void lv_menu_page_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
35 static void lv_menu_cont_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
36 static void lv_menu_section_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
469 static void lv_menu_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_menu_constructor() argument
471 LV_UNUSED(class_p); in lv_menu_constructor()
536 static void lv_menu_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_menu_destructor() argument
538 LV_UNUSED(class_p); in lv_menu_destructor()
[all …]
/lvgl-latest/src/extra/widgets/tabview/
Dlv_tabview.c26 static void lv_tabview_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
27 static void lv_tabview_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
28 static void lv_tabview_event(const lv_obj_class_t * class_p, lv_event_t * e);
198 static void lv_tabview_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_tabview_constructor() argument
200 LV_UNUSED(class_p); in lv_tabview_constructor()
268 static void lv_tabview_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_tabview_destructor() argument
270 LV_UNUSED(class_p); in lv_tabview_destructor()
291 static void lv_tabview_event(const lv_obj_class_t * class_p, lv_event_t * e) in lv_tabview_event() argument
293 LV_UNUSED(class_p); in lv_tabview_event()
/lvgl-latest/src/extra/widgets/win/
Dlv_win.c23 static void lv_win_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
91 static void lv_win_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_win_constructor() argument
93 LV_UNUSED(class_p); in lv_win_constructor()
/lvgl-latest/src/extra/libs/rlottie/
Dlv_rlottie.c28 static void lv_rlottie_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
29 static void lv_rlottie_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
107 static void lv_rlottie_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_rlottie_constructor() argument
109 LV_UNUSED(class_p); in lv_rlottie_constructor()
153 static void lv_rlottie_destructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_rlottie_destructor() argument
155 LV_UNUSED(class_p); in lv_rlottie_destructor()
/lvgl-latest/src/extra/widgets/animimg/
Dlv_animimg.c40 static void lv_animimg_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
110 static void lv_animimg_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_animimg_constructor() argument
114 LV_UNUSED(class_p); in lv_animimg_constructor()
/lvgl-latest/src/extra/widgets/calendar/
Dlv_calendar_header_arrow.c28 static void my_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
63 static void my_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in my_constructor() argument
67 LV_UNUSED(class_p); in my_constructor()
Dlv_calendar_header_dropdown.c27 static void my_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
112 static void my_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in my_constructor() argument
116 LV_UNUSED(class_p); in my_constructor()
/lvgl-latest/src/extra/widgets/imgbtn/
Dlv_imgbtn.c26 static void lv_imgbtn_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj);
28 static void lv_imgbtn_event(const lv_obj_class_t * class_p, lv_event_t * e);
162 static void lv_imgbtn_constructor(const lv_obj_class_t * class_p, lv_obj_t * obj) in lv_imgbtn_constructor() argument
164 LV_UNUSED(class_p); in lv_imgbtn_constructor()
174 static void lv_imgbtn_event(const lv_obj_class_t * class_p, lv_event_t * e) in lv_imgbtn_event() argument
176 LV_UNUSED(class_p); in lv_imgbtn_event()

12