mirror of https://github.com/arendst/Tasmota.git
LVGL use Berrry virtual methods and save 74KB
This commit is contained in:
parent
84769fbf67
commit
ba518e1b0c
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -1,37 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_arc_map) {
|
||||
{ be_const_key(set_type, -1), be_const_func(lvbe_arc_set_type) },
|
||||
{ be_const_key(set_adjustable, -1), be_const_func(lvbe_arc_set_adjustable) },
|
||||
{ be_const_key(set_bg_start_angle, -1), be_const_func(lvbe_arc_set_bg_start_angle) },
|
||||
{ be_const_key(set_chg_rate, -1), be_const_func(lvbe_arc_set_chg_rate) },
|
||||
{ be_const_key(set_start_angle, 18), be_const_func(lvbe_arc_set_start_angle) },
|
||||
{ be_const_key(get_min_value, -1), be_const_func(lvbe_arc_get_min_value) },
|
||||
{ be_const_key(create, 7), be_const_func(lvbe_arc_create) },
|
||||
{ be_const_key(dot_p, 16), be_const_int(0) },
|
||||
{ be_const_key(get_bg_angle_start, 5), be_const_func(lvbe_arc_get_bg_angle_start) },
|
||||
{ be_const_key(is_dragged, -1), be_const_func(lvbe_arc_is_dragged) },
|
||||
{ be_const_key(set_range, 21), be_const_func(lvbe_arc_set_range) },
|
||||
{ be_const_key(get_angle_end, 6), be_const_func(lvbe_arc_get_angle_end) },
|
||||
{ be_const_key(get_max_value, 9), be_const_func(lvbe_arc_get_max_value) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_arc_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_bg_angles, -1), be_const_func(lvbe_arc_set_bg_angles) },
|
||||
{ be_const_key(set_end_angle, -1), be_const_func(lvbe_arc_set_end_angle) },
|
||||
{ be_const_key(set_bg_end_angle, 23), be_const_func(lvbe_arc_set_bg_end_angle) },
|
||||
{ be_const_key(get_adjustable, -1), be_const_func(lvbe_arc_get_adjustable) },
|
||||
{ be_const_key(set_rotation, -1), be_const_func(lvbe_arc_set_rotation) },
|
||||
{ be_const_key(set_value, 10), be_const_func(lvbe_arc_set_value) },
|
||||
{ be_const_key(set_angles, -1), be_const_func(lvbe_arc_set_angles) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_arc_create) },
|
||||
{ be_const_key(get_angle_start, -1), be_const_func(lvbe_arc_get_angle_start) },
|
||||
{ be_const_key(get_bg_angle_end, -1), be_const_func(lvbe_arc_get_bg_angle_end) },
|
||||
{ be_const_key(get_type, 4), be_const_func(lvbe_arc_get_type) },
|
||||
{ be_const_key(get_value, 15), be_const_func(lvbe_arc_get_value) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_arc_map,
|
||||
26
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,26 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_bar_map) {
|
||||
{ be_const_key(set_value, 8), be_const_func(lvbe_bar_set_value) },
|
||||
{ be_const_key(get_anim_time, -1), be_const_func(lvbe_bar_get_anim_time) },
|
||||
{ be_const_key(set_anim_time, 7), be_const_func(lvbe_bar_set_anim_time) },
|
||||
{ be_const_key(set_range, -1), be_const_func(lvbe_bar_set_range) },
|
||||
{ be_const_key(get_type, 11), be_const_func(lvbe_bar_get_type) },
|
||||
{ be_const_key(get_start_value, -1), be_const_func(lvbe_bar_get_start_value) },
|
||||
{ be_const_key(set_type, -1), be_const_func(lvbe_bar_set_type) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_bar_create) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_bar_create) },
|
||||
{ be_const_key(get_min_value, -1), be_const_func(lvbe_bar_get_min_value) },
|
||||
{ be_const_key(tostring, 1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_start_value, 13), be_const_func(lvbe_bar_set_start_value) },
|
||||
{ be_const_key(get_value, -1), be_const_func(lvbe_bar_get_value) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_bar_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(get_max_value, -1), be_const_func(lvbe_bar_get_max_value) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_bar_map,
|
||||
15
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,29 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_btn_map) {
|
||||
{ be_const_key(get_state, -1), be_const_func(lvbe_btn_get_state) },
|
||||
{ be_const_key(get_fit_top, 10), be_const_func(lvbe_btn_get_fit_top) },
|
||||
{ be_const_key(get_fit_bottom, 0), be_const_func(lvbe_btn_get_fit_bottom) },
|
||||
{ be_const_key(set_fit4, -1), be_const_func(lvbe_btn_set_fit4) },
|
||||
{ be_const_key(get_fit_right, -1), be_const_func(lvbe_btn_get_fit_right) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_btn_create) },
|
||||
{ be_const_key(set_fit, -1), be_const_func(lvbe_btn_set_fit) },
|
||||
{ be_const_key(tostring, 3), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_layout, -1), be_const_func(lvbe_btn_set_layout) },
|
||||
{ be_const_key(get_fit_left, -1), be_const_func(lvbe_btn_get_fit_left) },
|
||||
{ be_const_key(dot_p, 13), be_const_int(0) },
|
||||
{ be_const_key(set_state, 6), be_const_func(lvbe_btn_set_state) },
|
||||
{ be_const_key(set_checkable, 14), be_const_func(lvbe_btn_set_checkable) },
|
||||
{ be_const_key(toggle, -1), be_const_func(lvbe_btn_toggle) },
|
||||
{ be_const_key(get_layout, 16), be_const_func(lvbe_btn_get_layout) },
|
||||
{ be_const_key(init, 9), be_const_func(lvbe_btn_create) },
|
||||
{ be_const_key(get_checkable, -1), be_const_func(lvbe_btn_get_checkable) },
|
||||
{ be_const_key(set_fit2, 2), be_const_func(lvbe_btn_set_fit2) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_btn_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_btn_map,
|
||||
18
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,34 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_btnmatrix_map) {
|
||||
{ be_const_key(clear_btn_ctrl, 13), be_const_func(lvbe_btnmatrix_clear_btn_ctrl) },
|
||||
{ be_const_key(set_align, -1), be_const_func(lvbe_btnmatrix_set_align) },
|
||||
{ be_const_key(get_btn_text, 7), be_const_func(lvbe_btnmatrix_get_btn_text) },
|
||||
{ be_const_key(get_active_btn_text, -1), be_const_func(lvbe_btnmatrix_get_active_btn_text) },
|
||||
{ be_const_key(create, 3), be_const_func(lvbe_btnmatrix_create) },
|
||||
{ be_const_key(set_btn_ctrl_all, -1), be_const_func(lvbe_btnmatrix_set_btn_ctrl_all) },
|
||||
{ be_const_key(clear_btn_ctrl_all, 12), be_const_func(lvbe_btnmatrix_clear_btn_ctrl_all) },
|
||||
{ be_const_key(get_one_check, -1), be_const_func(lvbe_btnmatrix_get_one_check) },
|
||||
{ be_const_key(get_active_btn, -1), be_const_func(lvbe_btnmatrix_get_active_btn) },
|
||||
{ be_const_key(get_align, 22), be_const_func(lvbe_btnmatrix_get_align) },
|
||||
{ be_const_key(set_focused_btn, 4), be_const_func(lvbe_btnmatrix_set_focused_btn) },
|
||||
{ be_const_key(set_map, -1), be_const_func(lvbe_btnmatrix_set_map) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(set_one_check, 20), be_const_func(lvbe_btnmatrix_set_one_check) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_btnmatrix_create) },
|
||||
{ be_const_key(get_recolor, -1), be_const_func(lvbe_btnmatrix_get_recolor) },
|
||||
{ be_const_key(set_recolor, 8), be_const_func(lvbe_btnmatrix_set_recolor) },
|
||||
{ be_const_key(set_btn_ctrl, -1), be_const_func(lvbe_btnmatrix_set_btn_ctrl) },
|
||||
{ be_const_key(get_focused_btn, -1), be_const_func(lvbe_btnmatrix_get_focused_btn) },
|
||||
{ be_const_key(set_btn_width, 0), be_const_func(lvbe_btnmatrix_set_btn_width) },
|
||||
{ be_const_key(get_btn_ctrl, -1), be_const_func(lvbe_btnmatrix_get_btn_ctrl) },
|
||||
{ be_const_key(set_ctrl_map, 5), be_const_func(lvbe_btnmatrix_set_ctrl_map) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_btnmatrix_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_btnmatrix_map,
|
||||
23
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,22 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_calendar_map) {
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_calendar_create) },
|
||||
{ be_const_key(get_day_of_week, -1), be_const_func(lvbe_calendar_get_day_of_week) },
|
||||
{ be_const_key(get_highlighted_dates_num, 5), be_const_func(lvbe_calendar_get_highlighted_dates_num) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_calendar_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_highlighted_dates, -1), be_const_func(lvbe_calendar_set_highlighted_dates) },
|
||||
{ be_const_key(set_showed_date, -1), be_const_func(lvbe_calendar_set_showed_date) },
|
||||
{ be_const_key(set_day_names, -1), be_const_func(lvbe_calendar_set_day_names) },
|
||||
{ be_const_key(set_today_date, -1), be_const_func(lvbe_calendar_set_today_date) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(init, 4), be_const_func(lvbe_calendar_create) },
|
||||
{ be_const_key(set_month_names, -1), be_const_func(lvbe_calendar_set_month_names) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_calendar_map,
|
||||
11
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,30 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_canvas_map) {
|
||||
{ be_const_key(init, 16), be_const_func(lvbe_canvas_create) },
|
||||
{ be_const_key(set_palette, -1), be_const_func(lvbe_canvas_set_palette) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_canvas_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(draw_img, -1), be_const_func(lvbe_canvas_draw_img) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(copy_buf, 6), be_const_func(lvbe_canvas_copy_buf) },
|
||||
{ be_const_key(create, 17), be_const_func(lvbe_canvas_create) },
|
||||
{ be_const_key(draw_arc, 10), be_const_func(lvbe_canvas_draw_arc) },
|
||||
{ be_const_key(get_px, 7), be_const_func(lvbe_canvas_get_px) },
|
||||
{ be_const_key(transform, -1), be_const_func(lvbe_canvas_transform) },
|
||||
{ be_const_key(draw_text, 3), be_const_func(lvbe_canvas_draw_text) },
|
||||
{ be_const_key(fill_bg, -1), be_const_func(lvbe_canvas_fill_bg) },
|
||||
{ be_const_key(draw_polygon, -1), be_const_func(lvbe_canvas_draw_polygon) },
|
||||
{ be_const_key(blur_ver, 0), be_const_func(lvbe_canvas_blur_ver) },
|
||||
{ be_const_key(blur_hor, -1), be_const_func(lvbe_canvas_blur_hor) },
|
||||
{ be_const_key(draw_line, -1), be_const_func(lvbe_canvas_draw_line) },
|
||||
{ be_const_key(draw_rect, -1), be_const_func(lvbe_canvas_draw_rect) },
|
||||
{ be_const_key(set_buffer, -1), be_const_func(lvbe_canvas_set_buffer) },
|
||||
{ be_const_key(set_px, -1), be_const_func(lvbe_canvas_set_px) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_canvas_map,
|
||||
19
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,48 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_chart_map) {
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_chart_create) },
|
||||
{ be_const_key(set_secondary_y_tick_length, -1), be_const_func(lvbe_chart_set_secondary_y_tick_length) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_chart_create) },
|
||||
{ be_const_key(set_x_tick_length, -1), be_const_func(lvbe_chart_set_x_tick_length) },
|
||||
{ be_const_key(set_next, -1), be_const_func(lvbe_chart_set_next) },
|
||||
{ be_const_key(set_x_start_point, 14), be_const_func(lvbe_chart_set_x_start_point) },
|
||||
{ be_const_key(set_point_id, 23), be_const_func(lvbe_chart_set_point_id) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_chart_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(set_ext_array, 12), be_const_func(lvbe_chart_set_ext_array) },
|
||||
{ be_const_key(get_cursor_point, 4), be_const_func(lvbe_chart_get_cursor_point) },
|
||||
{ be_const_key(hide_series, -1), be_const_func(lvbe_chart_hide_series) },
|
||||
{ be_const_key(refresh, -1), be_const_func(lvbe_chart_refresh) },
|
||||
{ be_const_key(set_point_count, -1), be_const_func(lvbe_chart_set_point_count) },
|
||||
{ be_const_key(set_secondary_y_tick_texts, -1), be_const_func(lvbe_chart_set_secondary_y_tick_texts) },
|
||||
{ be_const_key(set_points, 27), be_const_func(lvbe_chart_set_points) },
|
||||
{ be_const_key(set_update_mode, -1), be_const_func(lvbe_chart_set_update_mode) },
|
||||
{ be_const_key(set_y_tick_texts, 1), be_const_func(lvbe_chart_set_y_tick_texts) },
|
||||
{ be_const_key(set_cursor_point, -1), be_const_func(lvbe_chart_set_cursor_point) },
|
||||
{ be_const_key(get_point_count, -1), be_const_func(lvbe_chart_get_point_count) },
|
||||
{ be_const_key(init_points, 20), be_const_func(lvbe_chart_init_points) },
|
||||
{ be_const_key(remove_series, -1), be_const_func(lvbe_chart_remove_series) },
|
||||
{ be_const_key(set_series_axis, 8), be_const_func(lvbe_chart_set_series_axis) },
|
||||
{ be_const_key(set_type, -1), be_const_func(lvbe_chart_set_type) },
|
||||
{ be_const_key(clear_series, -1), be_const_func(lvbe_chart_clear_series) },
|
||||
{ be_const_key(set_div_line_count, -1), be_const_func(lvbe_chart_set_div_line_count) },
|
||||
{ be_const_key(get_point_id, 31), be_const_func(lvbe_chart_get_point_id) },
|
||||
{ be_const_key(tostring, 17), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_y_range, -1), be_const_func(lvbe_chart_set_y_range) },
|
||||
{ be_const_key(get_type, -1), be_const_func(lvbe_chart_get_type) },
|
||||
{ be_const_key(get_series_axis, 30), be_const_func(lvbe_chart_get_series_axis) },
|
||||
{ be_const_key(set_y_tick_length, -1), be_const_func(lvbe_chart_set_y_tick_length) },
|
||||
{ be_const_key(get_nearest_index_from_coord, -1), be_const_func(lvbe_chart_get_nearest_index_from_coord) },
|
||||
{ be_const_key(set_x_tick_texts, -1), be_const_func(lvbe_chart_set_x_tick_texts) },
|
||||
{ be_const_key(get_x_from_index, -1), be_const_func(lvbe_chart_get_x_from_index) },
|
||||
{ be_const_key(get_x_start_point, -1), be_const_func(lvbe_chart_get_x_start_point) },
|
||||
{ be_const_key(get_series_area, 33), be_const_func(lvbe_chart_get_series_area) },
|
||||
{ be_const_key(get_y_from_index, -1), be_const_func(lvbe_chart_get_y_from_index) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_chart_map,
|
||||
37
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,24 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_checkbox_map) {
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_checkbox_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(get_state, -1), be_const_func(lvbe_checkbox_get_state) },
|
||||
{ be_const_key(is_checked, 7), be_const_func(lvbe_checkbox_is_checked) },
|
||||
{ be_const_key(dot_p, 4), be_const_int(0) },
|
||||
{ be_const_key(create, 9), be_const_func(lvbe_checkbox_create) },
|
||||
{ be_const_key(set_state, -1), be_const_func(lvbe_checkbox_set_state) },
|
||||
{ be_const_key(is_inactive, 10), be_const_func(lvbe_checkbox_is_inactive) },
|
||||
{ be_const_key(set_disabled, -1), be_const_func(lvbe_checkbox_set_disabled) },
|
||||
{ be_const_key(set_checked, -1), be_const_func(lvbe_checkbox_set_checked) },
|
||||
{ be_const_key(get_text, -1), be_const_func(lvbe_checkbox_get_text) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_checkbox_create) },
|
||||
{ be_const_key(set_text, 3), be_const_func(lvbe_checkbox_set_text) },
|
||||
{ be_const_key(set_text_static, 2), be_const_func(lvbe_checkbox_set_text_static) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_checkbox_map,
|
||||
13
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,24 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_cont_map) {
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_cont_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(get_layout, -1), be_const_func(lvbe_cont_get_layout) },
|
||||
{ be_const_key(set_fit2, -1), be_const_func(lvbe_cont_set_fit2) },
|
||||
{ be_const_key(set_fit, -1), be_const_func(lvbe_cont_set_fit) },
|
||||
{ be_const_key(get_fit_top, -1), be_const_func(lvbe_cont_get_fit_top) },
|
||||
{ be_const_key(get_fit_bottom, -1), be_const_func(lvbe_cont_get_fit_bottom) },
|
||||
{ be_const_key(init, 9), be_const_func(lvbe_cont_create) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_cont_create) },
|
||||
{ be_const_key(get_fit_right, 1), be_const_func(lvbe_cont_get_fit_right) },
|
||||
{ be_const_key(get_fit_left, -1), be_const_func(lvbe_cont_get_fit_left) },
|
||||
{ be_const_key(set_layout, -1), be_const_func(lvbe_cont_set_layout) },
|
||||
{ be_const_key(dot_p, 7), be_const_int(0) },
|
||||
{ be_const_key(set_fit4, -1), be_const_func(lvbe_cont_set_fit4) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_cont_map,
|
||||
13
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -2,31 +2,14 @@
|
|||
|
||||
static be_define_const_map_slots(be_class_lv_cpicker_map) {
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_cpicker_create) },
|
||||
{ be_const_key(get_hue, -1), be_const_func(lvbe_cpicker_get_hue) },
|
||||
{ be_const_key(get_value, -1), be_const_func(lvbe_cpicker_get_value) },
|
||||
{ be_const_key(set_color, 13), be_const_func(lvbe_cpicker_set_color) },
|
||||
{ be_const_key(set_color_mode, -1), be_const_func(lvbe_cpicker_set_color_mode) },
|
||||
{ be_const_key(get_knob_colored, 15), be_const_func(lvbe_cpicker_get_knob_colored) },
|
||||
{ be_const_key(get_color_mode, -1), be_const_func(lvbe_cpicker_get_color_mode) },
|
||||
{ be_const_key(set_hsv, 18), be_const_func(lvbe_cpicker_set_hsv) },
|
||||
{ be_const_key(set_saturation, -1), be_const_func(lvbe_cpicker_set_saturation) },
|
||||
{ be_const_key(set_knob_colored, -1), be_const_func(lvbe_cpicker_set_knob_colored) },
|
||||
{ be_const_key(set_hue, 17), be_const_func(lvbe_cpicker_set_hue) },
|
||||
{ be_const_key(set_color_mode_fixed, -1), be_const_func(lvbe_cpicker_set_color_mode_fixed) },
|
||||
{ be_const_key(set_value, 0), be_const_func(lvbe_cpicker_set_value) },
|
||||
{ be_const_key(set_type, -1), be_const_func(lvbe_cpicker_set_type) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_cpicker_create) },
|
||||
{ be_const_key(get_color, 16), be_const_func(lvbe_cpicker_get_color) },
|
||||
{ be_const_key(get_color_mode_fixed, -1), be_const_func(lvbe_cpicker_get_color_mode_fixed) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(get_saturation, -1), be_const_func(lvbe_cpicker_get_saturation) },
|
||||
{ be_const_key(get_hsv, -1), be_const_func(lvbe_cpicker_get_hsv) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_cpicker_map,
|
||||
21
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,36 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_dropdown_map) {
|
||||
{ be_const_key(get_selected, -1), be_const_func(lvbe_dropdown_get_selected) },
|
||||
{ be_const_key(get_show_selected, -1), be_const_func(lvbe_dropdown_get_show_selected) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_dropdown_create) },
|
||||
{ be_const_key(set_symbol, 18), be_const_func(lvbe_dropdown_set_symbol) },
|
||||
{ be_const_key(get_text, -1), be_const_func(lvbe_dropdown_get_text) },
|
||||
{ be_const_key(set_text, 2), be_const_func(lvbe_dropdown_set_text) },
|
||||
{ be_const_key(set_dir, 8), be_const_func(lvbe_dropdown_set_dir) },
|
||||
{ be_const_key(get_dir, -1), be_const_func(lvbe_dropdown_get_dir) },
|
||||
{ be_const_key(get_option_cnt, -1), be_const_func(lvbe_dropdown_get_option_cnt) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_dropdown_create) },
|
||||
{ be_const_key(set_selected, -1), be_const_func(lvbe_dropdown_set_selected) },
|
||||
{ be_const_key(dot_p, 24), be_const_int(0) },
|
||||
{ be_const_key(open, 7), be_const_func(lvbe_dropdown_open) },
|
||||
{ be_const_key(set_max_height, -1), be_const_func(lvbe_dropdown_set_max_height) },
|
||||
{ be_const_key(add_option, -1), be_const_func(lvbe_dropdown_add_option) },
|
||||
{ be_const_key(set_show_selected, 16), be_const_func(lvbe_dropdown_set_show_selected) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_dropdown_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_options_static, 9), be_const_func(lvbe_dropdown_set_options_static) },
|
||||
{ be_const_key(clear_options, -1), be_const_func(lvbe_dropdown_clear_options) },
|
||||
{ be_const_key(get_max_height, 11), be_const_func(lvbe_dropdown_get_max_height) },
|
||||
{ be_const_key(set_options, 15), be_const_func(lvbe_dropdown_set_options) },
|
||||
{ be_const_key(close, -1), be_const_func(lvbe_dropdown_close) },
|
||||
{ be_const_key(get_selected_str, -1), be_const_func(lvbe_dropdown_get_selected_str) },
|
||||
{ be_const_key(get_symbol, 13), be_const_func(lvbe_dropdown_get_symbol) },
|
||||
{ be_const_key(get_options, -1), be_const_func(lvbe_dropdown_get_options) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_dropdown_map,
|
||||
25
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,35 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_gauge_map) {
|
||||
{ be_const_key(get_needle_img_pivot_y, -1), be_const_func(lvbe_gauge_get_needle_img_pivot_y) },
|
||||
{ be_const_key(get_needle_img_pivot_x, -1), be_const_func(lvbe_gauge_get_needle_img_pivot_x) },
|
||||
{ be_const_key(get_line_count, -1), be_const_func(lvbe_gauge_get_line_count) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_gauge_create) },
|
||||
{ be_const_key(dot_p, 20), be_const_int(0) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_gauge_create) },
|
||||
{ be_const_key(get_min_value, 2), be_const_func(lvbe_gauge_get_min_value) },
|
||||
{ be_const_key(set_range, -1), be_const_func(lvbe_gauge_set_range) },
|
||||
{ be_const_key(get_max_value, -1), be_const_func(lvbe_gauge_get_max_value) },
|
||||
{ be_const_key(get_value, 7), be_const_func(lvbe_gauge_get_value) },
|
||||
{ be_const_key(get_label_count, -1), be_const_func(lvbe_gauge_get_label_count) },
|
||||
{ be_const_key(set_needle_img, 1), be_const_func(lvbe_gauge_set_needle_img) },
|
||||
{ be_const_key(get_needle_count, -1), be_const_func(lvbe_gauge_get_needle_count) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_gauge_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_scale, -1), be_const_func(lvbe_gauge_set_scale) },
|
||||
{ be_const_key(set_critical_value, 16), be_const_func(lvbe_gauge_set_critical_value) },
|
||||
{ be_const_key(get_angle_offset, -1), be_const_func(lvbe_gauge_get_angle_offset) },
|
||||
{ be_const_key(get_critical_value, -1), be_const_func(lvbe_gauge_get_critical_value) },
|
||||
{ be_const_key(set_formatter_cb, -1), be_const_func(lvbe_gauge_set_formatter_cb) },
|
||||
{ be_const_key(set_needle_count, 4), be_const_func(lvbe_gauge_set_needle_count) },
|
||||
{ be_const_key(set_angle_offset, 17), be_const_func(lvbe_gauge_set_angle_offset) },
|
||||
{ be_const_key(set_value, -1), be_const_func(lvbe_gauge_set_value) },
|
||||
{ be_const_key(get_scale_angle, -1), be_const_func(lvbe_gauge_get_scale_angle) },
|
||||
{ be_const_key(get_needle_img, 12), be_const_func(lvbe_gauge_get_needle_img) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_gauge_map,
|
||||
24
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,33 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_group_map) {
|
||||
{ be_const_key(get_editing, -1), be_const_func(lvbe_group_get_editing) },
|
||||
{ be_const_key(focus_freeze, -1), be_const_func(lvbe_group_focus_freeze) },
|
||||
{ be_const_key(get_wrap, -1), be_const_func(lvbe_group_get_wrap) },
|
||||
{ be_const_key(tostring, 20), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(remove_all_objs, 21), be_const_func(lvbe_group_remove_all_objs) },
|
||||
{ be_const_key(remove_obj, 10), be_const_func(lvbe_group_remove_obj) },
|
||||
{ be_const_key(add_obj, -1), be_const_func(lvbe_group_add_obj) },
|
||||
{ be_const_key(focus_obj, -1), be_const_func(lvbe_group_focus_obj) },
|
||||
{ be_const_key(set_focus_cb, -1), be_const_func(lvbe_group_set_focus_cb) },
|
||||
{ be_const_key(get_click_focus, 14), be_const_func(lvbe_group_get_click_focus) },
|
||||
{ be_const_key(focus_next, -1), be_const_func(lvbe_group_focus_next) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_group_create) },
|
||||
{ be_const_key(set_refocus_policy, 15), be_const_func(lvbe_group_set_refocus_policy) },
|
||||
{ be_const_key(get_focused, -1), be_const_func(lvbe_group_get_focused) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_group_create) },
|
||||
{ be_const_key(send_data, -1), be_const_func(lvbe_group_send_data) },
|
||||
{ be_const_key(set_editing, -1), be_const_func(lvbe_group_set_editing) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_group_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(set_wrap, -1), be_const_func(lvbe_group_set_wrap) },
|
||||
{ be_const_key(set_click_focus, 17), be_const_func(lvbe_group_set_click_focus) },
|
||||
{ be_const_key(focus_prev, -1), be_const_func(lvbe_group_focus_prev) },
|
||||
{ be_const_key(del, -1), be_const_func(lvbe_group_del) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_group_map,
|
||||
22
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,33 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_img_map) {
|
||||
{ be_const_key(get_offset_y, -1), be_const_func(lvbe_img_get_offset_y) },
|
||||
{ be_const_key(get_zoom, 2), be_const_func(lvbe_img_get_zoom) },
|
||||
{ be_const_key(set_tasmota_logo, -1), be_const_func(lvbe_img_set_tasmota_logo) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_img_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(get_pivot, 15), be_const_func(lvbe_img_get_pivot) },
|
||||
{ be_const_key(get_auto_size, 1), be_const_func(lvbe_img_get_auto_size) },
|
||||
{ be_const_key(get_offset_x, 4), be_const_func(lvbe_img_get_offset_x) },
|
||||
{ be_const_key(set_angle, 0), be_const_func(lvbe_img_set_angle) },
|
||||
{ be_const_key(get_src, -1), be_const_func(lvbe_img_get_src) },
|
||||
{ be_const_key(set_zoom, 12), be_const_func(lvbe_img_set_zoom) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_img_create) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_img_create) },
|
||||
{ be_const_key(get_angle, -1), be_const_func(lvbe_img_get_angle) },
|
||||
{ be_const_key(set_src, -1), be_const_func(lvbe_img_set_src) },
|
||||
{ be_const_key(set_pivot, 17), be_const_func(lvbe_img_set_pivot) },
|
||||
{ be_const_key(set_antialias, -1), be_const_func(lvbe_img_set_antialias) },
|
||||
{ be_const_key(get_antialias, -1), be_const_func(lvbe_img_get_antialias) },
|
||||
{ be_const_key(set_offset_x, -1), be_const_func(lvbe_img_set_offset_x) },
|
||||
{ be_const_key(set_offset_y, 10), be_const_func(lvbe_img_set_offset_y) },
|
||||
{ be_const_key(get_file_name, -1), be_const_func(lvbe_img_get_file_name) },
|
||||
{ be_const_key(set_auto_size, -1), be_const_func(lvbe_img_set_auto_size) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_img_map,
|
||||
22
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,21 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_imgbtn_map) {
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(set_state, -1), be_const_func(lvbe_imgbtn_set_state) },
|
||||
{ be_const_key(set_checkable, -1), be_const_func(lvbe_imgbtn_set_checkable) },
|
||||
{ be_const_key(toggle, 1), be_const_func(lvbe_imgbtn_toggle) },
|
||||
{ be_const_key(get_src, -1), be_const_func(lvbe_imgbtn_get_src) },
|
||||
{ be_const_key(init, 6), be_const_func(lvbe_imgbtn_create) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_imgbtn_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_imgbtn_create) },
|
||||
{ be_const_key(set_src, -1), be_const_func(lvbe_imgbtn_set_src) },
|
||||
{ be_const_key(get_state, 0), be_const_func(lvbe_imgbtn_get_state) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_imgbtn_map,
|
||||
10
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,19 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_indev_map) {
|
||||
{ be_const_key(get_type, -1), be_const_func(lvbe_indev_get_type) },
|
||||
{ be_const_key(search_obj, -1), be_const_func(lvbe_indev_search_obj) },
|
||||
{ be_const_key(get_obj_act, -1), be_const_func(lvbe_indev_get_obj_act) },
|
||||
{ be_const_key(init, 4), be_const_func(lv0_init) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(init, 2), be_const_func(lv0_init) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(enable, -1), be_const_func(lvbe_indev_enable) },
|
||||
{ be_const_key(set_group, 1), be_const_func(lvbe_indev_set_group) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_indev_map,
|
||||
8
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,24 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_keyboard_map) {
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_keyboard_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_ctrl_map, 3), be_const_func(lvbe_keyboard_set_ctrl_map) },
|
||||
{ be_const_key(def_event_cb, 8), be_const_func(lvbe_keyboard_def_event_cb) },
|
||||
{ be_const_key(set_textarea, 9), be_const_func(lvbe_keyboard_set_textarea) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_keyboard_create) },
|
||||
{ be_const_key(get_mode, 7), be_const_func(lvbe_keyboard_get_mode) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_keyboard_create) },
|
||||
{ be_const_key(set_cursor_manage, -1), be_const_func(lvbe_keyboard_set_cursor_manage) },
|
||||
{ be_const_key(set_map, -1), be_const_func(lvbe_keyboard_set_map) },
|
||||
{ be_const_key(set_mode, -1), be_const_func(lvbe_keyboard_set_mode) },
|
||||
{ be_const_key(get_textarea, -1), be_const_func(lvbe_keyboard_get_textarea) },
|
||||
{ be_const_key(dot_p, 4), be_const_int(0) },
|
||||
{ be_const_key(get_cursor_manage, 1), be_const_func(lvbe_keyboard_get_cursor_manage) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_keyboard_map,
|
||||
13
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,37 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_label_map) {
|
||||
{ be_const_key(get_letter_on, -1), be_const_func(lvbe_label_get_letter_on) },
|
||||
{ be_const_key(create, 14), be_const_func(lvbe_label_create) },
|
||||
{ be_const_key(is_char_under_pos, -1), be_const_func(lvbe_label_is_char_under_pos) },
|
||||
{ be_const_key(ins_text, -1), be_const_func(lvbe_label_ins_text) },
|
||||
{ be_const_key(set_text_static, -1), be_const_func(lvbe_label_set_text_static) },
|
||||
{ be_const_key(set_anim_speed, -1), be_const_func(lvbe_label_set_anim_speed) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_label_create) },
|
||||
{ be_const_key(get_text_sel_start, -1), be_const_func(lvbe_label_get_text_sel_start) },
|
||||
{ be_const_key(set_recolor, 15), be_const_func(lvbe_label_set_recolor) },
|
||||
{ be_const_key(get_letter_pos, 23), be_const_func(lvbe_label_get_letter_pos) },
|
||||
{ be_const_key(get_text_sel_end, -1), be_const_func(lvbe_label_get_text_sel_end) },
|
||||
{ be_const_key(set_text_sel_start, 1), be_const_func(lvbe_label_set_text_sel_start) },
|
||||
{ be_const_key(refr_text, 4), be_const_func(lvbe_label_refr_text) },
|
||||
{ be_const_key(cut_text, 9), be_const_func(lvbe_label_cut_text) },
|
||||
{ be_const_key(get_text, 16), be_const_func(lvbe_label_get_text) },
|
||||
{ be_const_key(set_long_mode, -1), be_const_func(lvbe_label_set_long_mode) },
|
||||
{ be_const_key(set_text, 17), be_const_func(lvbe_label_set_text) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_label_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(get_long_mode, -1), be_const_func(lvbe_label_get_long_mode) },
|
||||
{ be_const_key(get_align, 6), be_const_func(lvbe_label_get_align) },
|
||||
{ be_const_key(set_text_sel_end, 2), be_const_func(lvbe_label_set_text_sel_end) },
|
||||
{ be_const_key(set_text_fmt, -1), be_const_func(lvbe_label_set_text_fmt) },
|
||||
{ be_const_key(get_recolor, -1), be_const_func(lvbe_label_get_recolor) },
|
||||
{ be_const_key(tostring, 24), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(get_anim_speed, -1), be_const_func(lvbe_label_get_anim_speed) },
|
||||
{ be_const_key(set_align, -1), be_const_func(lvbe_label_set_align) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_label_map,
|
||||
26
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,20 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_led_map) {
|
||||
{ be_const_key(get_bright, -1), be_const_func(lvbe_led_get_bright) },
|
||||
{ be_const_key(toggle, 4), be_const_func(lvbe_led_toggle) },
|
||||
{ be_const_key(on, -1), be_const_func(lvbe_led_on) },
|
||||
{ be_const_key(set_bright, -1), be_const_func(lvbe_led_set_bright) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(off, 8), be_const_func(lvbe_led_off) },
|
||||
{ be_const_key(init, 3), be_const_func(lvbe_led_create) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_led_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_led_create) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_led_map,
|
||||
9
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,20 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_line_map) {
|
||||
{ be_const_key(get_y_invert, -1), be_const_func(lvbe_line_get_y_invert) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(get_auto_size, -1), be_const_func(lvbe_line_get_auto_size) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_line_create) },
|
||||
{ be_const_key(set_auto_size, -1), be_const_func(lvbe_line_set_auto_size) },
|
||||
{ be_const_key(set_points, 8), be_const_func(lvbe_line_set_points) },
|
||||
{ be_const_key(set_y_invert, 3), be_const_func(lvbe_line_set_y_invert) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_line_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_line_create) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_line_map,
|
||||
9
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,28 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_linemeter_map) {
|
||||
{ be_const_key(set_mirror, 9), be_const_func(lvbe_linemeter_set_mirror) },
|
||||
{ be_const_key(get_max_value, 10), be_const_func(lvbe_linemeter_get_max_value) },
|
||||
{ be_const_key(tostring, 12), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_value, -1), be_const_func(lvbe_linemeter_set_value) },
|
||||
{ be_const_key(set_angle_offset, -1), be_const_func(lvbe_linemeter_set_angle_offset) },
|
||||
{ be_const_key(draw_scale, -1), be_const_func(lvbe_linemeter_draw_scale) },
|
||||
{ be_const_key(get_mirror, 11), be_const_func(lvbe_linemeter_get_mirror) },
|
||||
{ be_const_key(get_line_count, -1), be_const_func(lvbe_linemeter_get_line_count) },
|
||||
{ be_const_key(set_scale, -1), be_const_func(lvbe_linemeter_set_scale) },
|
||||
{ be_const_key(get_value, -1), be_const_func(lvbe_linemeter_get_value) },
|
||||
{ be_const_key(get_scale_angle, -1), be_const_func(lvbe_linemeter_get_scale_angle) },
|
||||
{ be_const_key(get_angle_offset, -1), be_const_func(lvbe_linemeter_get_angle_offset) },
|
||||
{ be_const_key(set_range, -1), be_const_func(lvbe_linemeter_set_range) },
|
||||
{ be_const_key(dot_p, 5), be_const_int(0) },
|
||||
{ be_const_key(get_min_value, -1), be_const_func(lvbe_linemeter_get_min_value) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_linemeter_create) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_linemeter_create) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_linemeter_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_linemeter_map,
|
||||
17
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,40 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_list_map) {
|
||||
{ be_const_key(remove, -1), be_const_func(lvbe_list_remove) },
|
||||
{ be_const_key(get_edge_flash, 16), be_const_func(lvbe_list_get_edge_flash) },
|
||||
{ be_const_key(get_anim_time, -1), be_const_func(lvbe_list_get_anim_time) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_list_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(get_btn_label, 24), be_const_func(lvbe_list_get_btn_label) },
|
||||
{ be_const_key(up, -1), be_const_func(lvbe_list_up) },
|
||||
{ be_const_key(get_scrollbar_mode, -1), be_const_func(lvbe_list_get_scrollbar_mode) },
|
||||
{ be_const_key(get_prev_btn, 28), be_const_func(lvbe_list_get_prev_btn) },
|
||||
{ be_const_key(get_scroll_propagation, 14), be_const_func(lvbe_list_get_scroll_propagation) },
|
||||
{ be_const_key(focus, 13), be_const_func(lvbe_list_focus) },
|
||||
{ be_const_key(get_layout, 4), be_const_func(lvbe_list_get_layout) },
|
||||
{ be_const_key(down, -1), be_const_func(lvbe_list_down) },
|
||||
{ be_const_key(get_btn_index, -1), be_const_func(lvbe_list_get_btn_index) },
|
||||
{ be_const_key(clean, -1), be_const_func(lvbe_list_clean) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_list_create) },
|
||||
{ be_const_key(get_next_btn, -1), be_const_func(lvbe_list_get_next_btn) },
|
||||
{ be_const_key(get_btn_img, -1), be_const_func(lvbe_list_get_btn_img) },
|
||||
{ be_const_key(get_btn_selected, -1), be_const_func(lvbe_list_get_btn_selected) },
|
||||
{ be_const_key(set_edge_flash, -1), be_const_func(lvbe_list_set_edge_flash) },
|
||||
{ be_const_key(get_btn_text, -1), be_const_func(lvbe_list_get_btn_text) },
|
||||
{ be_const_key(set_layout, -1), be_const_func(lvbe_list_set_layout) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(set_scrollbar_mode, -1), be_const_func(lvbe_list_set_scrollbar_mode) },
|
||||
{ be_const_key(focus_btn, -1), be_const_func(lvbe_list_focus_btn) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_list_create) },
|
||||
{ be_const_key(set_scroll_propagation, 27), be_const_func(lvbe_list_set_scroll_propagation) },
|
||||
{ be_const_key(get_size, 20), be_const_func(lvbe_list_get_size) },
|
||||
{ be_const_key(set_anim_time, -1), be_const_func(lvbe_list_set_anim_time) },
|
||||
{ be_const_key(add_btn, -1), be_const_func(lvbe_list_add_btn) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_list_map,
|
||||
29
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,28 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_msgbox_map) {
|
||||
{ be_const_key(get_text, 12), be_const_func(lvbe_msgbox_get_text) },
|
||||
{ be_const_key(set_anim_time, 3), be_const_func(lvbe_msgbox_set_anim_time) },
|
||||
{ be_const_key(tostring, 0), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(add_btns, 4), be_const_func(lvbe_msgbox_add_btns) },
|
||||
{ be_const_key(get_active_btn, -1), be_const_func(lvbe_msgbox_get_active_btn) },
|
||||
{ be_const_key(stop_auto_close, -1), be_const_func(lvbe_msgbox_stop_auto_close) },
|
||||
{ be_const_key(start_auto_close, -1), be_const_func(lvbe_msgbox_start_auto_close) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_msgbox_create) },
|
||||
{ be_const_key(get_btnmatrix, -1), be_const_func(lvbe_msgbox_get_btnmatrix) },
|
||||
{ be_const_key(get_anim_time, 6), be_const_func(lvbe_msgbox_get_anim_time) },
|
||||
{ be_const_key(set_text_fmt, -1), be_const_func(lvbe_msgbox_set_text_fmt) },
|
||||
{ be_const_key(set_recolor, 10), be_const_func(lvbe_msgbox_set_recolor) },
|
||||
{ be_const_key(get_active_btn_text, -1), be_const_func(lvbe_msgbox_get_active_btn_text) },
|
||||
{ be_const_key(dot_p, 8), be_const_int(0) },
|
||||
{ be_const_key(get_recolor, -1), be_const_func(lvbe_msgbox_get_recolor) },
|
||||
{ be_const_key(set_text, 7), be_const_func(lvbe_msgbox_set_text) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_msgbox_create) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_msgbox_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_msgbox_map,
|
||||
17
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,314 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_obj_map) {
|
||||
{ be_const_key(set_style_local_value_line_space, -1), be_const_func(lvbe_obj_set_style_local_value_line_space) },
|
||||
{ be_const_key(get_style_scale_width, 160), be_const_func(lvbe_obj_get_style_scale_width) },
|
||||
{ be_const_key(set_style_local_line_opa, 109), be_const_func(lvbe_obj_set_style_local_line_opa) },
|
||||
{ be_const_key(get_style_border_color, -1), be_const_func(lvbe_obj_get_style_border_color) },
|
||||
{ be_const_key(set_style_local_scale_border_width, -1), be_const_func(lvbe_obj_set_style_local_scale_border_width) },
|
||||
{ be_const_key(get_style_shadow_color, 254), be_const_func(lvbe_obj_get_style_shadow_color) },
|
||||
{ be_const_key(get_style_line_dash_gap, -1), be_const_func(lvbe_obj_get_style_line_dash_gap) },
|
||||
{ be_const_key(get_height, -1), be_const_func(lvbe_obj_get_height) },
|
||||
{ be_const_key(get_style_transform_angle, 21), be_const_func(lvbe_obj_get_style_transform_angle) },
|
||||
{ be_const_key(get_style_image_recolor_opa, 277), be_const_func(lvbe_obj_get_style_image_recolor_opa) },
|
||||
{ be_const_key(get_group, 129), be_const_func(lvbe_obj_get_group) },
|
||||
{ be_const_key(set_style_local_text_color, -1), be_const_func(lvbe_obj_set_style_local_text_color) },
|
||||
{ be_const_key(get_style_pattern_recolor_opa, -1), be_const_func(lvbe_obj_get_style_pattern_recolor_opa) },
|
||||
{ be_const_key(get_local_style, -1), be_const_func(lvbe_obj_get_local_style) },
|
||||
{ be_const_key(fade_in, -1), be_const_func(lvbe_obj_fade_in) },
|
||||
{ be_const_key(get_style_value_line_space, 215), be_const_func(lvbe_obj_get_style_value_line_space) },
|
||||
{ be_const_key(set_style_local_line_blend_mode, 186), be_const_func(lvbe_obj_set_style_local_line_blend_mode) },
|
||||
{ be_const_key(get_style_size, -1), be_const_func(lvbe_obj_get_style_size) },
|
||||
{ be_const_key(set_style_local_shadow_opa, -1), be_const_func(lvbe_obj_set_style_local_shadow_opa) },
|
||||
{ be_const_key(get_drag_throw, 211), be_const_func(lvbe_obj_get_drag_throw) },
|
||||
{ be_const_key(get_style_line_width, 38), be_const_func(lvbe_obj_get_style_line_width) },
|
||||
{ be_const_key(set_drag_throw, 252), be_const_func(lvbe_obj_set_drag_throw) },
|
||||
{ be_const_key(set_style_local_image_opa, 287), be_const_func(lvbe_obj_set_style_local_image_opa) },
|
||||
{ be_const_key(init_draw_label_dsc, 60), be_const_func(lvbe_obj_init_draw_label_dsc) },
|
||||
{ be_const_key(get_style_shadow_ofs_y, -1), be_const_func(lvbe_obj_get_style_shadow_ofs_y) },
|
||||
{ be_const_key(set_style_local_pattern_blend_mode, 194), be_const_func(lvbe_obj_set_style_local_pattern_blend_mode) },
|
||||
{ be_const_key(set_style_local_value_blend_mode, 81), be_const_func(lvbe_obj_set_style_local_value_blend_mode) },
|
||||
{ be_const_key(set_size, -1), be_const_func(lvbe_obj_set_size) },
|
||||
{ be_const_key(set_focus_parent, -1), be_const_func(lvbe_obj_set_focus_parent) },
|
||||
{ be_const_key(get_screen, -1), be_const_func(lvbe_obj_get_screen) },
|
||||
{ be_const_key(get_ext_click_pad_top, -1), be_const_func(lvbe_obj_get_ext_click_pad_top) },
|
||||
{ be_const_key(set_style_local_value_ofs_y, -1), be_const_func(lvbe_obj_set_style_local_value_ofs_y) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_obj_create) },
|
||||
{ be_const_key(get_style_pattern_image, -1), be_const_func(lvbe_obj_get_style_pattern_image) },
|
||||
{ be_const_key(get_style_line_opa, -1), be_const_func(lvbe_obj_get_style_line_opa) },
|
||||
{ be_const_key(set_state, 180), be_const_func(lvbe_obj_set_state) },
|
||||
{ be_const_key(get_style_outline_opa, 22), be_const_func(lvbe_obj_get_style_outline_opa) },
|
||||
{ be_const_key(set_style_local_transition_path, 52), be_const_func(lvbe_obj_set_style_local_transition_path) },
|
||||
{ be_const_key(set_style_local_bg_main_stop, -1), be_const_func(lvbe_obj_set_style_local_bg_main_stop) },
|
||||
{ be_const_key(get_inner_coords, 301), be_const_func(lvbe_obj_get_inner_coords) },
|
||||
{ be_const_key(set_style_local_scale_end_border_width, -1), be_const_func(lvbe_obj_set_style_local_scale_end_border_width) },
|
||||
{ be_const_key(set_style_local_pattern_repeat, 62), be_const_func(lvbe_obj_set_style_local_pattern_repeat) },
|
||||
{ be_const_key(set_style_local_bg_color, 64), be_const_func(lvbe_obj_set_style_local_bg_color) },
|
||||
{ be_const_key(set_click, 268), be_const_func(lvbe_obj_set_click) },
|
||||
{ be_const_key(get_style_text_letter_space, 245), be_const_func(lvbe_obj_get_style_text_letter_space) },
|
||||
{ be_const_key(set_style_local_pad_top, -1), be_const_func(lvbe_obj_set_style_local_pad_top) },
|
||||
{ be_const_key(set_style_local_border_width, -1), be_const_func(lvbe_obj_set_style_local_border_width) },
|
||||
{ be_const_key(get_style_transform_height, 184), be_const_func(lvbe_obj_get_style_transform_height) },
|
||||
{ be_const_key(get_ext_click_pad_bottom, -1), be_const_func(lvbe_obj_get_ext_click_pad_bottom) },
|
||||
{ be_const_key(get_drag_parent, -1), be_const_func(lvbe_obj_get_drag_parent) },
|
||||
{ be_const_key(get_style_line_dash_width, 266), be_const_func(lvbe_obj_get_style_line_dash_width) },
|
||||
{ be_const_key(get_style_bg_grad_stop, -1), be_const_func(lvbe_obj_get_style_bg_grad_stop) },
|
||||
{ be_const_key(move_background, -1), be_const_func(lvbe_obj_move_background) },
|
||||
{ be_const_key(get_style_line_color, -1), be_const_func(lvbe_obj_get_style_line_color) },
|
||||
{ be_const_key(get_style_margin_right, -1), be_const_func(lvbe_obj_get_style_margin_right) },
|
||||
{ be_const_key(get_style_image_recolor, -1), be_const_func(lvbe_obj_get_style_image_recolor) },
|
||||
{ be_const_key(add_state, -1), be_const_func(lvbe_obj_add_state) },
|
||||
{ be_const_key(set_design_cb, -1), be_const_func(lvbe_obj_set_design_cb) },
|
||||
{ be_const_key(set_style_local_bg_blend_mode, -1), be_const_func(lvbe_obj_set_style_local_bg_blend_mode) },
|
||||
{ be_const_key(get_style_shadow_blend_mode, -1), be_const_func(lvbe_obj_get_style_shadow_blend_mode) },
|
||||
{ be_const_key(set_style_local_transition_delay, 195), be_const_func(lvbe_obj_set_style_local_transition_delay) },
|
||||
{ be_const_key(align_x, 93), be_const_func(lvbe_obj_align_x) },
|
||||
{ be_const_key(get_style_bg_main_stop, 168), be_const_func(lvbe_obj_get_style_bg_main_stop) },
|
||||
{ be_const_key(get_style_border_width, 74), be_const_func(lvbe_obj_get_style_border_width) },
|
||||
{ be_const_key(get_style_border_blend_mode, -1), be_const_func(lvbe_obj_get_style_border_blend_mode) },
|
||||
{ be_const_key(clear_protect, -1), be_const_func(lvbe_obj_clear_protect) },
|
||||
{ be_const_key(move_foreground, -1), be_const_func(lvbe_obj_move_foreground) },
|
||||
{ be_const_key(get_style_bg_grad_dir, -1), be_const_func(lvbe_obj_get_style_bg_grad_dir) },
|
||||
{ be_const_key(set_style_local_transition_prop_2, -1), be_const_func(lvbe_obj_set_style_local_transition_prop_2) },
|
||||
{ be_const_key(set_style_local_pad_inner, -1), be_const_func(lvbe_obj_set_style_local_pad_inner) },
|
||||
{ be_const_key(get_style_border_opa, -1), be_const_func(lvbe_obj_get_style_border_opa) },
|
||||
{ be_const_key(set_style_local_border_opa, -1), be_const_func(lvbe_obj_set_style_local_border_opa) },
|
||||
{ be_const_key(set_style_local_line_color, -1), be_const_func(lvbe_obj_set_style_local_line_color) },
|
||||
{ be_const_key(get_style_line_blend_mode, -1), be_const_func(lvbe_obj_get_style_line_blend_mode) },
|
||||
{ be_const_key(get_style_text_sel_color, -1), be_const_func(lvbe_obj_get_style_text_sel_color) },
|
||||
{ be_const_key(set_style_local_shadow_ofs_x, -1), be_const_func(lvbe_obj_set_style_local_shadow_ofs_x) },
|
||||
{ be_const_key(set_style_local_radius, 267), be_const_func(lvbe_obj_set_style_local_radius) },
|
||||
{ be_const_key(init_draw_line_dsc, -1), be_const_func(lvbe_obj_init_draw_line_dsc) },
|
||||
{ be_const_key(is_focused, -1), be_const_func(lvbe_obj_is_focused) },
|
||||
{ be_const_key(get_adv_hittest, 116), be_const_func(lvbe_obj_get_adv_hittest) },
|
||||
{ be_const_key(set_style_local_text_letter_space, -1), be_const_func(lvbe_obj_set_style_local_text_letter_space) },
|
||||
{ be_const_key(get_click, -1), be_const_func(lvbe_obj_get_click) },
|
||||
{ be_const_key(get_style_shadow_spread, -1), be_const_func(lvbe_obj_get_style_shadow_spread) },
|
||||
{ be_const_key(set_style_local_outline_pad, -1), be_const_func(lvbe_obj_set_style_local_outline_pad) },
|
||||
{ be_const_key(set_event_cb, 131), be_const_func(lvbe_obj_set_event_cb) },
|
||||
{ be_const_key(realign, 94), be_const_func(lvbe_obj_realign) },
|
||||
{ be_const_key(set_parent_event, 191), be_const_func(lvbe_obj_set_parent_event) },
|
||||
{ be_const_key(get_style_value_ofs_y, -1), be_const_func(lvbe_obj_get_style_value_ofs_y) },
|
||||
{ be_const_key(get_focus_parent, 117), be_const_func(lvbe_obj_get_focus_parent) },
|
||||
{ be_const_key(clean, 170), be_const_func(lvbe_obj_clean) },
|
||||
{ be_const_key(set_ext_click_area, -1), be_const_func(lvbe_obj_set_ext_click_area) },
|
||||
{ be_const_key(get_style_pattern_recolor, 133), be_const_func(lvbe_obj_get_style_pattern_recolor) },
|
||||
{ be_const_key(get_coords, -1), be_const_func(lvbe_obj_get_coords) },
|
||||
{ be_const_key(get_width_margin, -1), be_const_func(lvbe_obj_get_width_margin) },
|
||||
{ be_const_key(set_gesture_parent, 130), be_const_func(lvbe_obj_set_gesture_parent) },
|
||||
{ be_const_key(get_ext_click_pad_right, 57), be_const_func(lvbe_obj_get_ext_click_pad_right) },
|
||||
{ be_const_key(set_style_local_clip_corner, -1), be_const_func(lvbe_obj_set_style_local_clip_corner) },
|
||||
{ be_const_key(invalidate_area, 236), be_const_func(lvbe_obj_invalidate_area) },
|
||||
{ be_const_key(is_point_on_coords, -1), be_const_func(lvbe_obj_is_point_on_coords) },
|
||||
{ be_const_key(set_style_local_bg_grad_stop, -1), be_const_func(lvbe_obj_set_style_local_bg_grad_stop) },
|
||||
{ be_const_key(get_style_pad_bottom, 119), be_const_func(lvbe_obj_get_style_pad_bottom) },
|
||||
{ be_const_key(set_style_local_transform_angle, -1), be_const_func(lvbe_obj_set_style_local_transform_angle) },
|
||||
{ be_const_key(get_style_pad_right, 67), be_const_func(lvbe_obj_get_style_pad_right) },
|
||||
{ be_const_key(set_style_local_transform_height, -1), be_const_func(lvbe_obj_set_style_local_transform_height) },
|
||||
{ be_const_key(set_style_local_transition_prop_1, -1), be_const_func(lvbe_obj_set_style_local_transition_prop_1) },
|
||||
{ be_const_key(set_style_local_pad_bottom, -1), be_const_func(lvbe_obj_set_style_local_pad_bottom) },
|
||||
{ be_const_key(set_style_local_scale_end_color, 141), be_const_func(lvbe_obj_set_style_local_scale_end_color) },
|
||||
{ be_const_key(get_drag_dir, -1), be_const_func(lvbe_obj_get_drag_dir) },
|
||||
{ be_const_key(get_child_back, -1), be_const_func(lvbe_obj_get_child_back) },
|
||||
{ be_const_key(set_style_local_outline_color, 138), be_const_func(lvbe_obj_set_style_local_outline_color) },
|
||||
{ be_const_key(set_adv_hittest, -1), be_const_func(lvbe_obj_set_adv_hittest) },
|
||||
{ be_const_key(init_draw_rect_dsc, 82), be_const_func(lvbe_obj_init_draw_rect_dsc) },
|
||||
{ be_const_key(get_parent_event, -1), be_const_func(lvbe_obj_get_parent_event) },
|
||||
{ be_const_key(get_style_transition_prop_4, -1), be_const_func(lvbe_obj_get_style_transition_prop_4) },
|
||||
{ be_const_key(set_style_local_pattern_image, 166), be_const_func(lvbe_obj_set_style_local_pattern_image) },
|
||||
{ be_const_key(set_style_local_margin_right, -1), be_const_func(lvbe_obj_set_style_local_margin_right) },
|
||||
{ be_const_key(get_hidden, -1), be_const_func(lvbe_obj_get_hidden) },
|
||||
{ be_const_key(get_user_data, 169), be_const_func(lvbe_obj_get_user_data) },
|
||||
{ be_const_key(get_style_pattern_blend_mode, 136), be_const_func(lvbe_obj_get_style_pattern_blend_mode) },
|
||||
{ be_const_key(get_style_transition_prop_6, -1), be_const_func(lvbe_obj_get_style_transition_prop_6) },
|
||||
{ be_const_key(get_style_value_letter_space, 33), be_const_func(lvbe_obj_get_style_value_letter_space) },
|
||||
{ be_const_key(get_style_shadow_ofs_x, 173), be_const_func(lvbe_obj_get_style_shadow_ofs_x) },
|
||||
{ be_const_key(get_style_value_blend_mode, -1), be_const_func(lvbe_obj_get_style_value_blend_mode) },
|
||||
{ be_const_key(get_height_fit, -1), be_const_func(lvbe_obj_get_height_fit) },
|
||||
{ be_const_key(set_style_local_shadow_blend_mode, -1), be_const_func(lvbe_obj_set_style_local_shadow_blend_mode) },
|
||||
{ be_const_key(area_is_visible, -1), be_const_func(lvbe_obj_area_is_visible) },
|
||||
{ be_const_key(set_style_local_size, -1), be_const_func(lvbe_obj_set_style_local_size) },
|
||||
{ be_const_key(set_style_local_bg_grad_color, -1), be_const_func(lvbe_obj_set_style_local_bg_grad_color) },
|
||||
{ be_const_key(get_style_transition_delay, -1), be_const_func(lvbe_obj_get_style_transition_delay) },
|
||||
{ be_const_key(get_type, -1), be_const_func(lvbe_obj_get_type) },
|
||||
{ be_const_key(get_protect, 265), be_const_func(lvbe_obj_get_protect) },
|
||||
{ be_const_key(get_auto_realign, -1), be_const_func(lvbe_obj_get_auto_realign) },
|
||||
{ be_const_key(get_style_clip_corner, -1), be_const_func(lvbe_obj_get_style_clip_corner) },
|
||||
{ be_const_key(get_style_transition_time, -1), be_const_func(lvbe_obj_get_style_transition_time) },
|
||||
{ be_const_key(get_style_margin_left, -1), be_const_func(lvbe_obj_get_style_margin_left) },
|
||||
{ be_const_key(get_height_margin, 233), be_const_func(lvbe_obj_get_height_margin) },
|
||||
{ be_const_key(get_style_image_opa, -1), be_const_func(lvbe_obj_get_style_image_opa) },
|
||||
{ be_const_key(set_style_local_margin_left, 257), be_const_func(lvbe_obj_set_style_local_margin_left) },
|
||||
{ be_const_key(get_width_fit, -1), be_const_func(lvbe_obj_get_width_fit) },
|
||||
{ be_const_key(get_style_margin_top, 147), be_const_func(lvbe_obj_get_style_margin_top) },
|
||||
{ be_const_key(set_style_local_value_align, -1), be_const_func(lvbe_obj_set_style_local_value_align) },
|
||||
{ be_const_key(get_width_grid, 29), be_const_func(lvbe_obj_get_width_grid) },
|
||||
{ be_const_key(get_style_line_rounded, -1), be_const_func(lvbe_obj_get_style_line_rounded) },
|
||||
{ be_const_key(get_ext_attr, -1), be_const_func(lvbe_obj_get_ext_attr) },
|
||||
{ be_const_key(set_style_local_line_rounded, -1), be_const_func(lvbe_obj_set_style_local_line_rounded) },
|
||||
{ be_const_key(set_style_local_outline_opa, -1), be_const_func(lvbe_obj_set_style_local_outline_opa) },
|
||||
{ be_const_key(del, 218), be_const_func(lvbe_obj_del) },
|
||||
{ be_const_key(get_style_outline_color, 177), be_const_func(lvbe_obj_get_style_outline_color) },
|
||||
{ be_const_key(refresh_ext_draw_pad, 285), be_const_func(lvbe_obj_refresh_ext_draw_pad) },
|
||||
{ be_const_key(remove_style, 227), be_const_func(lvbe_obj_remove_style) },
|
||||
{ be_const_key(allocate_ext_attr, -1), be_const_func(lvbe_obj_allocate_ext_attr) },
|
||||
{ be_const_key(invalidate, -1), be_const_func(lvbe_obj_invalidate) },
|
||||
{ be_const_key(set_drag_parent, -1), be_const_func(lvbe_obj_set_drag_parent) },
|
||||
{ be_const_key(set_style_local_transition_prop_6, -1), be_const_func(lvbe_obj_set_style_local_transition_prop_6) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_obj_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_style_local_bg_opa, 159), be_const_func(lvbe_obj_set_style_local_bg_opa) },
|
||||
{ be_const_key(get_style_margin_bottom, 28), be_const_func(lvbe_obj_get_style_margin_bottom) },
|
||||
{ be_const_key(get_parent, -1), be_const_func(lvbe_obj_get_parent) },
|
||||
{ be_const_key(align_y, -1), be_const_func(lvbe_obj_align_y) },
|
||||
{ be_const_key(set_style_local_scale_end_line_width, -1), be_const_func(lvbe_obj_set_style_local_scale_end_line_width) },
|
||||
{ be_const_key(get_style_image_blend_mode, -1), be_const_func(lvbe_obj_get_style_image_blend_mode) },
|
||||
{ be_const_key(finish_transitions, -1), be_const_func(lvbe_obj_finish_transitions) },
|
||||
{ be_const_key(remove_style_local_prop, -1), be_const_func(lvbe_obj_remove_style_local_prop) },
|
||||
{ be_const_key(get_style_value_opa, 140), be_const_func(lvbe_obj_get_style_value_opa) },
|
||||
{ be_const_key(get_style_value_str, -1), be_const_func(lvbe_obj_get_style_value_str) },
|
||||
{ be_const_key(set_style_local_value_letter_space, 104), be_const_func(lvbe_obj_set_style_local_value_letter_space) },
|
||||
{ be_const_key(set_pos, -1), be_const_func(lvbe_obj_set_pos) },
|
||||
{ be_const_key(set_drag_dir, -1), be_const_func(lvbe_obj_set_drag_dir) },
|
||||
{ be_const_key(get_style_bg_blend_mode, 59), be_const_func(lvbe_obj_get_style_bg_blend_mode) },
|
||||
{ be_const_key(get_style_transition_prop_3, 262), be_const_func(lvbe_obj_get_style_transition_prop_3) },
|
||||
{ be_const_key(set_width, -1), be_const_func(lvbe_obj_set_width) },
|
||||
{ be_const_key(get_height_grid, -1), be_const_func(lvbe_obj_get_height_grid) },
|
||||
{ be_const_key(set_style_local_pattern_opa, 302), be_const_func(lvbe_obj_set_style_local_pattern_opa) },
|
||||
{ be_const_key(get_child, -1), be_const_func(lvbe_obj_get_child) },
|
||||
{ be_const_key(set_base_dir, -1), be_const_func(lvbe_obj_set_base_dir) },
|
||||
{ be_const_key(set_style_local_outline_blend_mode, -1), be_const_func(lvbe_obj_set_style_local_outline_blend_mode) },
|
||||
{ be_const_key(count_children, 174), be_const_func(lvbe_obj_count_children) },
|
||||
{ be_const_key(set_style_local_shadow_spread, -1), be_const_func(lvbe_obj_set_style_local_shadow_spread) },
|
||||
{ be_const_key(is_visible, -1), be_const_func(lvbe_obj_is_visible) },
|
||||
{ be_const_key(get_style_scale_end_border_width, 251), be_const_func(lvbe_obj_get_style_scale_end_border_width) },
|
||||
{ be_const_key(get_focused_obj, -1), be_const_func(lvbe_obj_get_focused_obj) },
|
||||
{ be_const_key(get_style_value_align, -1), be_const_func(lvbe_obj_get_style_value_align) },
|
||||
{ be_const_key(get_style_bg_grad_color, 48), be_const_func(lvbe_obj_get_style_bg_grad_color) },
|
||||
{ be_const_key(set_style_local_image_recolor_opa, -1), be_const_func(lvbe_obj_set_style_local_image_recolor_opa) },
|
||||
{ be_const_key(get_style_outline_pad, -1), be_const_func(lvbe_obj_get_style_outline_pad) },
|
||||
{ be_const_key(get_style_transition_prop_2, -1), be_const_func(lvbe_obj_get_style_transition_prop_2) },
|
||||
{ be_const_key(set_width_fit, -1), be_const_func(lvbe_obj_set_width_fit) },
|
||||
{ be_const_key(set_style_local_shadow_color, 234), be_const_func(lvbe_obj_set_style_local_shadow_color) },
|
||||
{ be_const_key(set_style_local_scale_width, -1), be_const_func(lvbe_obj_set_style_local_scale_width) },
|
||||
{ be_const_key(get_top, -1), be_const_func(lvbe_obj_get_top) },
|
||||
{ be_const_key(get_style_pad_inner, -1), be_const_func(lvbe_obj_get_style_pad_inner) },
|
||||
{ be_const_key(set_style_local_margin_bottom, -1), be_const_func(lvbe_obj_set_style_local_margin_bottom) },
|
||||
{ be_const_key(get_style_outline_blend_mode, 77), be_const_func(lvbe_obj_get_style_outline_blend_mode) },
|
||||
{ be_const_key(set_style_local_line_dash_width, 70), be_const_func(lvbe_obj_set_style_local_line_dash_width) },
|
||||
{ be_const_key(get_x, -1), be_const_func(lvbe_obj_get_x) },
|
||||
{ be_const_key(set_auto_realign, -1), be_const_func(lvbe_obj_set_auto_realign) },
|
||||
{ be_const_key(set_style_local_border_color, -1), be_const_func(lvbe_obj_set_style_local_border_color) },
|
||||
{ be_const_key(get_style_transition_prop_5, -1), be_const_func(lvbe_obj_get_style_transition_prop_5) },
|
||||
{ be_const_key(set_style_local_pattern_recolor_opa, -1), be_const_func(lvbe_obj_set_style_local_pattern_recolor_opa) },
|
||||
{ be_const_key(add_protect, -1), be_const_func(lvbe_obj_add_protect) },
|
||||
{ be_const_key(set_style_local_pad_right, 190), be_const_func(lvbe_obj_set_style_local_pad_right) },
|
||||
{ be_const_key(get_base_dir, -1), be_const_func(lvbe_obj_get_base_dir) },
|
||||
{ be_const_key(is_protected, -1), be_const_func(lvbe_obj_is_protected) },
|
||||
{ be_const_key(get_style_radius, -1), be_const_func(lvbe_obj_get_style_radius) },
|
||||
{ be_const_key(get_style_border_post, 126), be_const_func(lvbe_obj_get_style_border_post) },
|
||||
{ be_const_key(get_style_text_line_space, 235), be_const_func(lvbe_obj_get_style_text_line_space) },
|
||||
{ be_const_key(set_style_local_opa_scale, -1), be_const_func(lvbe_obj_set_style_local_opa_scale) },
|
||||
{ be_const_key(set_signal_cb, -1), be_const_func(lvbe_obj_set_signal_cb) },
|
||||
{ be_const_key(set_style_local_image_blend_mode, 124), be_const_func(lvbe_obj_set_style_local_image_blend_mode) },
|
||||
{ be_const_key(set_drag, 181), be_const_func(lvbe_obj_set_drag) },
|
||||
{ be_const_key(set_style_local_line_width, -1), be_const_func(lvbe_obj_set_style_local_line_width) },
|
||||
{ be_const_key(set_style_local_text_sel_color, 208), be_const_func(lvbe_obj_set_style_local_text_sel_color) },
|
||||
{ be_const_key(get_gesture_parent, 54), be_const_func(lvbe_obj_get_gesture_parent) },
|
||||
{ be_const_key(get_draw_rect_ext_pad_size, -1), be_const_func(lvbe_obj_get_draw_rect_ext_pad_size) },
|
||||
{ be_const_key(set_style_local_text_opa, -1), be_const_func(lvbe_obj_set_style_local_text_opa) },
|
||||
{ be_const_key(refresh_style, -1), be_const_func(lvbe_obj_refresh_style) },
|
||||
{ be_const_key(hittest, 183), be_const_func(lvbe_obj_hittest) },
|
||||
{ be_const_key(clear_state, -1), be_const_func(lvbe_obj_clear_state) },
|
||||
{ be_const_key(set_style_local_value_color, -1), be_const_func(lvbe_obj_set_style_local_value_color) },
|
||||
{ be_const_key(get_style_scale_grad_color, 13), be_const_func(lvbe_obj_get_style_scale_grad_color) },
|
||||
{ be_const_key(reset_style_list, 12), be_const_func(lvbe_obj_reset_style_list) },
|
||||
{ be_const_key(set_width_margin, 19), be_const_func(lvbe_obj_set_width_margin) },
|
||||
{ be_const_key(get_style_bg_opa, -1), be_const_func(lvbe_obj_get_style_bg_opa) },
|
||||
{ be_const_key(get_style_scale_border_width, -1), be_const_func(lvbe_obj_get_style_scale_border_width) },
|
||||
{ be_const_key(align, -1), be_const_func(lvbe_obj_align) },
|
||||
{ be_const_key(align_mid, -1), be_const_func(lvbe_obj_align_mid) },
|
||||
{ be_const_key(set_style_local_border_side, -1), be_const_func(lvbe_obj_set_style_local_border_side) },
|
||||
{ be_const_key(set_style_local_transition_time, -1), be_const_func(lvbe_obj_set_style_local_transition_time) },
|
||||
{ be_const_key(init, 217), be_const_func(lvbe_obj_create) },
|
||||
{ be_const_key(set_style_local_text_font, -1), be_const_func(lvbe_obj_set_style_local_text_font) },
|
||||
{ be_const_key(set_style_local_text_sel_bg_color, -1), be_const_func(lvbe_obj_set_style_local_text_sel_bg_color) },
|
||||
{ be_const_key(get_y, 151), be_const_func(lvbe_obj_get_y) },
|
||||
{ be_const_key(get_style_border_side, 4), be_const_func(lvbe_obj_get_style_border_side) },
|
||||
{ be_const_key(set_hidden, -1), be_const_func(lvbe_obj_set_hidden) },
|
||||
{ be_const_key(set_style_local_value_opa, 244), be_const_func(lvbe_obj_set_style_local_value_opa) },
|
||||
{ be_const_key(set_style_local_margin_top, -1), be_const_func(lvbe_obj_set_style_local_margin_top) },
|
||||
{ be_const_key(set_style_local_value_str, -1), be_const_func(lvbe_obj_set_style_local_value_str) },
|
||||
{ be_const_key(set_style_local_value_ofs_x, 187), be_const_func(lvbe_obj_set_style_local_value_ofs_x) },
|
||||
{ be_const_key(get_style_text_color, 51), be_const_func(lvbe_obj_get_style_text_color) },
|
||||
{ be_const_key(get_style_pattern_opa, -1), be_const_func(lvbe_obj_get_style_pattern_opa) },
|
||||
{ be_const_key(clean_style_list, -1), be_const_func(lvbe_obj_clean_style_list) },
|
||||
{ be_const_key(set_style_local_text_blend_mode, -1), be_const_func(lvbe_obj_set_style_local_text_blend_mode) },
|
||||
{ be_const_key(get_style_transform_width, -1), be_const_func(lvbe_obj_get_style_transform_width) },
|
||||
{ be_const_key(set_style_local_transform_zoom, 239), be_const_func(lvbe_obj_set_style_local_transform_zoom) },
|
||||
{ be_const_key(set_style_local_scale_grad_color, 188), be_const_func(lvbe_obj_set_style_local_scale_grad_color) },
|
||||
{ be_const_key(set_style_local_transition_prop_4, -1), be_const_func(lvbe_obj_set_style_local_transition_prop_4) },
|
||||
{ be_const_key(set_style_local_pattern_recolor, -1), be_const_func(lvbe_obj_set_style_local_pattern_recolor) },
|
||||
{ be_const_key(set_style_local_shadow_width, -1), be_const_func(lvbe_obj_set_style_local_shadow_width) },
|
||||
{ be_const_key(get_style_opa_scale, -1), be_const_func(lvbe_obj_get_style_opa_scale) },
|
||||
{ be_const_key(set_style_local_bg_grad_dir, -1), be_const_func(lvbe_obj_set_style_local_bg_grad_dir) },
|
||||
{ be_const_key(set_top, 269), be_const_func(lvbe_obj_set_top) },
|
||||
{ be_const_key(set_y, -1), be_const_func(lvbe_obj_set_y) },
|
||||
{ be_const_key(get_width, -1), be_const_func(lvbe_obj_get_width) },
|
||||
{ be_const_key(set_style_local_border_post, -1), be_const_func(lvbe_obj_set_style_local_border_post) },
|
||||
{ be_const_key(get_style_value_color, -1), be_const_func(lvbe_obj_get_style_value_color) },
|
||||
{ be_const_key(get_style_text_opa, -1), be_const_func(lvbe_obj_get_style_text_opa) },
|
||||
{ be_const_key(set_style_local_pad_left, 295), be_const_func(lvbe_obj_set_style_local_pad_left) },
|
||||
{ be_const_key(get_style_shadow_width, -1), be_const_func(lvbe_obj_get_style_shadow_width) },
|
||||
{ be_const_key(report_style_mod, -1), be_const_func(lvbe_obj_report_style_mod) },
|
||||
{ be_const_key(get_style_pad_top, 110), be_const_func(lvbe_obj_get_style_pad_top) },
|
||||
{ be_const_key(set_style_local_line_dash_gap, -1), be_const_func(lvbe_obj_set_style_local_line_dash_gap) },
|
||||
{ be_const_key(get_style_scale_end_line_width, 201), be_const_func(lvbe_obj_get_style_scale_end_line_width) },
|
||||
{ be_const_key(del_anim_ready_cb, -1), be_const_func(lvbe_obj_del_anim_ready_cb) },
|
||||
{ be_const_key(set_style_local_transform_width, -1), be_const_func(lvbe_obj_set_style_local_transform_width) },
|
||||
{ be_const_key(get_style_bg_color, -1), be_const_func(lvbe_obj_get_style_bg_color) },
|
||||
{ be_const_key(get_style_text_blend_mode, -1), be_const_func(lvbe_obj_get_style_text_blend_mode) },
|
||||
{ be_const_key(align_mid_x, -1), be_const_func(lvbe_obj_align_mid_x) },
|
||||
{ be_const_key(get_style_outline_width, -1), be_const_func(lvbe_obj_get_style_outline_width) },
|
||||
{ be_const_key(get_ext_draw_pad, -1), be_const_func(lvbe_obj_get_ext_draw_pad) },
|
||||
{ be_const_key(dot_p, 278), be_const_int(0) },
|
||||
{ be_const_key(get_style_pattern_repeat, -1), be_const_func(lvbe_obj_get_style_pattern_repeat) },
|
||||
{ be_const_key(set_style_local_image_recolor, -1), be_const_func(lvbe_obj_set_style_local_image_recolor) },
|
||||
{ be_const_key(init_draw_img_dsc, -1), be_const_func(lvbe_obj_init_draw_img_dsc) },
|
||||
{ be_const_key(set_style_local_border_blend_mode, 148), be_const_func(lvbe_obj_set_style_local_border_blend_mode) },
|
||||
{ be_const_key(set_style_local_transition_prop_3, 72), be_const_func(lvbe_obj_set_style_local_transition_prop_3) },
|
||||
{ be_const_key(get_state, -1), be_const_func(lvbe_obj_get_state) },
|
||||
{ be_const_key(set_x, -1), be_const_func(lvbe_obj_set_x) },
|
||||
{ be_const_key(set_style_local_text_decor, -1), be_const_func(lvbe_obj_set_style_local_text_decor) },
|
||||
{ be_const_key(set_style_local_transition_prop_5, -1), be_const_func(lvbe_obj_set_style_local_transition_prop_5) },
|
||||
{ be_const_key(set_height, 172), be_const_func(lvbe_obj_set_height) },
|
||||
{ be_const_key(del_async, 213), be_const_func(lvbe_obj_del_async) },
|
||||
{ be_const_key(set_style_local_shadow_ofs_y, -1), be_const_func(lvbe_obj_set_style_local_shadow_ofs_y) },
|
||||
{ be_const_key(get_style_transition_prop_1, -1), be_const_func(lvbe_obj_get_style_transition_prop_1) },
|
||||
{ be_const_key(count_children_recursive, -1), be_const_func(lvbe_obj_count_children_recursive) },
|
||||
{ be_const_key(get_style_pad_left, -1), be_const_func(lvbe_obj_get_style_pad_left) },
|
||||
{ be_const_key(set_user_data, -1), be_const_func(lvbe_obj_set_user_data) },
|
||||
{ be_const_key(set_height_margin, 288), be_const_func(lvbe_obj_set_height_margin) },
|
||||
{ be_const_key(set_style_local_text_line_space, -1), be_const_func(lvbe_obj_set_style_local_text_line_space) },
|
||||
{ be_const_key(get_style_scale_end_color, -1), be_const_func(lvbe_obj_get_style_scale_end_color) },
|
||||
{ be_const_key(set_height_fit, -1), be_const_func(lvbe_obj_set_height_fit) },
|
||||
{ be_const_key(get_style_transform_zoom, 283), be_const_func(lvbe_obj_get_style_transform_zoom) },
|
||||
{ be_const_key(handle_get_type_signal, -1), be_const_func(lvbe_obj_handle_get_type_signal) },
|
||||
{ be_const_key(fade_out, -1), be_const_func(lvbe_obj_fade_out) },
|
||||
{ be_const_key(get_style_value_ofs_x, 125), be_const_func(lvbe_obj_get_style_value_ofs_x) },
|
||||
{ be_const_key(get_ext_click_pad_left, 113), be_const_func(lvbe_obj_get_ext_click_pad_left) },
|
||||
{ be_const_key(align_mid_y, -1), be_const_func(lvbe_obj_align_mid_y) },
|
||||
{ be_const_key(get_drag, -1), be_const_func(lvbe_obj_get_drag) },
|
||||
{ be_const_key(set_style_local_value_font, 17), be_const_func(lvbe_obj_set_style_local_value_font) },
|
||||
{ be_const_key(get_style_shadow_opa, -1), be_const_func(lvbe_obj_get_style_shadow_opa) },
|
||||
{ be_const_key(set_parent, -1), be_const_func(lvbe_obj_set_parent) },
|
||||
{ be_const_key(add_style, 73), be_const_func(lvbe_obj_add_style) },
|
||||
{ be_const_key(set_style_local_outline_width, -1), be_const_func(lvbe_obj_set_style_local_outline_width) },
|
||||
{ be_const_key(get_style_text_sel_bg_color, -1), be_const_func(lvbe_obj_get_style_text_sel_bg_color) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_obj_map,
|
||||
303
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,17 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_objmask_map) {
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_objmask_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(tostring, 0), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(remove_mask, -1), be_const_func(lvbe_objmask_remove_mask) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_objmask_create) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_objmask_create) },
|
||||
{ be_const_key(update_mask, 4), be_const_func(lvbe_objmask_update_mask) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_objmask_map,
|
||||
6
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,47 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_page_map) {
|
||||
{ be_const_key(on_edge, -1), be_const_func(lvbe_page_on_edge) },
|
||||
{ be_const_key(glue_obj, -1), be_const_func(lvbe_page_glue_obj) },
|
||||
{ be_const_key(scroll_ver, -1), be_const_func(lvbe_page_scroll_ver) },
|
||||
{ be_const_key(get_height_fit, -1), be_const_func(lvbe_page_get_height_fit) },
|
||||
{ be_const_key(get_scrollbar_mode, 16), be_const_func(lvbe_page_get_scrollbar_mode) },
|
||||
{ be_const_key(create, 29), be_const_func(lvbe_page_create) },
|
||||
{ be_const_key(get_scrl_height, -1), be_const_func(lvbe_page_get_scrl_height) },
|
||||
{ be_const_key(set_scrl_layout, -1), be_const_func(lvbe_page_set_scrl_layout) },
|
||||
{ be_const_key(set_edge_flash, -1), be_const_func(lvbe_page_set_edge_flash) },
|
||||
{ be_const_key(get_height_grid, -1), be_const_func(lvbe_page_get_height_grid) },
|
||||
{ be_const_key(get_scrl_fit_bottom, 1), be_const_func(lvbe_page_get_scrl_fit_bottom) },
|
||||
{ be_const_key(get_scrl_layout, 18), be_const_func(lvbe_page_get_scrl_layout) },
|
||||
{ be_const_key(get_scrl_fit_left, 33), be_const_func(lvbe_page_get_scrl_fit_left) },
|
||||
{ be_const_key(get_width_grid, -1), be_const_func(lvbe_page_get_width_grid) },
|
||||
{ be_const_key(set_scrl_height, 6), be_const_func(lvbe_page_set_scrl_height) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_page_create) },
|
||||
{ be_const_key(get_edge_flash, -1), be_const_func(lvbe_page_get_edge_flash) },
|
||||
{ be_const_key(focus, -1), be_const_func(lvbe_page_focus) },
|
||||
{ be_const_key(set_anim_time, -1), be_const_func(lvbe_page_set_anim_time) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_page_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(get_width_fit, 22), be_const_func(lvbe_page_get_width_fit) },
|
||||
{ be_const_key(get_scrollable, 34), be_const_func(lvbe_page_get_scrollable) },
|
||||
{ be_const_key(get_scroll_propagation, -1), be_const_func(lvbe_page_get_scroll_propagation) },
|
||||
{ be_const_key(get_scrl_width, -1), be_const_func(lvbe_page_get_scrl_width) },
|
||||
{ be_const_key(set_scrollbar_mode, 9), be_const_func(lvbe_page_set_scrollbar_mode) },
|
||||
{ be_const_key(tostring, 27), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(clean, -1), be_const_func(lvbe_page_clean) },
|
||||
{ be_const_key(set_scrollable_fit2, -1), be_const_func(lvbe_page_set_scrollable_fit2) },
|
||||
{ be_const_key(set_scroll_propagation, 32), be_const_func(lvbe_page_set_scroll_propagation) },
|
||||
{ be_const_key(set_scrollable_fit, -1), be_const_func(lvbe_page_set_scrollable_fit) },
|
||||
{ be_const_key(scroll_hor, -1), be_const_func(lvbe_page_scroll_hor) },
|
||||
{ be_const_key(get_anim_time, 17), be_const_func(lvbe_page_get_anim_time) },
|
||||
{ be_const_key(start_edge_flash, -1), be_const_func(lvbe_page_start_edge_flash) },
|
||||
{ be_const_key(get_scrl_fit_top, -1), be_const_func(lvbe_page_get_scrl_fit_top) },
|
||||
{ be_const_key(get_scrl_fit_right, -1), be_const_func(lvbe_page_get_scrl_fit_right) },
|
||||
{ be_const_key(set_scrl_width, -1), be_const_func(lvbe_page_set_scrl_width) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_page_map,
|
||||
36
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,28 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_roller_map) {
|
||||
{ be_const_key(set_options, -1), be_const_func(lvbe_roller_set_options) },
|
||||
{ be_const_key(get_align, 6), be_const_func(lvbe_roller_get_align) },
|
||||
{ be_const_key(set_visible_row_count, 12), be_const_func(lvbe_roller_set_visible_row_count) },
|
||||
{ be_const_key(get_selected_str, -1), be_const_func(lvbe_roller_get_selected_str) },
|
||||
{ be_const_key(get_selected, -1), be_const_func(lvbe_roller_get_selected) },
|
||||
{ be_const_key(set_selected, -1), be_const_func(lvbe_roller_set_selected) },
|
||||
{ be_const_key(set_anim_time, 0), be_const_func(lvbe_roller_set_anim_time) },
|
||||
{ be_const_key(set_align, -1), be_const_func(lvbe_roller_set_align) },
|
||||
{ be_const_key(get_auto_fit, -1), be_const_func(lvbe_roller_get_auto_fit) },
|
||||
{ be_const_key(set_auto_fit, 10), be_const_func(lvbe_roller_set_auto_fit) },
|
||||
{ be_const_key(get_anim_time, -1), be_const_func(lvbe_roller_get_anim_time) },
|
||||
{ be_const_key(get_option_cnt, 5), be_const_func(lvbe_roller_get_option_cnt) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_roller_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(get_options, 14), be_const_func(lvbe_roller_get_options) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(init, 7), be_const_func(lvbe_roller_create) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_roller_create) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_roller_map,
|
||||
17
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,27 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_slider_map) {
|
||||
{ be_const_key(get_type, -1), be_const_func(lvbe_slider_get_type) },
|
||||
{ be_const_key(get_anim_time, -1), be_const_func(lvbe_slider_get_anim_time) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(init, 10), be_const_func(lvbe_slider_create) },
|
||||
{ be_const_key(is_dragged, -1), be_const_func(lvbe_slider_is_dragged) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_slider_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_slider_create) },
|
||||
{ be_const_key(get_value, -1), be_const_func(lvbe_slider_get_value) },
|
||||
{ be_const_key(get_max_value, -1), be_const_func(lvbe_slider_get_max_value) },
|
||||
{ be_const_key(set_range, 7), be_const_func(lvbe_slider_set_range) },
|
||||
{ be_const_key(set_anim_time, 2), be_const_func(lvbe_slider_set_anim_time) },
|
||||
{ be_const_key(get_left_value, -1), be_const_func(lvbe_slider_get_left_value) },
|
||||
{ be_const_key(set_type, -1), be_const_func(lvbe_slider_set_type) },
|
||||
{ be_const_key(set_value, 6), be_const_func(lvbe_slider_set_value) },
|
||||
{ be_const_key(get_min_value, -1), be_const_func(lvbe_slider_get_min_value) },
|
||||
{ be_const_key(set_left_value, 1), be_const_func(lvbe_slider_set_left_value) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_slider_map,
|
||||
16
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,28 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_spinbox_map) {
|
||||
{ be_const_key(get_value, 6), be_const_func(lvbe_spinbox_get_value) },
|
||||
{ be_const_key(decrement, -1), be_const_func(lvbe_spinbox_decrement) },
|
||||
{ be_const_key(tostring, 4), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_value, -1), be_const_func(lvbe_spinbox_set_value) },
|
||||
{ be_const_key(step_next, 11), be_const_func(lvbe_spinbox_step_next) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_spinbox_create) },
|
||||
{ be_const_key(set_rollover, -1), be_const_func(lvbe_spinbox_set_rollover) },
|
||||
{ be_const_key(get_step, -1), be_const_func(lvbe_spinbox_get_step) },
|
||||
{ be_const_key(set_padding_left, -1), be_const_func(lvbe_spinbox_set_padding_left) },
|
||||
{ be_const_key(set_digit_format, -1), be_const_func(lvbe_spinbox_set_digit_format) },
|
||||
{ be_const_key(increment, -1), be_const_func(lvbe_spinbox_increment) },
|
||||
{ be_const_key(set_range, -1), be_const_func(lvbe_spinbox_set_range) },
|
||||
{ be_const_key(get_rollover, -1), be_const_func(lvbe_spinbox_get_rollover) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_spinbox_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(set_step, -1), be_const_func(lvbe_spinbox_set_step) },
|
||||
{ be_const_key(step_prev, 5), be_const_func(lvbe_spinbox_step_prev) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_spinbox_create) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_spinbox_map,
|
||||
17
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,24 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_spinner_map) {
|
||||
{ be_const_key(tostring, 8), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(get_dir, -1), be_const_func(lvbe_spinner_get_dir) },
|
||||
{ be_const_key(get_arc_length, -1), be_const_func(lvbe_spinner_get_arc_length) },
|
||||
{ be_const_key(dot_p, 4), be_const_int(0) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_spinner_create) },
|
||||
{ be_const_key(get_spin_time, -1), be_const_func(lvbe_spinner_get_spin_time) },
|
||||
{ be_const_key(init, 1), be_const_func(lvbe_spinner_create) },
|
||||
{ be_const_key(anim_cb, -1), be_const_func(lvbe_spinner_anim_cb) },
|
||||
{ be_const_key(set_spin_time, 10), be_const_func(lvbe_spinner_set_spin_time) },
|
||||
{ be_const_key(set_arc_length, -1), be_const_func(lvbe_spinner_set_arc_length) },
|
||||
{ be_const_key(set_type, 7), be_const_func(lvbe_spinner_set_type) },
|
||||
{ be_const_key(get_type, 3), be_const_func(lvbe_spinner_get_type) },
|
||||
{ be_const_key(set_dir, 5), be_const_func(lvbe_spinner_set_dir) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_spinner_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_spinner_map,
|
||||
13
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,114 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_style_map) {
|
||||
{ be_const_key(set_line_dash_width, -1), be_const_func(lvbe_style_set_line_dash_width) },
|
||||
{ be_const_key(set_bg_grad_dir, -1), be_const_func(lvbe_style_set_bg_grad_dir) },
|
||||
{ be_const_key(set_text_blend_mode, 84), be_const_func(lvbe_style_set_text_blend_mode) },
|
||||
{ be_const_key(set_border_blend_mode, 75), be_const_func(lvbe_style_set_border_blend_mode) },
|
||||
{ be_const_key(set_bg_main_stop, -1), be_const_func(lvbe_style_set_bg_main_stop) },
|
||||
{ be_const_key(list_get_local_style, -1), be_const_func(lvbe_style_list_get_local_style) },
|
||||
{ be_const_key(set_transform_height, 40), be_const_func(lvbe_style_set_transform_height) },
|
||||
{ be_const_key(set_shadow_opa, 33), be_const_func(lvbe_style_set_shadow_opa) },
|
||||
{ be_const_key(set_value_blend_mode, 51), be_const_func(lvbe_style_set_value_blend_mode) },
|
||||
{ be_const_key(set_shadow_ofs_x, -1), be_const_func(lvbe_style_set_shadow_ofs_x) },
|
||||
{ be_const_key(set_pattern_blend_mode, -1), be_const_func(lvbe_style_set_pattern_blend_mode) },
|
||||
{ be_const_key(set_text_letter_space, -1), be_const_func(lvbe_style_set_text_letter_space) },
|
||||
{ be_const_key(set_margin_right, 14), be_const_func(lvbe_style_set_margin_right) },
|
||||
{ be_const_key(set_transition_delay, -1), be_const_func(lvbe_style_set_transition_delay) },
|
||||
{ be_const_key(set_shadow_blend_mode, -1), be_const_func(lvbe_style_set_shadow_blend_mode) },
|
||||
{ be_const_key(set_value_color, -1), be_const_func(lvbe_style_set_value_color) },
|
||||
{ be_const_key(set_text_line_space, -1), be_const_func(lvbe_style_set_text_line_space) },
|
||||
{ be_const_key(set_transition_prop_1, -1), be_const_func(lvbe_style_set_transition_prop_1) },
|
||||
{ be_const_key(set_pattern_image, 47), be_const_func(lvbe_style_set_pattern_image) },
|
||||
{ be_const_key(set_image_recolor, -1), be_const_func(lvbe_style_set_image_recolor) },
|
||||
{ be_const_key(set_pattern_opa, -1), be_const_func(lvbe_style_set_pattern_opa) },
|
||||
{ be_const_key(set_outline_blend_mode, -1), be_const_func(lvbe_style_set_outline_blend_mode) },
|
||||
{ be_const_key(set_radius, -1), be_const_func(lvbe_style_set_radius) },
|
||||
{ be_const_key(set_text_color, -1), be_const_func(lvbe_style_set_text_color) },
|
||||
{ be_const_key(set_pattern_repeat, -1), be_const_func(lvbe_style_set_pattern_repeat) },
|
||||
{ be_const_key(set_value_align, -1), be_const_func(lvbe_style_set_value_align) },
|
||||
{ be_const_key(set_scale_width, 82), be_const_func(lvbe_style_set_scale_width) },
|
||||
{ be_const_key(set_line_color, -1), be_const_func(lvbe_style_set_line_color) },
|
||||
{ be_const_key(set_text_opa, 4), be_const_func(lvbe_style_set_text_opa) },
|
||||
{ be_const_key(set_size, -1), be_const_func(lvbe_style_set_size) },
|
||||
{ be_const_key(set_border_opa, 72), be_const_func(lvbe_style_set_border_opa) },
|
||||
{ be_const_key(set_line_opa, 12), be_const_func(lvbe_style_set_line_opa) },
|
||||
{ be_const_key(set_pad_inner, -1), be_const_func(lvbe_style_set_pad_inner) },
|
||||
{ be_const_key(set_margin_bottom, -1), be_const_func(lvbe_style_set_margin_bottom) },
|
||||
{ be_const_key(set_margin_top, 66), be_const_func(lvbe_style_set_margin_top) },
|
||||
{ be_const_key(init, -1), be_const_func(lvs_init) },
|
||||
{ be_const_key(set_transition_prop_2, -1), be_const_func(lvbe_style_set_transition_prop_2) },
|
||||
{ be_const_key(set_transition_prop_5, -1), be_const_func(lvbe_style_set_transition_prop_5) },
|
||||
{ be_const_key(set_transition_prop_6, 26), be_const_func(lvbe_style_set_transition_prop_6) },
|
||||
{ be_const_key(set_border_post, 30), be_const_func(lvbe_style_set_border_post) },
|
||||
{ be_const_key(set_scale_end_line_width, -1), be_const_func(lvbe_style_set_scale_end_line_width) },
|
||||
{ be_const_key(set_pad_left, 64), be_const_func(lvbe_style_set_pad_left) },
|
||||
{ be_const_key(set_scale_border_width, -1), be_const_func(lvbe_style_set_scale_border_width) },
|
||||
{ be_const_key(set_line_blend_mode, 34), be_const_func(lvbe_style_set_line_blend_mode) },
|
||||
{ be_const_key(set_image_recolor_opa, -1), be_const_func(lvbe_style_set_image_recolor_opa) },
|
||||
{ be_const_key(set_bg_color, -1), be_const_func(lvbe_style_set_bg_color) },
|
||||
{ be_const_key(set_pad_bottom, -1), be_const_func(lvbe_style_set_pad_bottom) },
|
||||
{ be_const_key(set_transition_time, -1), be_const_func(lvbe_style_set_transition_time) },
|
||||
{ be_const_key(set_outline_pad, 67), be_const_func(lvbe_style_set_outline_pad) },
|
||||
{ be_const_key(set_transform_angle, 32), be_const_func(lvbe_style_set_transform_angle) },
|
||||
{ be_const_key(set_value_line_space, -1), be_const_func(lvbe_style_set_value_line_space) },
|
||||
{ be_const_key(set_image_opa, 76), be_const_func(lvbe_style_set_image_opa) },
|
||||
{ be_const_key(set_pattern_recolor, -1), be_const_func(lvbe_style_set_pattern_recolor) },
|
||||
{ be_const_key(set_bg_grad_color, 85), be_const_func(lvbe_style_set_bg_grad_color) },
|
||||
{ be_const_key(set_value_letter_space, -1), be_const_func(lvbe_style_set_value_letter_space) },
|
||||
{ be_const_key(set_shadow_spread, 0), be_const_func(lvbe_style_set_shadow_spread) },
|
||||
{ be_const_key(set_text_font, 97), be_const_func(lvbe_style_set_text_font) },
|
||||
{ be_const_key(set_line_width, -1), be_const_func(lvbe_style_set_line_width) },
|
||||
{ be_const_key(set_shadow_color, -1), be_const_func(lvbe_style_set_shadow_color) },
|
||||
{ be_const_key(set_transform_zoom, -1), be_const_func(lvbe_style_set_transform_zoom) },
|
||||
{ be_const_key(set_outline_color, 79), be_const_func(lvbe_style_set_outline_color) },
|
||||
{ be_const_key(set_shadow_ofs_y, 87), be_const_func(lvbe_style_set_shadow_ofs_y) },
|
||||
{ be_const_key(set_text_sel_bg_color, -1), be_const_func(lvbe_style_set_text_sel_bg_color) },
|
||||
{ be_const_key(set_text_decor, -1), be_const_func(lvbe_style_set_text_decor) },
|
||||
{ be_const_key(init, 2), be_const_func(lvs_init) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvs_tostring) },
|
||||
{ be_const_key(set_clip_corner, -1), be_const_func(lvbe_style_set_clip_corner) },
|
||||
{ be_const_key(set_value_str, -1), be_const_func(lvbe_style_set_value_str) },
|
||||
{ be_const_key(set_pattern_recolor_opa, 16), be_const_func(lvbe_style_set_pattern_recolor_opa) },
|
||||
{ be_const_key(set_border_side, -1), be_const_func(lvbe_style_set_border_side) },
|
||||
{ be_const_key(set_scale_grad_color, -1), be_const_func(lvbe_style_set_scale_grad_color) },
|
||||
{ be_const_key(set_line_rounded, 10), be_const_func(lvbe_style_set_line_rounded) },
|
||||
{ be_const_key(set_pad_right, 35), be_const_func(lvbe_style_set_pad_right) },
|
||||
{ be_const_key(set_transition_prop_4, -1), be_const_func(lvbe_style_set_transition_prop_4) },
|
||||
{ be_const_key(set_transition_prop_3, 99), be_const_func(lvbe_style_set_transition_prop_3) },
|
||||
{ be_const_key(list_init, -1), be_const_func(lvbe_style_list_init) },
|
||||
{ be_const_key(set_transform_width, -1), be_const_func(lvbe_style_set_transform_width) },
|
||||
{ be_const_key(set_bg_grad_stop, -1), be_const_func(lvbe_style_set_bg_grad_stop) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(set_value_opa, 50), be_const_func(lvbe_style_set_value_opa) },
|
||||
{ be_const_key(set_value_font, -1), be_const_func(lvbe_style_set_value_font) },
|
||||
{ be_const_key(set_text_sel_color, -1), be_const_func(lvbe_style_set_text_sel_color) },
|
||||
{ be_const_key(set_outline_width, -1), be_const_func(lvbe_style_set_outline_width) },
|
||||
{ be_const_key(set_value_ofs_x, 11), be_const_func(lvbe_style_set_value_ofs_x) },
|
||||
{ be_const_key(set_scale_end_color, -1), be_const_func(lvbe_style_set_scale_end_color) },
|
||||
{ be_const_key(set_margin_left, -1), be_const_func(lvbe_style_set_margin_left) },
|
||||
{ be_const_key(copy, -1), be_const_func(lvbe_style_copy) },
|
||||
{ be_const_key(set_shadow_width, -1), be_const_func(lvbe_style_set_shadow_width) },
|
||||
{ be_const_key(set_bg_opa, -1), be_const_func(lvbe_style_set_bg_opa) },
|
||||
{ be_const_key(list_copy, 73), be_const_func(lvbe_style_list_copy) },
|
||||
{ be_const_key(set_value_ofs_y, 17), be_const_func(lvbe_style_set_value_ofs_y) },
|
||||
{ be_const_key(set_opa_scale, 15), be_const_func(lvbe_style_set_opa_scale) },
|
||||
{ be_const_key(set_scale_end_border_width, 37), be_const_func(lvbe_style_set_scale_end_border_width) },
|
||||
{ be_const_key(set_border_color, 81), be_const_func(lvbe_style_set_border_color) },
|
||||
{ be_const_key(set_line_dash_gap, 95), be_const_func(lvbe_style_set_line_dash_gap) },
|
||||
{ be_const_key(set_bg_blend_mode, -1), be_const_func(lvbe_style_set_bg_blend_mode) },
|
||||
{ be_const_key(remove_prop, 77), be_const_func(lvbe_style_remove_prop) },
|
||||
{ be_const_key(set_border_width, -1), be_const_func(lvbe_style_set_border_width) },
|
||||
{ be_const_key(set_image_blend_mode, -1), be_const_func(lvbe_style_set_image_blend_mode) },
|
||||
{ be_const_key(set_transition_path, -1), be_const_func(lvbe_style_set_transition_path) },
|
||||
{ be_const_key(set_outline_opa, 29), be_const_func(lvbe_style_set_outline_opa) },
|
||||
{ be_const_key(reset, -1), be_const_func(lvbe_style_reset) },
|
||||
{ be_const_key(set_pad_top, 45), be_const_func(lvbe_style_set_pad_top) },
|
||||
{ be_const_key(list_get_style, -1), be_const_func(lvbe_style_list_get_style) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_style_map,
|
||||
103
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,21 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_switch_map) {
|
||||
{ be_const_key(get_anim_time, 1), be_const_func(lvbe_switch_get_anim_time) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_switch_create) },
|
||||
{ be_const_key(off, -1), be_const_func(lvbe_switch_off) },
|
||||
{ be_const_key(toggle, -1), be_const_func(lvbe_switch_toggle) },
|
||||
{ be_const_key(on, -1), be_const_func(lvbe_switch_on) },
|
||||
{ be_const_key(tostring, 0), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(get_state, -1), be_const_func(lvbe_switch_get_state) },
|
||||
{ be_const_key(set_anim_time, 8), be_const_func(lvbe_switch_set_anim_time) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_switch_create) },
|
||||
{ be_const_key(dot_p, 6), be_const_int(0) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_switch_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_switch_map,
|
||||
10
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,33 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_table_map) {
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_table_create) },
|
||||
{ be_const_key(set_cell_crop, -1), be_const_func(lvbe_table_set_cell_crop) },
|
||||
{ be_const_key(set_cell_value, -1), be_const_func(lvbe_table_set_cell_value) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_table_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_cell_merge_right, -1), be_const_func(lvbe_table_set_cell_merge_right) },
|
||||
{ be_const_key(set_cell_type, -1), be_const_func(lvbe_table_set_cell_type) },
|
||||
{ be_const_key(get_col_width, 15), be_const_func(lvbe_table_get_col_width) },
|
||||
{ be_const_key(get_row_cnt, 12), be_const_func(lvbe_table_get_row_cnt) },
|
||||
{ be_const_key(set_row_cnt, -1), be_const_func(lvbe_table_set_row_cnt) },
|
||||
{ be_const_key(get_cell_crop, 0), be_const_func(lvbe_table_get_cell_crop) },
|
||||
{ be_const_key(get_cell_align, 14), be_const_func(lvbe_table_get_cell_align) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_table_create) },
|
||||
{ be_const_key(get_cell_merge_right, -1), be_const_func(lvbe_table_get_cell_merge_right) },
|
||||
{ be_const_key(set_col_width, -1), be_const_func(lvbe_table_set_col_width) },
|
||||
{ be_const_key(set_cell_align, -1), be_const_func(lvbe_table_set_cell_align) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(set_cell_value_fmt, 10), be_const_func(lvbe_table_set_cell_value_fmt) },
|
||||
{ be_const_key(set_col_cnt, -1), be_const_func(lvbe_table_set_col_cnt) },
|
||||
{ be_const_key(get_col_cnt, 17), be_const_func(lvbe_table_get_col_cnt) },
|
||||
{ be_const_key(get_cell_type, 6), be_const_func(lvbe_table_get_cell_type) },
|
||||
{ be_const_key(get_cell_value, 7), be_const_func(lvbe_table_get_cell_value) },
|
||||
{ be_const_key(get_pressed_cell, 13), be_const_func(lvbe_table_get_pressed_cell) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_table_map,
|
||||
22
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,26 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_tabview_map) {
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_tabview_create) },
|
||||
{ be_const_key(get_anim_time, 13), be_const_func(lvbe_tabview_get_anim_time) },
|
||||
{ be_const_key(set_anim_time, 8), be_const_func(lvbe_tabview_set_anim_time) },
|
||||
{ be_const_key(add_tab, 6), be_const_func(lvbe_tabview_add_tab) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_tabview_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(set_btns_pos, 12), be_const_func(lvbe_tabview_set_btns_pos) },
|
||||
{ be_const_key(get_tab_count, -1), be_const_func(lvbe_tabview_get_tab_count) },
|
||||
{ be_const_key(get_tab_act, 11), be_const_func(lvbe_tabview_get_tab_act) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_tabview_create) },
|
||||
{ be_const_key(get_btns_pos, -1), be_const_func(lvbe_tabview_get_btns_pos) },
|
||||
{ be_const_key(set_tab_act, 1), be_const_func(lvbe_tabview_set_tab_act) },
|
||||
{ be_const_key(clean_tab, -1), be_const_func(lvbe_tabview_clean_tab) },
|
||||
{ be_const_key(get_tab, -1), be_const_func(lvbe_tabview_get_tab) },
|
||||
{ be_const_key(tostring, 14), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_tab_name, -1), be_const_func(lvbe_tabview_set_tab_name) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_tabview_map,
|
||||
15
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,58 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_textarea_map) {
|
||||
{ be_const_key(get_text, -1), be_const_func(lvbe_textarea_get_text) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(get_pwd_mode, 10), be_const_func(lvbe_textarea_get_pwd_mode) },
|
||||
{ be_const_key(get_text_sel_en, 27), be_const_func(lvbe_textarea_get_text_sel_en) },
|
||||
{ be_const_key(set_scrollbar_mode, 41), be_const_func(lvbe_textarea_set_scrollbar_mode) },
|
||||
{ be_const_key(set_cursor_click_pos, -1), be_const_func(lvbe_textarea_set_cursor_click_pos) },
|
||||
{ be_const_key(set_text, 9), be_const_func(lvbe_textarea_set_text) },
|
||||
{ be_const_key(del_char, 39), be_const_func(lvbe_textarea_del_char) },
|
||||
{ be_const_key(cursor_right, 42), be_const_func(lvbe_textarea_cursor_right) },
|
||||
{ be_const_key(cursor_up, -1), be_const_func(lvbe_textarea_cursor_up) },
|
||||
{ be_const_key(cursor_down, -1), be_const_func(lvbe_textarea_cursor_down) },
|
||||
{ be_const_key(set_text_align, 45), be_const_func(lvbe_textarea_set_text_align) },
|
||||
{ be_const_key(set_pwd_mode, -1), be_const_func(lvbe_textarea_set_pwd_mode) },
|
||||
{ be_const_key(del_char_forward, -1), be_const_func(lvbe_textarea_del_char_forward) },
|
||||
{ be_const_key(text_is_selected, 38), be_const_func(lvbe_textarea_text_is_selected) },
|
||||
{ be_const_key(get_cursor_hidden, -1), be_const_func(lvbe_textarea_get_cursor_hidden) },
|
||||
{ be_const_key(set_text_sel, -1), be_const_func(lvbe_textarea_set_text_sel) },
|
||||
{ be_const_key(set_insert_replace, -1), be_const_func(lvbe_textarea_set_insert_replace) },
|
||||
{ be_const_key(get_max_length, 34), be_const_func(lvbe_textarea_get_max_length) },
|
||||
{ be_const_key(set_cursor_blink_time, 25), be_const_func(lvbe_textarea_set_cursor_blink_time) },
|
||||
{ be_const_key(add_char, 19), be_const_func(lvbe_textarea_add_char) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_textarea_create) },
|
||||
{ be_const_key(get_edge_flash, -1), be_const_func(lvbe_textarea_get_edge_flash) },
|
||||
{ be_const_key(set_cursor_hidden, 0), be_const_func(lvbe_textarea_set_cursor_hidden) },
|
||||
{ be_const_key(get_one_line, -1), be_const_func(lvbe_textarea_get_one_line) },
|
||||
{ be_const_key(get_placeholder_text, -1), be_const_func(lvbe_textarea_get_placeholder_text) },
|
||||
{ be_const_key(set_cursor_pos, -1), be_const_func(lvbe_textarea_set_cursor_pos) },
|
||||
{ be_const_key(get_scrollbar_mode, -1), be_const_func(lvbe_textarea_get_scrollbar_mode) },
|
||||
{ be_const_key(get_cursor_blink_time, 17), be_const_func(lvbe_textarea_get_cursor_blink_time) },
|
||||
{ be_const_key(get_scroll_propagation, 28), be_const_func(lvbe_textarea_get_scroll_propagation) },
|
||||
{ be_const_key(get_label, 18), be_const_func(lvbe_textarea_get_label) },
|
||||
{ be_const_key(cursor_left, -1), be_const_func(lvbe_textarea_cursor_left) },
|
||||
{ be_const_key(set_accepted_chars, -1), be_const_func(lvbe_textarea_set_accepted_chars) },
|
||||
{ be_const_key(set_placeholder_text, 31), be_const_func(lvbe_textarea_set_placeholder_text) },
|
||||
{ be_const_key(set_max_length, -1), be_const_func(lvbe_textarea_set_max_length) },
|
||||
{ be_const_key(get_accepted_chars, 37), be_const_func(lvbe_textarea_get_accepted_chars) },
|
||||
{ be_const_key(get_cursor_click_pos, -1), be_const_func(lvbe_textarea_get_cursor_click_pos) },
|
||||
{ be_const_key(get_cursor_pos, -1), be_const_func(lvbe_textarea_get_cursor_pos) },
|
||||
{ be_const_key(set_pwd_show_time, -1), be_const_func(lvbe_textarea_set_pwd_show_time) },
|
||||
{ be_const_key(set_edge_flash, -1), be_const_func(lvbe_textarea_set_edge_flash) },
|
||||
{ be_const_key(clear_selection, 22), be_const_func(lvbe_textarea_clear_selection) },
|
||||
{ be_const_key(get_pwd_show_time, -1), be_const_func(lvbe_textarea_get_pwd_show_time) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_textarea_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_one_line, -1), be_const_func(lvbe_textarea_set_one_line) },
|
||||
{ be_const_key(add_text, 7), be_const_func(lvbe_textarea_add_text) },
|
||||
{ be_const_key(set_scroll_propagation, -1), be_const_func(lvbe_textarea_set_scroll_propagation) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_textarea_create) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_textarea_map,
|
||||
47
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,23 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_tileview_map) {
|
||||
{ be_const_key(get_tile_act, 2), be_const_func(lvbe_tileview_get_tile_act) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_tileview_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_tileview_create) },
|
||||
{ be_const_key(add_element, 0), be_const_func(lvbe_tileview_add_element) },
|
||||
{ be_const_key(get_edge_flash, -1), be_const_func(lvbe_tileview_get_edge_flash) },
|
||||
{ be_const_key(set_valid_positions, 6), be_const_func(lvbe_tileview_set_valid_positions) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_tileview_create) },
|
||||
{ be_const_key(set_tile_act, 9), be_const_func(lvbe_tileview_set_tile_act) },
|
||||
{ be_const_key(set_edge_flash, -1), be_const_func(lvbe_tileview_set_edge_flash) },
|
||||
{ be_const_key(dot_p, 10), be_const_int(0) },
|
||||
{ be_const_key(get_anim_time, -1), be_const_func(lvbe_tileview_get_anim_time) },
|
||||
{ be_const_key(set_anim_time, -1), be_const_func(lvbe_tileview_set_anim_time) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_tileview_map,
|
||||
12
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,42 +1,15 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(be_class_lv_win_map) {
|
||||
{ be_const_key(set_content_size, 10), be_const_func(lvbe_win_set_content_size) },
|
||||
{ be_const_key(set_layout, -1), be_const_func(lvbe_win_set_layout) },
|
||||
{ be_const_key(init, 2), be_const_func(lvbe_win_create) },
|
||||
{ be_const_key(tostring, -1), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(dot_p, -1), be_const_int(0) },
|
||||
{ be_const_key(get_title, -1), be_const_func(lvbe_win_get_title) },
|
||||
{ be_const_key(clean, 8), be_const_func(lvbe_win_clean) },
|
||||
{ be_const_key(get_content, -1), be_const_func(lvbe_win_get_content) },
|
||||
{ be_const_key(set_btn_width, -1), be_const_func(lvbe_win_set_btn_width) },
|
||||
{ be_const_key(title_get_alignment, -1), be_const_func(lvbe_win_title_get_alignment) },
|
||||
{ be_const_key(scroll_hor, -1), be_const_func(lvbe_win_scroll_hor) },
|
||||
{ be_const_key(add_btn_right, -1), be_const_func(lvbe_win_add_btn_right) },
|
||||
{ be_const_key(get_anim_time, 13), be_const_func(lvbe_win_get_anim_time) },
|
||||
{ be_const_key(init, -1), be_const_func(lvbe_win_create) },
|
||||
{ be_const_key(get_from_btn, 15), be_const_func(lvbe_win_get_from_btn) },
|
||||
{ be_const_key(add_btn_left, -1), be_const_func(lvbe_win_add_btn_left) },
|
||||
{ be_const_key(title_set_alignment, -1), be_const_func(lvbe_win_title_set_alignment) },
|
||||
{ be_const_key(scroll_ver, -1), be_const_func(lvbe_win_scroll_ver) },
|
||||
{ be_const_key(set_header_height, -1), be_const_func(lvbe_win_set_header_height) },
|
||||
{ be_const_key(focus, 19), be_const_func(lvbe_win_focus) },
|
||||
{ be_const_key(set_anim_time, 5), be_const_func(lvbe_win_set_anim_time) },
|
||||
{ be_const_key(close_event_cb, -1), be_const_func(lvbe_win_close_event_cb) },
|
||||
{ be_const_key(create, -1), be_const_func(lvbe_win_create) },
|
||||
{ be_const_key(get_sb_mode, 7), be_const_func(lvbe_win_get_sb_mode) },
|
||||
{ be_const_key(get_btn_width, -1), be_const_func(lvbe_win_get_btn_width) },
|
||||
{ be_const_key(get_width, -1), be_const_func(lvbe_win_get_width) },
|
||||
{ be_const_key(get_layout, -1), be_const_func(lvbe_win_get_layout) },
|
||||
{ be_const_key(set_drag, 2), be_const_func(lvbe_win_set_drag) },
|
||||
{ be_const_key(tostring, 3), be_const_func(lvx_tostring) },
|
||||
{ be_const_key(set_scrollbar_mode, -1), be_const_func(lvbe_win_set_scrollbar_mode) },
|
||||
{ be_const_key(set_title, 24), be_const_func(lvbe_win_set_title) },
|
||||
{ be_const_key(get_drag, 11), be_const_func(lvbe_win_get_drag) },
|
||||
{ be_const_key(get_header_height, -1), be_const_func(lvbe_win_get_header_height) },
|
||||
{ be_const_key(member, 0), be_const_func(lvx_member) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
be_class_lv_win_map,
|
||||
31
|
||||
4
|
||||
);
|
||||
|
||||
BE_EXPORT_VARIABLE be_define_const_class(
|
||||
|
|
|
@ -1,474 +1,83 @@
|
|||
#include "be_constobj.h"
|
||||
|
||||
static be_define_const_map_slots(m_liblvgl_map) {
|
||||
{ be_const_key(screenshot, 63), be_const_func(lv0_screenshot) },
|
||||
{ be_const_key(ALIGN_OUT_LEFT_BOTTOM, -1), be_const_int(17) },
|
||||
{ be_const_key(SYMBOL_PLAY, 26), be_const_str(&be_local_const_str_SYMBOL_PLAY) },
|
||||
{ be_const_key(DISP_SIZE_MEDIUM, -1), be_const_int(1) },
|
||||
{ be_const_key(SYMBOL_BLUETOOTH, -1), be_const_str(&be_local_const_str_SYMBOL_BLUETOOTH) },
|
||||
{ be_const_key(SLIDER_TYPE_RANGE, -1), be_const_int(2) },
|
||||
{ be_const_key(LED_PART_MAIN, -1), be_const_int(0) },
|
||||
{ be_const_key(SPINNER_DIR_BACKWARD, -1), be_const_int(1) },
|
||||
{ be_const_key(STYLE_LINE_DASH_GAP, 10), be_const_int(147) },
|
||||
{ be_const_key(STYLE_TRANSITION_PROP_2, -1), be_const_int(179) },
|
||||
{ be_const_key(CHART_AXIS_SECONDARY_Y, -1), be_const_int(1) },
|
||||
{ be_const_key(OPA_TRANSP, 79), be_const_int(0) },
|
||||
{ be_const_key(OBJMASK_PART_MAIN, 32), be_const_int(0) },
|
||||
{ be_const_key(DISP_SIZE_LARGE, 61), be_const_int(2) },
|
||||
{ be_const_key(SYMBOL_SAVE, -1), be_const_str(&be_local_const_str_SYMBOL_SAVE) },
|
||||
{ be_const_key(SLIDER_TYPE_SYMMETRICAL, 276), be_const_int(1) },
|
||||
{ be_const_key(CHART_TYPE_LINE, -1), be_const_int(1) },
|
||||
{ be_const_key(BLEND_MODE_ADDITIVE, -1), be_const_int(1) },
|
||||
{ be_const_key(ALIGN_OUT_RIGHT_BOTTOM, -1), be_const_int(20) },
|
||||
{ be_const_key(ALIGN_IN_BOTTOM_LEFT, -1), be_const_int(4) },
|
||||
{ be_const_key(CHART_PART_SERIES, -1), be_const_int(2) },
|
||||
{ be_const_key(LABEL_LONG_EXPAND, -1), be_const_int(0) },
|
||||
{ be_const_key(STYLE_TEXT_LETTER_SPACE, 274), be_const_int(32896) },
|
||||
{ be_const_key(SYMBOL_LIST, -1), be_const_str(&be_local_const_str_SYMBOL_LIST) },
|
||||
{ be_const_key(STYLE_TRANSITION_PROP_6, -1), be_const_int(183) },
|
||||
{ be_const_key(SYMBOL_HOME, -1), be_const_str(&be_local_const_str_SYMBOL_HOME) },
|
||||
{ be_const_key(CHART_CURSOR_RIGHT, 157), be_const_int(1) },
|
||||
{ be_const_key(OBJ_PART_REAL_FIRST, -1), be_const_int(64) },
|
||||
{ be_const_key(STYLE_PAD_RIGHT, -1), be_const_int(19) },
|
||||
{ be_const_key(EVENT_LONG_PRESSED, 134), be_const_int(4) },
|
||||
{ be_const_key(TXT_FLAG_EXPAND, 66), be_const_int(2) },
|
||||
{ be_const_key(BORDER_SIDE_RIGHT, 136), be_const_int(8) },
|
||||
{ be_const_key(OBJ_PART_MAIN, -1), be_const_int(0) },
|
||||
{ be_const_key(SYMBOL_NEW_LINE, -1), be_const_str(&be_local_const_str_SYMBOL_NEW_LINE) },
|
||||
{ be_const_key(ANIM_OFF, -1), be_const_int(0) },
|
||||
{ be_const_key(SYMBOL_OK, -1), be_const_str(&be_local_const_str_SYMBOL_OK) },
|
||||
{ be_const_key(CALENDAR_PART_DAY_NAMES, 336), be_const_int(2) },
|
||||
{ be_const_key(OPA_70, -1), be_const_int(178) },
|
||||
{ be_const_key(OPA_60, 131), be_const_int(153) },
|
||||
{ be_const_key(I2C, 339), be_const_int(1) },
|
||||
{ be_const_key(PAGE_EDGE_LEFT, -1), be_const_int(1) },
|
||||
{ be_const_key(OBJ_PART_ALL, -1), be_const_int(255) },
|
||||
{ be_const_key(ALIGN_OUT_LEFT_TOP, 43), be_const_int(15) },
|
||||
{ be_const_key(STYLE_LINE_DASH_WIDTH, -1), be_const_int(146) },
|
||||
{ be_const_key(STYLE_SCALE_END_LINE_WIDTH, 17), be_const_int(195) },
|
||||
{ be_const_key(LABEL_LONG_SROLL, -1), be_const_int(3) },
|
||||
{ be_const_key(STYLE_SHADOW_COLOR, -1), be_const_int(89) },
|
||||
{ be_const_key(BLEND_MODE_NORMAL, 442), be_const_int(0) },
|
||||
{ be_const_key(layer_top, 234), be_const_func(lv0_layer_top) },
|
||||
{ be_const_key(KEY_DEL, 206), be_const_int(127) },
|
||||
{ be_const_key(FIT_MAX, -1), be_const_int(3) },
|
||||
{ be_const_key(STYLE_CLIP_CORNER, 225), be_const_int(2) },
|
||||
{ be_const_key(CHART_CURSOR_DOWN, 355), be_const_int(8) },
|
||||
{ be_const_key(LAYOUT_COLUMN_LEFT, 448), be_const_int(2) },
|
||||
{ be_const_key(LAYOUT_CENTER, 462), be_const_int(1) },
|
||||
{ be_const_key(EVENT_APPLY, -1), be_const_int(19) },
|
||||
{ be_const_key(STYLE_BORDER_COLOR, -1), be_const_int(57) },
|
||||
{ be_const_key(SSPI, 406), be_const_int(2) },
|
||||
{ be_const_key(STYLE_SCALE_BORDER_WIDTH, 146), be_const_int(193) },
|
||||
{ be_const_key(SYMBOL_STOP, -1), be_const_str(&be_local_const_str_SYMBOL_STOP) },
|
||||
{ be_const_key(FS_RES_NOT_IMP, -1), be_const_int(9) },
|
||||
{ be_const_key(CPICKER_PART_MAIN, 143), be_const_int(0) },
|
||||
{ be_const_key(KEY_NEXT, -1), be_const_int(9) },
|
||||
{ be_const_key(SYMBOL_MINUS, 150), be_const_str(&be_local_const_str_SYMBOL_MINUS) },
|
||||
{ be_const_key(ALIGN_OUT_TOP_RIGHT, -1), be_const_int(11) },
|
||||
{ be_const_key(SYMBOL_EYE_CLOSE, -1), be_const_str(&be_local_const_str_SYMBOL_EYE_CLOSE) },
|
||||
{ be_const_key(CHART_AXIS_PRIMARY_Y, 68), be_const_int(0) },
|
||||
{ be_const_key(BTNMATRIX_CTRL_HIDDEN, -1), be_const_int(8) },
|
||||
{ be_const_key(OPA_10, 116), be_const_int(25) },
|
||||
{ be_const_key(SCROLLBAR_MODE_HIDE, -1), be_const_int(4) },
|
||||
{ be_const_key(STYLE_BORDER_OPA, -1), be_const_int(60) },
|
||||
{ be_const_key(SPINNER_TYPE_SPINNING_ARC, -1), be_const_int(0) },
|
||||
{ be_const_key(BLEND_MODE_SUBTRACTIVE, 313), be_const_int(2) },
|
||||
{ be_const_key(STYLE_TRANSFORM_ANGLE, -1), be_const_int(6) },
|
||||
{ be_const_key(STYLE_TEXT_BLEND_MODE, -1), be_const_int(32899) },
|
||||
{ be_const_key(STATE_PRESSED, 39), be_const_int(16) },
|
||||
{ be_const_key(TXT_FLAG_FIT, -1), be_const_int(16) },
|
||||
{ be_const_key(CPICKER_COLOR_MODE_SATURATION, 60), be_const_int(1) },
|
||||
{ be_const_key(LIST_PART_EDGE_FLASH, -1), be_const_int(2) },
|
||||
{ be_const_key(FS_RES_OUT_OF_MEM, 80), be_const_int(10) },
|
||||
{ be_const_key(GRAD_DIR_VER, 120), be_const_int(1) },
|
||||
{ be_const_key(BLACK, 435), be_const_int(0) },
|
||||
{ be_const_key(KEY_UP, -1), be_const_int(17) },
|
||||
{ be_const_key(STYLE_TRANSITION_PROP_4, -1), be_const_int(181) },
|
||||
{ be_const_key(TXT_FLAG_RIGHT, 446), be_const_int(8) },
|
||||
{ be_const_key(PAGE_EDGE_RIGHT, -1), be_const_int(4) },
|
||||
{ be_const_key(ARC_PART_BG, 183), be_const_int(0) },
|
||||
{ be_const_key(GESTURE_DIR_TOP, -1), be_const_int(0) },
|
||||
{ be_const_key(TXT_CMD_STATE_WAIT, -1), be_const_int(0) },
|
||||
{ be_const_key(DROPDOWN_DIR_UP, -1), be_const_int(1) },
|
||||
{ be_const_key(STYLE_TEXT_SEL_COLOR, -1), be_const_int(32906) },
|
||||
{ be_const_key(EVENT_DRAG_BEGIN, 109), be_const_int(8) },
|
||||
{ be_const_key(FIT_NONE, -1), be_const_int(0) },
|
||||
{ be_const_key(STYLE_PATTERN_RECOLOR_OPA, -1), be_const_int(109) },
|
||||
{ be_const_key(BAR_TYPE_CUSTOM, -1), be_const_int(2) },
|
||||
{ be_const_key(FS_RES_LOCKED, 137), be_const_int(5) },
|
||||
{ be_const_key(SYMBOL_BATTERY_1, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_1) },
|
||||
{ be_const_key(EVENT_CLICKED, 322), be_const_int(6) },
|
||||
{ be_const_key(CPICKER_COLOR_MODE_VALUE, -1), be_const_int(2) },
|
||||
{ be_const_key(TEXT_DECOR_NONE, -1), be_const_int(0) },
|
||||
{ be_const_key(OPA_80, 112), be_const_int(204) },
|
||||
{ be_const_key(KEY_DOWN, 414), be_const_int(18) },
|
||||
{ be_const_key(EVENT_LEAVE, -1), be_const_int(15) },
|
||||
{ be_const_key(STYLE_VALUE_OPA, -1), be_const_int(124) },
|
||||
{ be_const_key(PROTECT_CLICK_FOCUS, -1), be_const_int(32) },
|
||||
{ be_const_key(SYMBOL_EYE_OPEN, -1), be_const_str(&be_local_const_str_SYMBOL_EYE_OPEN) },
|
||||
{ be_const_key(FS_RES_FULL, 337), be_const_int(4) },
|
||||
{ be_const_key(STYLE_PATTERN_IMAGE, -1), be_const_int(110) },
|
||||
{ be_const_key(EVENT_VALUE_CHANGED, 302), be_const_int(16) },
|
||||
{ be_const_key(SYMBOL_FILE, -1), be_const_str(&be_local_const_str_SYMBOL_FILE) },
|
||||
{ be_const_key(KEYBOARD_MODE_SPECIAL, 179), be_const_int(2) },
|
||||
{ be_const_key(KEY_BACKSPACE, 99), be_const_int(8) },
|
||||
{ be_const_key(OPA_90, -1), be_const_int(229) },
|
||||
{ be_const_key(ARC_TYPE_NORMAL, -1), be_const_int(0) },
|
||||
{ be_const_key(FS_MODE_RD, 196), be_const_int(2) },
|
||||
{ be_const_key(ARC_PART_INDIC, -1), be_const_int(1) },
|
||||
{ be_const_key(STYLE_VALUE_FONT, 441), be_const_int(126) },
|
||||
{ be_const_key(GAUGE_PART_MAIN, -1), be_const_int(0) },
|
||||
{ be_const_key(INDEV_STATE_REL, -1), be_const_int(0) },
|
||||
{ be_const_key(STYLE_VALUE_ALIGN, 237), be_const_int(117) },
|
||||
{ be_const_key(SYMBOL_EJECT, 424), be_const_str(&be_local_const_str_SYMBOL_EJECT) },
|
||||
{ be_const_key(STYLE_TRANSITION_PROP_3, 328), be_const_int(180) },
|
||||
{ be_const_key(BORDER_SIDE_FULL, -1), be_const_int(15) },
|
||||
{ be_const_key(ALIGN_OUT_BOTTOM_LEFT, 182), be_const_int(12) },
|
||||
{ be_const_key(SYMBOL_BACKSPACE, 176), be_const_str(&be_local_const_str_SYMBOL_BACKSPACE) },
|
||||
{ be_const_key(SCROLLBAR_MODE_OFF, 126), be_const_int(0) },
|
||||
{ be_const_key(HSPI, -1), be_const_int(0) },
|
||||
{ be_const_key(DISP_SIZE_SMALL, -1), be_const_int(0) },
|
||||
{ be_const_key(KEY_PREV, 236), be_const_int(11) },
|
||||
{ be_const_key(SYMBOL_VOLUME_MID, 410), be_const_str(&be_local_const_str_SYMBOL_VOLUME_MID) },
|
||||
{ be_const_key(PAGE_EDGE_TOP, 118), be_const_int(2) },
|
||||
{ be_const_key(FS_MODE_WR, 270), be_const_int(1) },
|
||||
{ be_const_key(YELLOW, -1), be_const_int(16776960) },
|
||||
{ be_const_key(ARC_TYPE_SYMMETRIC, -1), be_const_int(1) },
|
||||
{ be_const_key(CPICKER_PART_KNOB, -1), be_const_int(1) },
|
||||
{ be_const_key(ALIGN_IN_RIGHT_MID, 443), be_const_int(8) },
|
||||
{ be_const_key(CPICKER_TYPE_DISC, -1), be_const_int(1) },
|
||||
{ be_const_key(KEY_ESC, -1), be_const_int(27) },
|
||||
{ be_const_key(LABEL_ALIGN_RIGHT, -1), be_const_int(2) },
|
||||
{ be_const_key(STYLE_LINE_BLEND_MODE, -1), be_const_int(145) },
|
||||
{ be_const_key(CHART_CURSOR_NONE, 53), be_const_int(0) },
|
||||
{ be_const_key(DROPDOWN_DIR_DOWN, -1), be_const_int(0) },
|
||||
{ be_const_key(BTNMATRIX_CTRL_CLICK_TRIG, 350), be_const_int(256) },
|
||||
{ be_const_key(OPA_100, -1), be_const_int(255) },
|
||||
{ be_const_key(BTNMATRIX_CTRL_DISABLED, -1), be_const_int(32) },
|
||||
{ be_const_key(scr_act, 38), be_const_func(lv0_scr_act) },
|
||||
{ be_const_key(KEY_RIGHT, 403), be_const_int(19) },
|
||||
{ be_const_key(BTN_STATE_PRESSED, 199), be_const_int(1) },
|
||||
{ be_const_key(CPICKER_COLOR_MODE_HUE, -1), be_const_int(0) },
|
||||
{ be_const_key(load_font, -1), be_const_func(lv0_load_font) },
|
||||
{ be_const_key(DRAG_DIR_BOTH, -1), be_const_int(3) },
|
||||
{ be_const_key(LIST_PART_SCROLLBAR, -1), be_const_int(1) },
|
||||
{ be_const_key(CHART_AXIS_INVERSE_LABELS_ORDER, -1), be_const_int(2) },
|
||||
{ be_const_key(FS_RES_UNKNOWN, 263), be_const_int(12) },
|
||||
{ be_const_key(STYLE_BORDER_WIDTH, 226), be_const_int(48) },
|
||||
{ be_const_key(MAROON, -1), be_const_int(8388608) },
|
||||
{ be_const_key(LABEL_LONG_SROLL_CIRC, 155), be_const_int(4) },
|
||||
{ be_const_key(ALIGN_OUT_BOTTOM_MID, 405), be_const_int(13) },
|
||||
{ be_const_key(EVENT_INSERT, -1), be_const_int(17) },
|
||||
{ be_const_key(STYLE_PAD_LEFT, -1), be_const_int(18) },
|
||||
{ be_const_key(STYLE_SHADOW_OFS_Y, 344), be_const_int(82) },
|
||||
{ be_const_key(ALIGN_IN_TOP_MID, -1), be_const_int(2) },
|
||||
{ be_const_key(SYMBOL_WIFI, 5), be_const_str(&be_local_const_str_SYMBOL_WIFI) },
|
||||
{ be_const_key(EVENT_DRAG_THROW_BEGIN, -1), be_const_int(10) },
|
||||
{ be_const_key(SYMBOL_MUTE, 87), be_const_str(&be_local_const_str_SYMBOL_MUTE) },
|
||||
{ be_const_key(TEMPL_STYLE_Y, 52), be_const_int(1) },
|
||||
{ be_const_key(EVENT_PRESSING, -1), be_const_int(1) },
|
||||
{ be_const_key(CHART_PART_CURSOR, -1), be_const_int(3) },
|
||||
{ be_const_key(SYMBOL_VOLUME_MAX, -1), be_const_str(&be_local_const_str_SYMBOL_VOLUME_MAX) },
|
||||
{ be_const_key(SYMBOL_BULLET, 315), be_const_str(&be_local_const_str_SYMBOL_BULLET) },
|
||||
{ be_const_key(VSPI, -1), be_const_int(1) },
|
||||
{ be_const_key(BTN_STATE_CHECKED_PRESSED, -1), be_const_int(4) },
|
||||
{ be_const_key(ARC_TYPE_REVERSE, -1), be_const_int(2) },
|
||||
{ be_const_key(CHART_PART_SERIES_BG, -1), be_const_int(1) },
|
||||
{ be_const_key(PROTECT_PRESS_LOST, -1), be_const_int(16) },
|
||||
{ be_const_key(FS_RES_HW_ERR, 333), be_const_int(1) },
|
||||
{ be_const_key(STYLE_SHADOW_SPREAD, -1), be_const_int(83) },
|
||||
{ be_const_key(PROTECT_CHILD_CHG, -1), be_const_int(1) },
|
||||
{ be_const_key(STYLE_SCALE_GRAD_COLOR, -1), be_const_int(201) },
|
||||
{ be_const_key(LABEL_ALIGN_CENTER, -1), be_const_int(1) },
|
||||
{ be_const_key(LAYOUT_ROW_MID, 250), be_const_int(6) },
|
||||
{ be_const_key(ALIGN_IN_TOP_RIGHT, 186), be_const_int(3) },
|
||||
{ be_const_key(TXT_FLAG_CENTER, -1), be_const_int(4) },
|
||||
{ be_const_key(SYMBOL_BATTERY_EMPTY, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_EMPTY) },
|
||||
{ be_const_key(GAUGE_PART_MAJOR, 3), be_const_int(1) },
|
||||
{ be_const_key(STYLE_LINE_WIDTH, -1), be_const_int(144) },
|
||||
{ be_const_key(BORDER_SIDE_INTERNAL, 338), be_const_int(16) },
|
||||
{ be_const_key(LAYOUT_ROW_BOTTOM, 224), be_const_int(7) },
|
||||
{ be_const_key(BORDER_SIDE_TOP, -1), be_const_int(2) },
|
||||
{ be_const_key(CHART_TYPE_NONE, 74), be_const_int(0) },
|
||||
{ be_const_key(ALIGN_OUT_LEFT_MID, 221), be_const_int(16) },
|
||||
{ be_const_key(DISP_ROT_270, 264), be_const_int(3) },
|
||||
{ be_const_key(TXT_CMD_STATE_PAR, -1), be_const_int(1) },
|
||||
{ be_const_key(SYMBOL_CLOSE, -1), be_const_str(&be_local_const_str_SYMBOL_CLOSE) },
|
||||
{ be_const_key(STYLE_TEXT_FONT, -1), be_const_int(32910) },
|
||||
{ be_const_key(TXT_FLAG_NONE, 372), be_const_int(0) },
|
||||
{ be_const_key(EVENT_CANCEL, -1), be_const_int(20) },
|
||||
{ be_const_key(FS_RES_DENIED, 233), be_const_int(6) },
|
||||
{ be_const_key(STYLE_IMAGE_BLEND_MODE, 267), be_const_int(32928) },
|
||||
{ be_const_key(STYLE_MARGIN_LEFT, 271), be_const_int(23) },
|
||||
{ be_const_key(FS_RES_NOT_EX, -1), be_const_int(3) },
|
||||
{ be_const_key(CHECKBOX_PART_BULLET, 266), be_const_int(64) },
|
||||
{ be_const_key(PROTECT_FOLLOW, 89), be_const_int(8) },
|
||||
{ be_const_key(WHITE, 54), be_const_int(16777215) },
|
||||
{ be_const_key(DROPDOWN_PART_SELECTED, -1), be_const_int(66) },
|
||||
{ be_const_key(PURPLE, -1), be_const_int(8388736) },
|
||||
{ be_const_key(SILVER, 409), be_const_int(12632256) },
|
||||
{ be_const_key(SYMBOL_KEYBOARD, -1), be_const_str(&be_local_const_str_SYMBOL_KEYBOARD) },
|
||||
{ be_const_key(CHART_AXIS_SKIP_LAST_TICK, -1), be_const_int(0) },
|
||||
{ be_const_key(LAYOUT_COLUMN_MID, -1), be_const_int(3) },
|
||||
{ be_const_key(GRAD_DIR_HOR, 238), be_const_int(2) },
|
||||
{ be_const_key(STYLE_MARGIN_BOTTOM, -1), be_const_int(22) },
|
||||
{ be_const_key(SLIDER_TYPE_NORMAL, 400), be_const_int(0) },
|
||||
{ be_const_key(STYLE_SCALE_END_COLOR, 173), be_const_int(202) },
|
||||
{ be_const_key(STYLE_LINE_ROUNDED, 171), be_const_int(148) },
|
||||
{ be_const_key(STYLE_VALUE_OFS_Y, -1), be_const_int(116) },
|
||||
{ be_const_key(SYMBOL_NEXT, 107), be_const_str(&be_local_const_str_SYMBOL_NEXT) },
|
||||
{ be_const_key(STATE_DEFAULT, 72), be_const_int(0) },
|
||||
{ be_const_key(DRAG_DIR_HOR, -1), be_const_int(1) },
|
||||
{ be_const_key(EVENT_GESTURE, 307), be_const_int(11) },
|
||||
{ be_const_key(EVENT_PRESSED, -1), be_const_int(0) },
|
||||
{ be_const_key(SPINNER_TYPE_FILLSPIN_ARC, -1), be_const_int(1) },
|
||||
{ be_const_key(LABEL_LONG_BREAK, -1), be_const_int(1) },
|
||||
{ be_const_key(FIT_TIGHT, -1), be_const_int(1) },
|
||||
{ be_const_key(SYMBOL_RIGHT, 380), be_const_str(&be_local_const_str_SYMBOL_RIGHT) },
|
||||
{ be_const_key(SYMBOL_COPY, 56), be_const_str(&be_local_const_str_SYMBOL_COPY) },
|
||||
{ be_const_key(STYLE_BG_BLEND_MODE, -1), be_const_int(32) },
|
||||
{ be_const_key(STYLE_BORDER_BLEND_MODE, -1), be_const_int(50) },
|
||||
{ be_const_key(OPA_50, 354), be_const_int(127) },
|
||||
{ be_const_key(BLUE, -1), be_const_int(255) },
|
||||
{ be_const_key(SYMBOL_REFRESH, -1), be_const_str(&be_local_const_str_SYMBOL_REFRESH) },
|
||||
{ be_const_key(ALIGN_OUT_TOP_MID, -1), be_const_int(10) },
|
||||
{ be_const_key(ROLLER_MODE_INFINITE, -1), be_const_int(1) },
|
||||
{ be_const_key(STATE_EDITED, -1), be_const_int(4) },
|
||||
{ be_const_key(STATE_FOCUSED, -1), be_const_int(2) },
|
||||
{ be_const_key(ANIM_ON, -1), be_const_int(1) },
|
||||
{ be_const_key(EVENT_DEFOCUSED, -1), be_const_int(14) },
|
||||
{ be_const_key(layer_sys, 321), be_const_func(lv0_layer_sys) },
|
||||
{ be_const_key(SPINNER_DIR_FORWARD, 254), be_const_int(0) },
|
||||
{ be_const_key(STYLE_SHADOW_OFS_X, -1), be_const_int(81) },
|
||||
{ be_const_key(seg7_font, 434), be_const_func(lv0_load_seg7_font) },
|
||||
{ be_const_key(LAYOUT_COLUMN_RIGHT, 369), be_const_int(4) },
|
||||
{ be_const_key(ALIGN_IN_BOTTOM_MID, -1), be_const_int(5) },
|
||||
{ be_const_key(DRAG_DIR_ONE, 341), be_const_int(4) },
|
||||
{ be_const_key(KEY_ENTER, 294), be_const_int(10) },
|
||||
{ be_const_key(GAUGE_PART_NEEDLE, 168), be_const_int(2) },
|
||||
{ be_const_key(SYMBOL_DOWNLOAD, -1), be_const_str(&be_local_const_str_SYMBOL_DOWNLOAD) },
|
||||
{ be_const_key(STATE_CHECKED, -1), be_const_int(1) },
|
||||
{ be_const_key(STYLE_MARGIN_TOP, 83), be_const_int(21) },
|
||||
{ be_const_key(STYLE_SHADOW_BLEND_MODE, 331), be_const_int(84) },
|
||||
{ be_const_key(BAR_TYPE_SYMMETRICAL, -1), be_const_int(1) },
|
||||
{ be_const_key(KEYBOARD_MODE_TEXT_UPPER, -1), be_const_int(1) },
|
||||
{ be_const_key(ALIGN_OUT_BOTTOM_RIGHT, -1), be_const_int(14) },
|
||||
{ be_const_key(CALENDAR_PART_BG, -1), be_const_int(0) },
|
||||
{ be_const_key(LABEL_LONG_DOT, -1), be_const_int(2) },
|
||||
{ be_const_key(CHART_PART_BG, -1), be_const_int(0) },
|
||||
{ be_const_key(STATE_DISABLED, -1), be_const_int(32) },
|
||||
{ be_const_key(FS_RES_TOUT, 280), be_const_int(8) },
|
||||
{ be_const_key(OPA_COVER, 98), be_const_int(255) },
|
||||
{ be_const_key(SYMBOL_DRIVE, -1), be_const_str(&be_local_const_str_SYMBOL_DRIVE) },
|
||||
{ be_const_key(SYMBOL_IMAGE, 37), be_const_str(&be_local_const_str_SYMBOL_IMAGE) },
|
||||
{ be_const_key(load_freetype_font, -1), be_const_func(lv0_load_freetype_font) },
|
||||
{ be_const_key(STYLE_OUTLINE_OPA, 385), be_const_int(76) },
|
||||
{ be_const_key(STYLE_OUTLINE_PAD, 365), be_const_int(65) },
|
||||
{ be_const_key(BORDER_SIDE_LEFT, -1), be_const_int(4) },
|
||||
{ be_const_key(STYLE_MARGIN_RIGHT, 62), be_const_int(24) },
|
||||
{ be_const_key(STYLE_BG_COLOR, 402), be_const_int(41) },
|
||||
{ be_const_key(BAR_TYPE_NORMAL, -1), be_const_int(0) },
|
||||
{ be_const_key(STYLE_IMAGE_OPA, 286), be_const_int(32940) },
|
||||
{ be_const_key(SCROLLBAR_MODE_ON, 211), be_const_int(1) },
|
||||
{ be_const_key(KEY_END, 413), be_const_int(3) },
|
||||
{ be_const_key(OPA_0, -1), be_const_int(0) },
|
||||
{ be_const_key(CHECKBOX_PART_BG, -1), be_const_int(0) },
|
||||
{ be_const_key(STYLE_TEXT_SEL_BG_COLOR, -1), be_const_int(32907) },
|
||||
{ be_const_key(STYLE_OPA_SCALE, -1), be_const_int(32780) },
|
||||
{ be_const_key(register_button_encoder, -1), be_const_func(lv0_register_button_encoder) },
|
||||
{ be_const_key(SYMBOL_USB, -1), be_const_str(&be_local_const_str_SYMBOL_USB) },
|
||||
{ be_const_key(TEMPL_STYLE_X, 153), be_const_int(0) },
|
||||
{ be_const_key(TABVIEW_TAB_POS_BOTTOM, -1), be_const_int(2) },
|
||||
{ be_const_key(CYAN, -1), be_const_int(65535) },
|
||||
{ be_const_key(STYLE_OUTLINE_WIDTH, -1), be_const_int(64) },
|
||||
{ be_const_key(STYLE_PAD_INNER, -1), be_const_int(20) },
|
||||
{ be_const_key(STYLE_SIZE, -1), be_const_int(3) },
|
||||
{ be_const_key(STYLE_VALUE_STR, -1), be_const_int(127) },
|
||||
{ be_const_key(STYLE_PATTERN_BLEND_MODE, 318), be_const_int(96) },
|
||||
{ be_const_key(EVENT_DELETE, 291), be_const_int(21) },
|
||||
{ be_const_key(STYLE_VALUE_LINE_SPACE, -1), be_const_int(113) },
|
||||
{ be_const_key(KEYBOARD_PART_BTN, 135), be_const_int(1) },
|
||||
{ be_const_key(FS_RES_FS_ERR, -1), be_const_int(2) },
|
||||
{ be_const_key(LAYOUT_GRID, -1), be_const_int(11) },
|
||||
{ be_const_key(EVENT_SHORT_CLICKED, 281), be_const_int(3) },
|
||||
{ be_const_key(LAYOUT_PRETTY_TOP, -1), be_const_int(8) },
|
||||
{ be_const_key(KEY_HOME, 342), be_const_int(2) },
|
||||
{ be_const_key(SYMBOL_DUMMY, -1), be_const_str(&be_local_const_str_SYMBOL_DUMMY) },
|
||||
{ be_const_key(OBJ_PART_VIRTUAL_FIRST, -1), be_const_int(1) },
|
||||
{ be_const_key(LABEL_LONG_CROP, -1), be_const_int(5) },
|
||||
{ be_const_key(STATE_HOVERED, 122), be_const_int(8) },
|
||||
{ be_const_key(STYLE_LINE_COLOR, 395), be_const_int(153) },
|
||||
{ be_const_key(ALIGN_OUT_TOP_LEFT, -1), be_const_int(9) },
|
||||
{ be_const_key(PROTECT_EVENT_TO_DISABLED, -1), be_const_int(64) },
|
||||
{ be_const_key(SYMBOL_CHARGE, -1), be_const_str(&be_local_const_str_SYMBOL_CHARGE) },
|
||||
{ be_const_key(INDEV_STATE_PR, -1), be_const_int(1) },
|
||||
{ be_const_key(CHART_UPDATE_MODE_CIRCULAR, 88), be_const_int(1) },
|
||||
{ be_const_key(SYMBOL_EDIT, -1), be_const_str(&be_local_const_str_SYMBOL_EDIT) },
|
||||
{ be_const_key(ARC_PART_KNOB, -1), be_const_int(2) },
|
||||
{ be_const_key(STYLE_TEXT_LINE_SPACE, -1), be_const_int(32897) },
|
||||
{ be_const_key(STYLE_VALUE_LETTER_SPACE, -1), be_const_int(112) },
|
||||
{ be_const_key(STYLE_SCALE_WIDTH, -1), be_const_int(192) },
|
||||
{ be_const_key(AQUA, 253), be_const_int(65535) },
|
||||
{ be_const_key(LAYOUT_PRETTY_MID, 19), be_const_int(9) },
|
||||
{ be_const_key(DISP_ROT_90, -1), be_const_int(1) },
|
||||
{ be_const_key(BTN_STATE_RELEASED, -1), be_const_int(0) },
|
||||
{ be_const_key(DROPDOWN_PART_MAIN, -1), be_const_int(0) },
|
||||
{ be_const_key(OPA_30, -1), be_const_int(76) },
|
||||
{ be_const_key(SYMBOL_POWER, 431), be_const_str(&be_local_const_str_SYMBOL_POWER) },
|
||||
{ be_const_key(GESTURE_DIR_RIGHT, -1), be_const_int(3) },
|
||||
{ be_const_key(get_ver_res, 185), be_const_func(lv0_get_ver_res) },
|
||||
{ be_const_key(SYMBOL_LOOP, -1), be_const_str(&be_local_const_str_SYMBOL_LOOP) },
|
||||
{ be_const_key(DROPDOWN_DIR_LEFT, -1), be_const_int(2) },
|
||||
{ be_const_key(LINEMETER_PART_MAIN, -1), be_const_int(0) },
|
||||
{ be_const_key(STYLE_OUTLINE_COLOR, -1), be_const_int(73) },
|
||||
{ be_const_key(SPINNER_TYPE_CONSTANT_ARC, -1), be_const_int(2) },
|
||||
{ be_const_key(ROLLER_MODE_NORMAL, -1), be_const_int(0) },
|
||||
{ be_const_key(SYMBOL_WARNING, 45), be_const_str(&be_local_const_str_SYMBOL_WARNING) },
|
||||
{ be_const_key(STYLE_VALUE_BLEND_MODE, -1), be_const_int(114) },
|
||||
{ be_const_key(KEYBOARD_MODE_NUM, -1), be_const_int(3) },
|
||||
{ be_const_key(STYLE_BG_GRAD_STOP, -1), be_const_int(34) },
|
||||
{ be_const_key(STYLE_VALUE_OFS_X, -1), be_const_int(115) },
|
||||
{ be_const_key(SYMBOL_PLUS, -1), be_const_str(&be_local_const_str_SYMBOL_PLUS) },
|
||||
{ be_const_key(CHART_AXIS_DRAW_LAST_TICK, -1), be_const_int(1) },
|
||||
{ be_const_key(EVENT_FOCUSED, -1), be_const_int(13) },
|
||||
{ be_const_key(STYLE_TRANSFORM_ZOOM, -1), be_const_int(7) },
|
||||
{ be_const_key(TEXT_DECOR_STRIKETHROUGH, -1), be_const_int(2) },
|
||||
{ be_const_key(LIST_PART_BG, -1), be_const_int(0) },
|
||||
{ be_const_key(DROPDOWN_PART_LIST, 123), be_const_int(64) },
|
||||
{ be_const_key(SYMBOL_BATTERY_3, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_3) },
|
||||
{ be_const_key(STYLE_PAD_BOTTOM, -1), be_const_int(17) },
|
||||
{ be_const_key(LAYOUT_PRETTY_BOTTOM, -1), be_const_int(10) },
|
||||
{ be_const_key(GESTURE_DIR_LEFT, -1), be_const_int(2) },
|
||||
{ be_const_key(STYLE_OUTLINE_BLEND_MODE, -1), be_const_int(66) },
|
||||
{ be_const_key(STYLE_BG_MAIN_STOP, 100), be_const_int(33) },
|
||||
{ be_const_key(PROTECT_POS, 246), be_const_int(4) },
|
||||
{ be_const_key(PAGE_EDGE_BOTTOM, -1), be_const_int(8) },
|
||||
{ be_const_key(CHART_UPDATE_MODE_SHIFT, 142), be_const_int(0) },
|
||||
{ be_const_key(STYLE_TRANSITION_TIME, -1), be_const_int(176) },
|
||||
{ be_const_key(STYLE_TRANSITION_PROP_1, -1), be_const_int(178) },
|
||||
{ be_const_key(SYMBOL_UP, -1), be_const_str(&be_local_const_str_SYMBOL_UP) },
|
||||
{ be_const_key(STYLE_PATTERN_OPA, -1), be_const_int(108) },
|
||||
{ be_const_key(DRAG_DIR_VER, -1), be_const_int(2) },
|
||||
{ be_const_key(PROTECT_PARENT, -1), be_const_int(2) },
|
||||
{ be_const_key(STYLE_SHADOW_OPA, 352), be_const_int(92) },
|
||||
{ be_const_key(STYLE_PATTERN_REPEAT, 160), be_const_int(97) },
|
||||
{ be_const_key(SPI, 361), be_const_int(0) },
|
||||
{ be_const_key(TEAL, -1), be_const_int(32896) },
|
||||
{ be_const_key(EVENT_REFRESH, -1), be_const_int(18) },
|
||||
{ be_const_key(DISP_SIZE_EXTRA_LARGE, -1), be_const_int(3) },
|
||||
{ be_const_key(STYLE_BG_GRAD_DIR, -1), be_const_int(35) },
|
||||
{ be_const_key(GRAD_DIR_NONE, -1), be_const_int(0) },
|
||||
{ be_const_key(ALIGN_OUT_RIGHT_MID, -1), be_const_int(19) },
|
||||
{ be_const_key(DROPDOWN_DIR_RIGHT, 417), be_const_int(3) },
|
||||
{ be_const_key(STYLE_TRANSITION_PROP_5, -1), be_const_int(182) },
|
||||
{ be_const_key(CHART_CURSOR_UP, -1), be_const_int(2) },
|
||||
{ be_const_key(CHART_TYPE_COLUMN, -1), be_const_int(2) },
|
||||
{ be_const_key(CPICKER_TYPE_RECT, -1), be_const_int(0) },
|
||||
{ be_const_key(TABVIEW_TAB_POS_NONE, 23), be_const_int(0) },
|
||||
{ be_const_key(STYLE_TEXT_OPA, -1), be_const_int(32908) },
|
||||
{ be_const_key(OPA_20, 217), be_const_int(51) },
|
||||
{ be_const_key(EVENT_KEY, -1), be_const_int(12) },
|
||||
{ be_const_key(STYLE_SCALE_END_BORDER_WIDTH, -1), be_const_int(194) },
|
||||
{ be_const_key(EVENT_PRESS_LOST, -1), be_const_int(2) },
|
||||
{ be_const_key(BTN_STATE_CHECKED_RELEASED, 144), be_const_int(3) },
|
||||
{ be_const_key(FS_RES_OK, 69), be_const_int(0) },
|
||||
{ be_const_key(SYMBOL_BELL, -1), be_const_str(&be_local_const_str_SYMBOL_BELL) },
|
||||
{ be_const_key(SYMBOL_BATTERY_FULL, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_FULL) },
|
||||
{ be_const_key(ALIGN_IN_TOP_LEFT, 201), be_const_int(1) },
|
||||
{ be_const_key(OPA_40, -1), be_const_int(102) },
|
||||
{ be_const_key(BTNMATRIX_CTRL_NO_REPEAT, -1), be_const_int(16) },
|
||||
{ be_const_key(STYLE_BORDER_SIDE, -1), be_const_int(49) },
|
||||
{ be_const_key(LABEL_ALIGN_LEFT, -1), be_const_int(0) },
|
||||
{ be_const_key(STYLE_IMAGE_RECOLOR, 408), be_const_int(32937) },
|
||||
{ be_const_key(NAVY, -1), be_const_int(128) },
|
||||
{ be_const_key(GREEN, -1), be_const_int(32768) },
|
||||
{ be_const_key(SYMBOL_SHUFFLE, 212), be_const_str(&be_local_const_str_SYMBOL_SHUFFLE) },
|
||||
{ be_const_key(GRAY, -1), be_const_int(8421504) },
|
||||
{ be_const_key(STYLE_SHADOW_WIDTH, -1), be_const_int(80) },
|
||||
{ be_const_key(SYMBOL_DIRECTORY, -1), be_const_str(&be_local_const_str_SYMBOL_DIRECTORY) },
|
||||
{ be_const_key(BTNMATRIX_CTRL_CHECK_STATE, -1), be_const_int(128) },
|
||||
{ be_const_key(TEXT_DECOR_UNDERLINE, 367), be_const_int(1) },
|
||||
{ be_const_key(STYLE_BG_GRAD_COLOR, 141), be_const_int(42) },
|
||||
{ be_const_key(SYMBOL_CALL, -1), be_const_str(&be_local_const_str_SYMBOL_CALL) },
|
||||
{ be_const_key(STYLE_RADIUS, -1), be_const_int(1) },
|
||||
{ be_const_key(CALENDAR_PART_HEADER, -1), be_const_int(1) },
|
||||
{ be_const_key(start, 228), be_const_func(lv0_start) },
|
||||
{ be_const_key(LAYOUT_ROW_TOP, -1), be_const_int(5) },
|
||||
{ be_const_key(BTN_STATE_CHECKED_DISABLED, -1), be_const_int(5) },
|
||||
{ be_const_key(SYMBOL_GPS, -1), be_const_str(&be_local_const_str_SYMBOL_GPS) },
|
||||
{ be_const_key(get_hor_res, -1), be_const_func(lv0_get_hor_res) },
|
||||
{ be_const_key(SYMBOL_AUDIO, -1), be_const_str(&be_local_const_str_SYMBOL_AUDIO) },
|
||||
{ be_const_key(STYLE_BORDER_POST, 284), be_const_int(51) },
|
||||
{ be_const_key(SYMBOL_SD_CARD, -1), be_const_str(&be_local_const_str_SYMBOL_SD_CARD) },
|
||||
{ be_const_key(BORDER_SIDE_BOTTOM, 14), be_const_int(1) },
|
||||
{ be_const_key(DROPDOWN_PART_SCROLLBAR, -1), be_const_int(65) },
|
||||
{ be_const_key(SYMBOL_LEFT, -1), be_const_str(&be_local_const_str_SYMBOL_LEFT) },
|
||||
{ be_const_key(KEY_LEFT, -1), be_const_int(20) },
|
||||
{ be_const_key(LIME, -1), be_const_int(65280) },
|
||||
{ be_const_key(SYMBOL_PASTE, -1), be_const_str(&be_local_const_str_SYMBOL_PASTE) },
|
||||
{ be_const_key(SYMBOL_PAUSE, -1), be_const_str(&be_local_const_str_SYMBOL_PAUSE) },
|
||||
{ be_const_key(FS_RES_INV_PARAM, -1), be_const_int(11) },
|
||||
{ be_const_key(ALIGN_CENTER, -1), be_const_int(0) },
|
||||
{ be_const_key(EVENT_RELEASED, -1), be_const_int(7) },
|
||||
{ be_const_key(SYMBOL_PREV, -1), be_const_str(&be_local_const_str_SYMBOL_PREV) },
|
||||
{ be_const_key(RED, -1), be_const_int(16711680) },
|
||||
{ be_const_key(BORDER_SIDE_NONE, -1), be_const_int(0) },
|
||||
{ be_const_key(ALIGN_IN_BOTTOM_RIGHT, -1), be_const_int(6) },
|
||||
{ be_const_key(SYMBOL_TRASH, -1), be_const_str(&be_local_const_str_SYMBOL_TRASH) },
|
||||
{ be_const_key(STYLE_PAD_TOP, -1), be_const_int(16) },
|
||||
{ be_const_key(ALIGN_IN_LEFT_MID, 71), be_const_int(7) },
|
||||
{ be_const_key(SYMBOL_CUT, 426), be_const_str(&be_local_const_str_SYMBOL_CUT) },
|
||||
{ be_const_key(STYLE_IMAGE_RECOLOR_OPA, -1), be_const_int(32941) },
|
||||
{ be_const_key(SCROLLBAR_MODE_AUTO, 148), be_const_int(3) },
|
||||
{ be_const_key(STYLE_PATTERN_RECOLOR, 58), be_const_int(105) },
|
||||
{ be_const_key(TABVIEW_TAB_POS_TOP, 438), be_const_int(1) },
|
||||
{ be_const_key(BTN_STATE_DISABLED, -1), be_const_int(2) },
|
||||
{ be_const_key(TEXTAREA_CURSOR_LAST, 285), be_const_int(32767) },
|
||||
{ be_const_key(STYLE_TEXT_DECOR, 363), be_const_int(32898) },
|
||||
{ be_const_key(FS_RES_BUSY, 399), be_const_int(7) },
|
||||
{ be_const_key(KEYBOARD_MODE_TEXT_LOWER, -1), be_const_int(0) },
|
||||
{ be_const_key(DISP_ROT_180, -1), be_const_int(2) },
|
||||
{ be_const_key(OLIVE, -1), be_const_int(8421376) },
|
||||
{ be_const_key(LAYOUT_OFF, -1), be_const_int(0) },
|
||||
{ be_const_key(EVENT_DRAG_END, -1), be_const_int(9) },
|
||||
{ be_const_key(EVENT_LONG_PRESSED_REPEAT, 432), be_const_int(5) },
|
||||
{ be_const_key(SYMBOL_VIDEO, -1), be_const_str(&be_local_const_str_SYMBOL_VIDEO) },
|
||||
{ be_const_key(SYMBOL_IMAGE, 15), be_const_str(&be_local_const_str_SYMBOL_IMAGE) },
|
||||
{ be_const_key(SYMBOL_SETTINGS, 70), be_const_str(&be_local_const_str_SYMBOL_SETTINGS) },
|
||||
{ be_const_key(SYMBOL_UPLOAD, -1), be_const_str(&be_local_const_str_SYMBOL_UPLOAD) },
|
||||
{ be_const_key(KEYBOARD_PART_BG, -1), be_const_int(0) },
|
||||
{ be_const_key(STYLE_TRANSITION_PATH, 113), be_const_int(190) },
|
||||
{ be_const_key(STYLE_TRANSFORM_WIDTH, -1), be_const_int(4) },
|
||||
{ be_const_key(STYLE_VALUE_COLOR, -1), be_const_int(121) },
|
||||
{ be_const_key(ALIGN_OUT_RIGHT_TOP, -1), be_const_int(18) },
|
||||
{ be_const_key(SYMBOL_DOWN, 167), be_const_str(&be_local_const_str_SYMBOL_DOWN) },
|
||||
{ be_const_key(STYLE_TRANSITION_DELAY, -1), be_const_int(177) },
|
||||
{ be_const_key(TABVIEW_TAB_POS_LEFT, -1), be_const_int(3) },
|
||||
{ be_const_key(CALENDAR_PART_DATE, -1), be_const_int(3) },
|
||||
{ be_const_key(TABVIEW_TAB_POS_RIGHT, 457), be_const_int(4) },
|
||||
{ be_const_key(TXT_FLAG_RECOLOR, 353), be_const_int(1) },
|
||||
{ be_const_key(FIT_PARENT, 180), be_const_int(2) },
|
||||
{ be_const_key(LABEL_ALIGN_AUTO, -1), be_const_int(3) },
|
||||
{ be_const_key(SYMBOL_BATTERY_2, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_2) },
|
||||
{ be_const_key(TXT_CMD_STATE_IN, -1), be_const_int(2) },
|
||||
{ be_const_key(STYLE_TEXT_COLOR, -1), be_const_int(32905) },
|
||||
{ be_const_key(SCROLLBAR_MODE_DRAG, -1), be_const_int(2) },
|
||||
{ be_const_key(MAGENTA, 377), be_const_int(16711935) },
|
||||
{ be_const_key(DISP_ROT_NONE, 70), be_const_int(0) },
|
||||
{ be_const_key(montserrat_font, 82), be_const_func(lv0_load_montserrat_font) },
|
||||
{ be_const_key(STYLE_LINE_OPA, -1), be_const_int(156) },
|
||||
{ be_const_key(BTNMATRIX_CTRL_CHECKABLE, -1), be_const_int(64) },
|
||||
{ be_const_key(PROTECT_NONE, -1), be_const_int(0) },
|
||||
{ be_const_key(SCROLLBAR_MODE_UNHIDE, -1), be_const_int(8) },
|
||||
{ be_const_key(GESTURE_DIR_BOTTOM, 41), be_const_int(1) },
|
||||
{ be_const_key(STYLE_TRANSFORM_HEIGHT, -1), be_const_int(5) },
|
||||
{ be_const_key(STYLE_BG_OPA, -1), be_const_int(44) },
|
||||
{ be_const_key(SYMBOL_SETTINGS, 379), be_const_str(&be_local_const_str_SYMBOL_SETTINGS) },
|
||||
{ be_const_key(CHART_CURSOR_LEFT, -1), be_const_int(4) },
|
||||
{ be_const_key(SYMBOL_AUDIO, -1), be_const_str(&be_local_const_str_SYMBOL_AUDIO) },
|
||||
{ be_const_key(SYMBOL_USB, -1), be_const_str(&be_local_const_str_SYMBOL_USB) },
|
||||
{ be_const_key(SYMBOL_EDIT, -1), be_const_str(&be_local_const_str_SYMBOL_EDIT) },
|
||||
{ be_const_key(SYMBOL_BELL, 2), be_const_str(&be_local_const_str_SYMBOL_BELL) },
|
||||
{ be_const_key(SYMBOL_LOOP, -1), be_const_str(&be_local_const_str_SYMBOL_LOOP) },
|
||||
{ be_const_key(SYMBOL_CALL, 16), be_const_str(&be_local_const_str_SYMBOL_CALL) },
|
||||
{ be_const_key(SYMBOL_CUT, -1), be_const_str(&be_local_const_str_SYMBOL_CUT) },
|
||||
{ be_const_key(SYMBOL_MUTE, -1), be_const_str(&be_local_const_str_SYMBOL_MUTE) },
|
||||
{ be_const_key(SYMBOL_RIGHT, -1), be_const_str(&be_local_const_str_SYMBOL_RIGHT) },
|
||||
{ be_const_key(SYMBOL_HOME, -1), be_const_str(&be_local_const_str_SYMBOL_HOME) },
|
||||
{ be_const_key(SYMBOL_PREV, 54), be_const_str(&be_local_const_str_SYMBOL_PREV) },
|
||||
{ be_const_key(SYMBOL_WIFI, 49), be_const_str(&be_local_const_str_SYMBOL_WIFI) },
|
||||
{ be_const_key(SYMBOL_CLOSE, -1), be_const_str(&be_local_const_str_SYMBOL_CLOSE) },
|
||||
{ be_const_key(SYMBOL_BLUETOOTH, -1), be_const_str(&be_local_const_str_SYMBOL_BLUETOOTH) },
|
||||
{ be_const_key(SYMBOL_DUMMY, -1), be_const_str(&be_local_const_str_SYMBOL_DUMMY) },
|
||||
{ be_const_key(SYMBOL_VIDEO, -1), be_const_str(&be_local_const_str_SYMBOL_VIDEO) },
|
||||
{ be_const_key(SYMBOL_PAUSE, -1), be_const_str(&be_local_const_str_SYMBOL_PAUSE) },
|
||||
{ be_const_key(SYMBOL_PASTE, 13), be_const_str(&be_local_const_str_SYMBOL_PASTE) },
|
||||
{ be_const_key(SYMBOL_MINUS, -1), be_const_str(&be_local_const_str_SYMBOL_MINUS) },
|
||||
{ be_const_key(SYMBOL_STOP, -1), be_const_str(&be_local_const_str_SYMBOL_STOP) },
|
||||
{ be_const_key(get_hor_res, 12), be_const_func(lv0_get_hor_res) },
|
||||
{ be_const_key(screenshot, 19), be_const_func(lv0_screenshot) },
|
||||
{ be_const_key(SYMBOL_GPS, -1), be_const_str(&be_local_const_str_SYMBOL_GPS) },
|
||||
{ be_const_key(SYMBOL_POWER, -1), be_const_str(&be_local_const_str_SYMBOL_POWER) },
|
||||
{ be_const_key(SYMBOL_VOLUME_MID, 51), be_const_str(&be_local_const_str_SYMBOL_VOLUME_MID) },
|
||||
{ be_const_key(SYMBOL_BATTERY_EMPTY, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_EMPTY) },
|
||||
{ be_const_key(SYMBOL_DRIVE, 61), be_const_str(&be_local_const_str_SYMBOL_DRIVE) },
|
||||
{ be_const_key(SYMBOL_KEYBOARD, -1), be_const_str(&be_local_const_str_SYMBOL_KEYBOARD) },
|
||||
{ be_const_key(load_freetype_font, -1), be_const_func(lv0_load_freetype_font) },
|
||||
{ be_const_key(SYMBOL_REFRESH, 28), be_const_str(&be_local_const_str_SYMBOL_REFRESH) },
|
||||
{ be_const_key(SYMBOL_BATTERY_2, 53), be_const_str(&be_local_const_str_SYMBOL_BATTERY_2) },
|
||||
{ be_const_key(SYMBOL_NEW_LINE, -1), be_const_str(&be_local_const_str_SYMBOL_NEW_LINE) },
|
||||
{ be_const_key(SYMBOL_SD_CARD, -1), be_const_str(&be_local_const_str_SYMBOL_SD_CARD) },
|
||||
{ be_const_key(SYMBOL_VOLUME_MAX, -1), be_const_str(&be_local_const_str_SYMBOL_VOLUME_MAX) },
|
||||
{ be_const_key(SYMBOL_PLUS, -1), be_const_str(&be_local_const_str_SYMBOL_PLUS) },
|
||||
{ be_const_key(SYMBOL_EJECT, -1), be_const_str(&be_local_const_str_SYMBOL_EJECT) },
|
||||
{ be_const_key(layer_sys, -1), be_const_func(lv0_layer_sys) },
|
||||
{ be_const_key(SYMBOL_BATTERY_FULL, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_FULL) },
|
||||
{ be_const_key(SYMBOL_DOWNLOAD, 23), be_const_str(&be_local_const_str_SYMBOL_DOWNLOAD) },
|
||||
{ be_const_key(load_font, -1), be_const_func(lv0_load_font) },
|
||||
{ be_const_key(SYMBOL_EYE_OPEN, -1), be_const_str(&be_local_const_str_SYMBOL_EYE_OPEN) },
|
||||
{ be_const_key(register_button_encoder, -1), be_const_func(lv0_register_button_encoder) },
|
||||
{ be_const_key(SYMBOL_BULLET, 9), be_const_str(&be_local_const_str_SYMBOL_BULLET) },
|
||||
{ be_const_key(start, 3), be_const_func(lv0_start) },
|
||||
{ be_const_key(scr_act, 5), be_const_func(lv0_scr_act) },
|
||||
{ be_const_key(SYMBOL_UP, -1), be_const_str(&be_local_const_str_SYMBOL_UP) },
|
||||
{ be_const_key(SYMBOL_CHARGE, -1), be_const_str(&be_local_const_str_SYMBOL_CHARGE) },
|
||||
{ be_const_key(seg7_font, -1), be_const_func(lv0_load_seg7_font) },
|
||||
{ be_const_key(SYMBOL_PLAY, 17), be_const_str(&be_local_const_str_SYMBOL_PLAY) },
|
||||
{ be_const_key(layer_top, -1), be_const_func(lv0_layer_top) },
|
||||
{ be_const_key(SYMBOL_SAVE, -1), be_const_str(&be_local_const_str_SYMBOL_SAVE) },
|
||||
{ be_const_key(SYMBOL_COPY, 1), be_const_str(&be_local_const_str_SYMBOL_COPY) },
|
||||
{ be_const_key(get_ver_res, 48), be_const_func(lv0_get_ver_res) },
|
||||
{ be_const_key(SYMBOL_DIRECTORY, -1), be_const_str(&be_local_const_str_SYMBOL_DIRECTORY) },
|
||||
{ be_const_key(montserrat_font, -1), be_const_func(lv0_load_montserrat_font) },
|
||||
{ be_const_key(SYMBOL_SHUFFLE, -1), be_const_str(&be_local_const_str_SYMBOL_SHUFFLE) },
|
||||
{ be_const_key(SYMBOL_FILE, -1), be_const_str(&be_local_const_str_SYMBOL_FILE) },
|
||||
{ be_const_key(SYMBOL_WARNING, -1), be_const_str(&be_local_const_str_SYMBOL_WARNING) },
|
||||
{ be_const_key(SYMBOL_LIST, 45), be_const_str(&be_local_const_str_SYMBOL_LIST) },
|
||||
{ be_const_key(SYMBOL_LEFT, -1), be_const_str(&be_local_const_str_SYMBOL_LEFT) },
|
||||
{ be_const_key(SYMBOL_TRASH, -1), be_const_str(&be_local_const_str_SYMBOL_TRASH) },
|
||||
{ be_const_key(SYMBOL_BACKSPACE, -1), be_const_str(&be_local_const_str_SYMBOL_BACKSPACE) },
|
||||
{ be_const_key(SYMBOL_DOWN, -1), be_const_str(&be_local_const_str_SYMBOL_DOWN) },
|
||||
{ be_const_key(member, -1), be_const_func(lv0_member) },
|
||||
{ be_const_key(SYMBOL_OK, -1), be_const_str(&be_local_const_str_SYMBOL_OK) },
|
||||
{ be_const_key(SYMBOL_BATTERY_3, -1), be_const_str(&be_local_const_str_SYMBOL_BATTERY_3) },
|
||||
{ be_const_key(SYMBOL_NEXT, -1), be_const_str(&be_local_const_str_SYMBOL_NEXT) },
|
||||
{ be_const_key(SYMBOL_BATTERY_1, 14), be_const_str(&be_local_const_str_SYMBOL_BATTERY_1) },
|
||||
};
|
||||
|
||||
static be_define_const_map(
|
||||
m_liblvgl_map,
|
||||
463
|
||||
72
|
||||
);
|
||||
|
||||
static be_define_const_module(
|
||||
|
|
|
@ -267,10 +267,26 @@ static void obj_method(bvm *vm, bvalue *o, bstring *attr, bvalue *dst)
|
|||
}
|
||||
}
|
||||
|
||||
static int obj_attribute(bvm *vm, bvalue *o, bstring *attr, bvalue *dst)
|
||||
static int obj_attribute(bvm *vm, bvalue *o, bvalue *c, bvalue *dst)
|
||||
{
|
||||
bvalue instance = *o; /* save instance to send it later to member */
|
||||
bstring *attr = var_tostr(c);
|
||||
binstance *obj = var_toobj(o);
|
||||
int type = be_instance_member(vm, obj, attr, dst);
|
||||
if (basetype(type) == BE_NIL) { /* if no method found, try virtual */
|
||||
/* get method 'member' */
|
||||
int type2 = be_instance_member(vm, obj, str_literal(vm, "member"), vm->top);
|
||||
if (basetype(type2) == BE_FUNCTION) {
|
||||
bvalue *top = vm->top;
|
||||
top[1] = instance; /* move instance to argv[0] */
|
||||
top[2] = *c; /* move method name to argv[1] */
|
||||
vm->top += 3; /* prevent collection results */
|
||||
be_dofunc(vm, top, 2); /* call method 'member' */
|
||||
vm->top -= 3;
|
||||
*o = *vm->top; /* copy result to R(A) */
|
||||
type = var_type(o);
|
||||
}
|
||||
}
|
||||
if (basetype(type) == BE_NIL) {
|
||||
vm_error(vm, "attribute_error",
|
||||
"the '%s' object has no attribute '%s'",
|
||||
|
@ -723,7 +739,8 @@ newframe: /* a new call frame */
|
|||
opcase(GETMBR): {
|
||||
bvalue *a = RA(), *b = RKB(), *c = RKC();
|
||||
if (var_isinstance(b) && var_isstr(c)) {
|
||||
obj_attribute(vm, b, var_tostr(c), a);
|
||||
obj_attribute(vm, b, c, a);
|
||||
reg = vm->reg;
|
||||
} else if (var_ismodule(b) && var_isstr(c)) {
|
||||
bstring *attr = var_tostr(c);
|
||||
bmodule *module = var_toobj(b);
|
||||
|
@ -731,9 +748,22 @@ newframe: /* a new call frame */
|
|||
if (v) {
|
||||
*a = *v;
|
||||
} else {
|
||||
vm_error(vm, "attribute_error",
|
||||
"module '%s' has no attribute '%s'",
|
||||
be_module_name(module), str(attr));
|
||||
bvalue *member = be_module_attr(vm, module, str_literal(vm, "member"));
|
||||
var_setnil(a);
|
||||
if (member && var_basetype(member) == BE_FUNCTION) {
|
||||
bvalue *top = vm->top;
|
||||
top[0] = *member;
|
||||
top[1] = *c; /* move name to argv[0] */
|
||||
vm->top += 2; /* prevent collection results */
|
||||
be_dofunc(vm, top, 1); /* call method 'method' */
|
||||
vm->top -= 2;
|
||||
*a = *vm->top; /* copy result to R(A) */
|
||||
}
|
||||
if (var_basetype(a) == BE_NIL) {
|
||||
vm_error(vm, "attribute_error",
|
||||
"module '%s' has no attribute '%s'",
|
||||
be_module_name(module), str(attr));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
attribute_error(vm, "attribute", b, c);
|
||||
|
@ -746,12 +776,10 @@ newframe: /* a new call frame */
|
|||
bvalue self = *b;
|
||||
bstring *attr = var_tostr(c);
|
||||
binstance *obj = var_toobj(b);
|
||||
int type = obj_attribute(vm, b, var_tostr(c), a);
|
||||
if (type == MT_METHOD || type == MT_PRIMMETHOD) {
|
||||
int type = obj_attribute(vm, b, c, a);
|
||||
reg = vm->reg;
|
||||
if (var_basetype(a) == BE_FUNCTION) {
|
||||
a[1] = self;
|
||||
} else if (var_basetype(a) == BE_FUNCTION) {
|
||||
a[1] = *a;
|
||||
var_settype(a, NOT_METHOD);
|
||||
} else {
|
||||
vm_error(vm, "attribute_error",
|
||||
"class '%s' has no method '%s'",
|
||||
|
|
|
@ -0,0 +1,66 @@
|
|||
#- basic initialization -#
|
||||
|
||||
def assert_attribute_error(f)
|
||||
try
|
||||
f()
|
||||
assert(false, 'unexpected execution flow')
|
||||
except .. as e, m
|
||||
assert(e == 'attribute_error')
|
||||
end
|
||||
end
|
||||
|
||||
class T1
|
||||
var a, b
|
||||
def init()
|
||||
self.a = 1
|
||||
self.b = 2
|
||||
end
|
||||
def f() return true end
|
||||
def g() return false end
|
||||
end
|
||||
t = T1()
|
||||
|
||||
#- warm up -#
|
||||
assert(t.a == 1)
|
||||
assert(t.b == 2)
|
||||
assert(t.f() == true)
|
||||
assert(t.g() == false)
|
||||
|
||||
#- test normal errors when method does not exist -#
|
||||
assert_attribute_error(/-> t.h())
|
||||
assert_attribute_error(/-> t.c)
|
||||
|
||||
class T2 : T1
|
||||
def member(n)
|
||||
if (n == 'f1') return / n -> n end
|
||||
if (n == 'f2') return /-> 4 end
|
||||
if (n == 'a1') return 10 end
|
||||
end
|
||||
end
|
||||
t2 = T2()
|
||||
|
||||
#- test non-regression -#
|
||||
assert(t2.a == 1)
|
||||
assert(t2.b == 2)
|
||||
assert(t2.f() == true)
|
||||
assert(t2.g() == false)
|
||||
assert_attribute_error(/-> t2.h())
|
||||
|
||||
#- try virtual methods -#
|
||||
assert(t2.f1() == t2)
|
||||
assert(t2.f2() == 4)
|
||||
assert(t2.a1 == 10)
|
||||
|
||||
#- module -#
|
||||
m = module("m")
|
||||
|
||||
m.a = 1
|
||||
assert(m.a == 1)
|
||||
assert_attribute_error(/-> m.b)
|
||||
|
||||
m.member = def(n)
|
||||
if n == "b" return 2 end
|
||||
end
|
||||
|
||||
assert(m.b == 2)
|
||||
assert_attribute_error(/-> m.c)
|
File diff suppressed because it is too large
Load Diff
|
@ -8386,11 +8386,6 @@ bool Xdrv10(uint8_t function)
|
|||
case FUNC_EVERY_100_MSECOND:
|
||||
ScripterEvery100ms();
|
||||
break;
|
||||
#ifdef USE_LVGL
|
||||
case FUNC_EVERY_50_MSECOND:
|
||||
lv_task_handler();
|
||||
break;
|
||||
#endif // USE_LVGL
|
||||
|
||||
case FUNC_EVERY_SECOND:
|
||||
ScriptEverySecond();
|
||||
|
|
|
@ -30,6 +30,11 @@
|
|||
#include "lv_freetype.h"
|
||||
#endif
|
||||
|
||||
// Berry easy logging
|
||||
extern "C" {
|
||||
extern void berry_log_C(const char * berry_buf, ...);
|
||||
}
|
||||
|
||||
extern Adafruit_LvGL_Glue * glue;
|
||||
|
||||
/********************************************************************
|
||||
|
@ -273,32 +278,185 @@ void be_check_arg_type(bvm *vm, int32_t argc, const char * arg_type, int32_t p[5
|
|||
}
|
||||
|
||||
typedef int32_t (*fn_any_callable)(int32_t p0, int32_t p1, int32_t p2, int32_t p3, int32_t p4);
|
||||
int be_call_c_func(bvm *vm, void * func, const char * return_type = nullptr, const char * arg_type = nullptr) {
|
||||
int32_t p[5] = {0,0,0,0,0};
|
||||
int32_t argc = be_top(vm); // Get the number of arguments
|
||||
extern "C" {
|
||||
|
||||
fn_any_callable f = (fn_any_callable) func;
|
||||
be_check_arg_type(vm, argc, arg_type, p);
|
||||
// AddLog(LOG_LEVEL_INFO, ">> be_call_c_func(%p) - %p,%p,%p,%p,%p - %s", f, p[0], p[1], p[2], p[3], p[4], return_type);
|
||||
int32_t ret = (*f)(p[0], p[1], p[2], p[3], p[4]);
|
||||
// AddLog(LOG_LEVEL_INFO, ">> be_call_c_func, ret = %p", ret);
|
||||
if ((return_type == nullptr) || (strlen(return_type) == 0)) { be_return_nil(vm); } // does not return
|
||||
else if (strlen(return_type) == 1) {
|
||||
switch (return_type[0]) {
|
||||
case 'i': be_pushint(vm, ret); break;
|
||||
case 'b': be_pushbool(vm, ret); break;
|
||||
case 's': be_pushstring(vm, (const char*) ret); break;
|
||||
default: be_raise(vm, "internal_error", "Unsupported return type"); break;
|
||||
void lv_init_set_member(bvm *vm, int index, void * ptr);
|
||||
|
||||
// called programmatically
|
||||
int lvx_init_2(bvm *vm, void * func, const char * return_type, const char * arg_type = nullptr);
|
||||
int lvx_init_2(bvm *vm, void * func, const char * return_type, const char * arg_type) {
|
||||
int argc = be_top(vm);
|
||||
lv_obj_t * obj1 = nullptr;
|
||||
lv_obj_t * obj2 = nullptr;
|
||||
|
||||
if (argc > 1) {
|
||||
obj1 = (lv_obj_t*) be_convert_single_elt(vm, 2);
|
||||
}
|
||||
if (argc > 2) {
|
||||
obj2 = (lv_obj_t*) be_convert_single_elt(vm, 3);
|
||||
}
|
||||
// AddLog(LOG_LEVEL_INFO, "argc %d lv_obj %p", argc, obj);
|
||||
fn_any_callable f = (fn_any_callable) func;
|
||||
// AddLog(LOG_LEVEL_INFO, ">> be_call_c_func(%p) - %p,%p,%p,%p,%p", f, p[0], p[1], p[2], p[3], p[4]);
|
||||
lv_obj_t * obj;
|
||||
if ((int32_t)obj1 == -1) { // special semantics of first ptr is -1, then just encapsulate
|
||||
obj = obj2;
|
||||
} else { // otherwise call the LVGL creator
|
||||
obj = (lv_obj_t*) (*f)((int32_t)obj1, (int32_t)obj2, 0, 0, 0);
|
||||
}
|
||||
lv_init_set_member(vm, 1, obj);
|
||||
be_return_nil(vm);
|
||||
}
|
||||
|
||||
// binary search within an array of sorted strings
|
||||
// the first 4 bytes are a pointer to a string
|
||||
// returns 0..total_elements-1 or -1 if not found
|
||||
int32_t bin_search(const char * needle, const void * table, size_t elt_size, size_t total_elements) {
|
||||
int32_t low = 0;
|
||||
int32_t high = total_elements - 1;
|
||||
int32_t mid = (low + high) / 2;
|
||||
// start a dissect
|
||||
while (low <= high) {
|
||||
const char * elt = *(const char **) ( ((uint8_t*)table) + mid * elt_size );
|
||||
int32_t comp = strcmp(needle, elt);
|
||||
if (comp < 0) {
|
||||
high = mid - 1;
|
||||
} else if (comp > 0) {
|
||||
low = mid + 1;
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
mid = (low + high) / 2;
|
||||
}
|
||||
if (low <= high) {
|
||||
return mid;
|
||||
} else {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
int be_call_c_func(bvm *vm, void * func, const char * return_type, const char * arg_type);
|
||||
|
||||
// native closure to call `be_call_c_func`
|
||||
int lvx_call_c(bvm *vm) {
|
||||
// keep parameters unchanged
|
||||
be_getupval(vm, 0, 0); // if index is zero, it's the current native closure
|
||||
void * func = be_tocomptr(vm, -1);
|
||||
be_getupval(vm, 0, 1); // if index is zero, it's the current native closure
|
||||
const char * return_type = be_tostring(vm, -1);
|
||||
be_getupval(vm, 0, 2); // if index is zero, it's the current native closure
|
||||
const char * arg_type = be_tostring(vm, -1);
|
||||
be_pop(vm, 3); // remove 3 upvals
|
||||
|
||||
// berry_log_C("lvx_call_c %p '%s' <- (%s)", func, return_type, arg_type);
|
||||
return be_call_c_func(vm, func, return_type, arg_type);
|
||||
}
|
||||
|
||||
// table of functions per class
|
||||
typedef struct lvbe_call_c_t {
|
||||
const char * name;
|
||||
void * func;
|
||||
const char * return_type;
|
||||
const char * arg_type;
|
||||
} lvbe_call_c_t;
|
||||
|
||||
// list of classes and function tables
|
||||
typedef struct lvbe_call_c_classes_t {
|
||||
const char * name;
|
||||
const lvbe_call_c_t * func_table;
|
||||
size_t size;
|
||||
} lvbe_call_c_classes_t;
|
||||
extern const lvbe_call_c_classes_t lv_classes[];
|
||||
extern const size_t lv_classes_size;
|
||||
|
||||
// virtual method, arg1: instance, arg2: name of method
|
||||
int lvx_member(bvm *vm) {
|
||||
int32_t argc = be_top(vm); // Get the number of arguments
|
||||
if (argc == 2 && be_isinstance(vm, 1) && be_isstring(vm, 2)) {
|
||||
const char * method_name = be_tostring(vm, 2); // the method we are looking for
|
||||
while (be_isinstance(vm, 1)) {
|
||||
const char * class_name = be_classname(vm, 1);
|
||||
// berry_log_C("lvx_member looking for method '%s' of class '%s'", method_name, class_name);
|
||||
|
||||
// look for class descriptor
|
||||
int32_t class_idx = bin_search(class_name, &lv_classes[0].name, sizeof(lv_classes[0]), lv_classes_size);
|
||||
if (class_idx < 0) {
|
||||
// class not found, abort
|
||||
// berry_log_C("lvx_member class not found");
|
||||
be_return_nil(vm);
|
||||
}
|
||||
const lvbe_call_c_t * methods_calls = lv_classes[class_idx].func_table;
|
||||
size_t methods_size = lv_classes[class_idx].size;
|
||||
|
||||
int32_t method_idx = bin_search(method_name, methods_calls, sizeof(lvbe_call_c_t), methods_size);
|
||||
if (method_idx >= 0) {
|
||||
// method found
|
||||
// berry_log_C("lvx_member method found");
|
||||
|
||||
const lvbe_call_c_t * method = &methods_calls[method_idx];
|
||||
// push native closure
|
||||
be_pushntvclosure(vm, &lvx_call_c, 3); // 3 upvals
|
||||
|
||||
be_pushcomptr(vm, method->func);
|
||||
be_setupval(vm, -2, 0);
|
||||
be_pop(vm, 1);
|
||||
|
||||
be_pushstring(vm, method->return_type);
|
||||
be_setupval(vm, -2, 1);
|
||||
be_pop(vm, 1);
|
||||
|
||||
be_pushstring(vm, method->arg_type);
|
||||
be_setupval(vm, -2, 2);
|
||||
be_pop(vm, 1);
|
||||
|
||||
// all good
|
||||
be_return(vm);
|
||||
}
|
||||
|
||||
// get super if any, or nil if none
|
||||
be_getsuper(vm, 1);
|
||||
be_moveto(vm, -1, 1);
|
||||
be_pop(vm, 1);
|
||||
}
|
||||
// berry_log_C("lvx_member method not found");
|
||||
be_return_nil(vm);
|
||||
}
|
||||
be_raise(vm, kTypeError, nullptr);
|
||||
}
|
||||
|
||||
int be_call_c_func(bvm *vm, void * func, const char * return_type, const char * arg_type) {
|
||||
int32_t p[5] = {0,0,0,0,0};
|
||||
int32_t argc = be_top(vm); // Get the number of arguments
|
||||
|
||||
// check if we call a constructor
|
||||
if (return_type && return_type[0] == '+') {
|
||||
return_type++; // skip the leading '+'
|
||||
return lvx_init_2(vm, func, return_type);
|
||||
}
|
||||
|
||||
fn_any_callable f = (fn_any_callable) func;
|
||||
be_check_arg_type(vm, argc, arg_type, p);
|
||||
// AddLog(LOG_LEVEL_INFO, ">> be_call_c_func(%p) - %p,%p,%p,%p,%p - %s", f, p[0], p[1], p[2], p[3], p[4], return_type);
|
||||
int32_t ret = (*f)(p[0], p[1], p[2], p[3], p[4]);
|
||||
// AddLog(LOG_LEVEL_INFO, ">> be_call_c_func, ret = %p", ret);
|
||||
if ((return_type == nullptr) || (strlen(return_type) == 0)) { be_return_nil(vm); } // does not return
|
||||
else if (strlen(return_type) == 1) {
|
||||
switch (return_type[0]) {
|
||||
case 'i': be_pushint(vm, ret); break;
|
||||
case 'b': be_pushbool(vm, ret); break;
|
||||
case 's': be_pushstring(vm, (const char*) ret); break;
|
||||
default: be_raise(vm, "internal_error", "Unsupported return type"); break;
|
||||
}
|
||||
be_return(vm);
|
||||
} else { // class name
|
||||
// AddLog(LOG_LEVEL_INFO, ">> be_call_c_func, create_obj", ret);
|
||||
be_getglobal(vm, return_type); // stack = class
|
||||
be_pushcomptr(vm, (void*) -1); // stack = class, -1
|
||||
be_pushcomptr(vm, (void*) ret); // stack = class, -1, ptr
|
||||
be_call(vm, 2); // instanciate with 2 arguments, stack = instance, -1, ptr
|
||||
be_pop(vm, 2); // stack = instance
|
||||
be_return(vm);
|
||||
}
|
||||
be_return(vm);
|
||||
} else { // class name
|
||||
// AddLog(LOG_LEVEL_INFO, ">> be_call_c_func, create_obj", ret);
|
||||
be_getglobal(vm, return_type); // stack = class
|
||||
be_pushcomptr(vm, (void*) -1); // stack = class, -1
|
||||
be_pushcomptr(vm, (void*) ret); // stack = class, -1, ptr
|
||||
be_call(vm, 2); // instanciate with 2 arguments, stack = instance, -1, ptr
|
||||
be_pop(vm, 2); // stack = instance
|
||||
be_return(vm);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -631,6 +789,51 @@ extern "C" {
|
|||
lv_img_set_src(img, &tasmota_logo_64_truecolor);
|
||||
}
|
||||
|
||||
/*********************************************************************************************\
|
||||
* LVGL top level virtual members
|
||||
*
|
||||
* Responds to virtual constants
|
||||
\*********************************************************************************************/
|
||||
|
||||
typedef struct lvbe_constant_t {
|
||||
const char * name;
|
||||
int32_t value;
|
||||
} lvbe_constant_t;
|
||||
|
||||
extern const lvbe_constant_t lv0_constants[];
|
||||
extern const size_t lv0_constants_size;
|
||||
|
||||
int lv0_member(bvm *vm);
|
||||
int lv0_member(bvm *vm) {
|
||||
int32_t argc = be_top(vm); // Get the number of arguments
|
||||
if (argc == 1 && be_isstring(vm, 1)) {
|
||||
const char * needle = be_tostring(vm, 1);
|
||||
int32_t low = 0;
|
||||
int32_t high = lv0_constants_size - 1;
|
||||
int32_t mid = (low + high) / 2;
|
||||
// start a dissect
|
||||
while (low <= high) {
|
||||
int32_t comp = strcmp(needle, lv0_constants[mid].name);
|
||||
if (comp < 0) {
|
||||
high = mid - 1;
|
||||
} else if (comp > 0) {
|
||||
low = mid + 1;
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
mid = (low + high) / 2;
|
||||
}
|
||||
if (low <= high) {
|
||||
// we did have a match, low == high
|
||||
be_pushint(vm, lv0_constants[mid].value);
|
||||
be_return(vm);
|
||||
} else {
|
||||
be_return_nil(vm);
|
||||
}
|
||||
}
|
||||
be_raise(vm, kTypeError, nullptr);
|
||||
}
|
||||
|
||||
/*********************************************************************************************\
|
||||
* LVGL Start
|
||||
*
|
||||
|
@ -790,32 +993,6 @@ extern "C" {
|
|||
be_return_nil(vm);
|
||||
}
|
||||
|
||||
// called programmatically
|
||||
int lvx_init_2(bvm *vm, void * func, const char * return_type, const char * arg_type = nullptr);
|
||||
int lvx_init_2(bvm *vm, void * func, const char * return_type, const char * arg_type) {
|
||||
int argc = be_top(vm);
|
||||
lv_obj_t * obj1 = nullptr;
|
||||
lv_obj_t * obj2 = nullptr;
|
||||
|
||||
if (argc > 1) {
|
||||
obj1 = (lv_obj_t*) be_convert_single_elt(vm, 2);
|
||||
}
|
||||
if (argc > 2) {
|
||||
obj2 = (lv_obj_t*) be_convert_single_elt(vm, 3);
|
||||
}
|
||||
// AddLog(LOG_LEVEL_INFO, "argc %d lv_obj %p", argc, obj);
|
||||
fn_any_callable f = (fn_any_callable) func;
|
||||
// AddLog(LOG_LEVEL_INFO, ">> be_call_c_func(%p) - %p,%p,%p,%p,%p", f, p[0], p[1], p[2], p[3], p[4]);
|
||||
lv_obj_t * obj;
|
||||
if ((int32_t)obj1 == -1) { // special semantics of first ptr is -1, then just encapsulate
|
||||
obj = obj2;
|
||||
} else { // otherwise call the LVGL creator
|
||||
obj = (lv_obj_t*) (*f)((int32_t)obj1, (int32_t)obj2, 0, 0, 0);
|
||||
}
|
||||
lv_init_set_member(vm, 1, obj);
|
||||
be_return_nil(vm);
|
||||
}
|
||||
|
||||
int lvx_tostring(bvm *vm) {
|
||||
lv_obj_t * obj = (lv_obj_t*) lv_get_arg(vm, 1);
|
||||
const char * classname = be_classname(vm, 1);
|
||||
|
|
|
@ -221,7 +221,7 @@ with open(lv_module_file) as f:
|
|||
if v_num is not None:
|
||||
lv_module.append( [k, v_num] )
|
||||
else:
|
||||
lv_modile.append( [k, v] ) # keep as string
|
||||
lv_module.append( [k, v] ) # keep as string
|
||||
|
||||
# recursively try to match value
|
||||
# TODO
|
||||
|
@ -262,8 +262,62 @@ print("""
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// table of functions per class
|
||||
// typedef struct lvbe_call_c_t {
|
||||
// const char * name;
|
||||
// void * func;
|
||||
// const char * return_type;
|
||||
// const char * arg_type;
|
||||
// } lvbe_call_c_t;
|
||||
|
||||
// list of classes and function tables
|
||||
// typedef struct lvbe_call_c_classes_t {
|
||||
// const char * name;
|
||||
// const lvbe_call_c_t * func_table;
|
||||
// size_t size;
|
||||
// } lvbe_call_c_classes_t;
|
||||
|
||||
""")
|
||||
|
||||
for subtype, flv in lv.items():
|
||||
print(f"""/* `lv_{subtype}` methods */
|
||||
const lvbe_call_c_t lv_{subtype}_func[] = {{""")
|
||||
|
||||
func_out = {} # used to sort output
|
||||
for f in flv:
|
||||
c_func_name = f[0]
|
||||
c_ret_type = f[1]
|
||||
c_argc = f[2]
|
||||
if c_argc is not None: c_argc = "\"" + c_argc + "\""
|
||||
orig_func_name = f[3]
|
||||
be_name = f[4]
|
||||
if c_func_name.endswith("_create"):
|
||||
c_ret_type = f"+lv_{subtype}"
|
||||
func_out[be_name] = f" {{ \"{be_name}\", (void*) &{orig_func_name}, \"{c_ret_type}\", { c_argc if c_argc else 'nullptr'} }},"
|
||||
|
||||
for be_name in sorted(func_out):
|
||||
print(func_out[be_name])
|
||||
|
||||
print(f"""}};
|
||||
""")
|
||||
|
||||
# print the global map of classes
|
||||
print(f"""
|
||||
// map of clases
|
||||
const lvbe_call_c_classes_t lv_classes[] = {{""")
|
||||
|
||||
for subtype in sorted(lv):
|
||||
# for subtype, flv in lv.items():
|
||||
print(f" {{ \"lv_{subtype}\", lv_{subtype}_func, sizeof(lv_{subtype}_func) / sizeof(lv_{subtype}_func[0]) }},")
|
||||
|
||||
print(f"""}};
|
||||
const size_t lv_classes_size = sizeof(lv_classes) / sizeof(lv_classes[0]);
|
||||
""")
|
||||
|
||||
# previous generation calls
|
||||
|
||||
# keep only create
|
||||
for subtype, flv in lv.items():
|
||||
print(f" /* `lv_{subtype}` methods */")
|
||||
for f in flv:
|
||||
|
@ -272,10 +326,8 @@ for subtype, flv in lv.items():
|
|||
c_argc = f[2]
|
||||
if c_argc is not None: c_argc = "\"" + c_argc + "\""
|
||||
orig_func_name = f[3]
|
||||
#print(f" int {c_func_name}(bvm *vm) \{ return (vm, be_call_c_func(void*) &")
|
||||
if c_func_name.endswith("_create"):
|
||||
print(f" int {c_func_name}(bvm *vm) {{ return lvx_init_2(vm, (void*) &{orig_func_name}, \"lv_{subtype}\", { c_argc if c_argc else 'nullptr'}); }}")
|
||||
else:
|
||||
c_ret_type = f"+lv_{subtype}"
|
||||
print(f" int {c_func_name}(bvm *vm) {{ return be_call_c_func(vm, (void*) &{orig_func_name}, \"{c_ret_type}\", { c_argc if c_argc else 'nullptr'}); }}")
|
||||
print()
|
||||
|
||||
|
@ -317,23 +369,13 @@ print("""
|
|||
|
||||
#include "lvgl.h"
|
||||
|
||||
extern int lv0_start(bvm *vm);
|
||||
|
||||
extern int lv0_init(bvm *vm);
|
||||
|
||||
extern int lv0_register_button_encoder(bvm *vm); // add buttons with encoder logic
|
||||
|
||||
extern int lv0_scr_act(bvm *vm);
|
||||
extern int lv0_layer_top(bvm *vm);
|
||||
extern int lv0_layer_sys(bvm *vm);
|
||||
extern int lv0_get_hor_res(bvm *vm);
|
||||
extern int lv0_get_ver_res(bvm *vm);
|
||||
extern int lv0_screenshot(bvm *vm);
|
||||
|
||||
extern int lco_init(bvm *vm);
|
||||
extern int lco_tostring(bvm *vm);
|
||||
|
||||
extern int lvx_init_2(bvm *vm); // generic function
|
||||
extern int lvx_member(bvm *vm);
|
||||
extern int lvx_tostring(bvm *vm); // generic function
|
||||
|
||||
extern int lvs_init(bvm *vm);
|
||||
|
@ -379,13 +421,14 @@ for subtype, flv in lv.items():
|
|||
else:
|
||||
print(f" {{ \"init\", lv0_init }},")
|
||||
print(f" {{ \"tostring\", lvx_tostring }},")
|
||||
print(f" {{ \"member\", lvx_member }},")
|
||||
|
||||
print()
|
||||
for f in flv:
|
||||
# for f in flv:
|
||||
|
||||
c_func_name = f[0]
|
||||
be_name = f[4]
|
||||
print(f" {{ \"{be_name}\", {c_func_name} }},")
|
||||
# c_func_name = f[0]
|
||||
# be_name = f[4]
|
||||
# print(f" {{ \"{be_name}\", {c_func_name} }},")
|
||||
|
||||
print()
|
||||
print(f" // {{ NULL, (bntvfunc) BE_CLOSURE }}, /* mark section for berry closures */")
|
||||
|
@ -424,11 +467,13 @@ for subtype, flv in lv.items():
|
|||
else:
|
||||
print(f" init, func(lv0_init)")
|
||||
print(f" tostring, func(lvx_tostring)")
|
||||
print(f" member, func(lvx_member)")
|
||||
print()
|
||||
|
||||
for f in flv:
|
||||
c_func_name = f[0]
|
||||
be_name = f[4]
|
||||
print(f" {be_name}, func({c_func_name})")
|
||||
# for f in flv:
|
||||
# c_func_name = f[0]
|
||||
# be_name = f[4]
|
||||
# print(f" {be_name}, func({c_func_name})")
|
||||
|
||||
print(f"}}")
|
||||
print(f"@const_object_info_end */")
|
||||
|
@ -454,6 +499,8 @@ print("""/********************************************************************
|
|||
|
||||
#include "lvgl.h"
|
||||
|
||||
extern int lv0_member(bvm *vm); // resolve virtual members
|
||||
|
||||
extern int lv0_start(bvm *vm);
|
||||
|
||||
extern int lv0_register_button_encoder(bvm *vm); // add buttons with encoder logic
|
||||
|
@ -471,6 +518,32 @@ extern int lv0_get_ver_res(bvm *vm);
|
|||
extern int lv0_screenshot(bvm *vm);
|
||||
""")
|
||||
|
||||
print("""
|
||||
|
||||
typedef struct lvbe_constant_t {
|
||||
const char * name;
|
||||
int32_t value;
|
||||
} lvbe_constant_t;
|
||||
|
||||
const lvbe_constant_t lv0_constants[] = {
|
||||
""")
|
||||
|
||||
lv_module2 = {}
|
||||
for k_v in lv_module:
|
||||
(k,v) = k_v
|
||||
if k is not None:
|
||||
lv_module2[k] = v
|
||||
|
||||
for k in sorted(lv_module2):
|
||||
v = lv_module2[k]
|
||||
print(f" {{ \"{k}\", {v} }},")
|
||||
|
||||
print("""
|
||||
};
|
||||
|
||||
const size_t lv0_constants_size = sizeof(lv0_constants)/sizeof(lv0_constants[0]);
|
||||
""")
|
||||
|
||||
for f in lv0:
|
||||
c_func_name = f[0]
|
||||
print(f"extern int {c_func_name}(bvm *vm);")
|
||||
|
@ -545,13 +618,6 @@ be_native_module_attr_table(lvgl) {
|
|||
|
||||
be_native_module_str("SYMBOL_BULLET", "\\xE2\\x80\\xA2"),
|
||||
|
||||
// connection type
|
||||
be_native_module_int("SPI", 0),
|
||||
be_native_module_int("I2C", 1),
|
||||
// connection sub_type
|
||||
be_native_module_int("HSPI", 0),
|
||||
be_native_module_int("VSPI", 1),
|
||||
be_native_module_int("SSPI", 2),
|
||||
""")
|
||||
|
||||
print("/* `lvgl` module functions */")
|
||||
|
@ -567,16 +633,17 @@ print()
|
|||
|
||||
# print()
|
||||
|
||||
for k_v in lv_module:
|
||||
(k,v) = k_v
|
||||
if k is None:
|
||||
print(v) # comment line
|
||||
continue
|
||||
# for k_v in lv_module:
|
||||
# (k,v) = k_v
|
||||
# if k is None:
|
||||
# print(v) # comment line
|
||||
# continue
|
||||
|
||||
print(f" be_native_module_int(\"{k}\", {v}),")
|
||||
# print(f" be_native_module_int(\"{k}\", {v}),")
|
||||
|
||||
print("""
|
||||
|
||||
be_native_module_function("member", lv0_member),
|
||||
be_native_module_function("start", lv0_start),
|
||||
|
||||
be_native_module_function("register_button_encoder", lv0_register_button_encoder),
|
||||
|
@ -735,23 +802,18 @@ module lvgl (scope: global) {
|
|||
SYMBOL_DUMMY, str(&be_local_const_str_SYMBOL_DUMMY)
|
||||
|
||||
SYMBOL_BULLET, str(&be_local_const_str_SYMBOL_BULLET)
|
||||
|
||||
SPI, int(0)
|
||||
I2C, int(1)
|
||||
HSPI, int(0)
|
||||
VSPI, int(1)
|
||||
SSPI, int(2)
|
||||
""")
|
||||
|
||||
|
||||
for k_v in lv_module:
|
||||
(k,v) = k_v
|
||||
if k is None:
|
||||
continue
|
||||
# for k_v in lv_module:
|
||||
# (k,v) = k_v
|
||||
# if k is None:
|
||||
# continue
|
||||
|
||||
print(f" {k}, int({v})")
|
||||
# print(f" {k}, int({v})")
|
||||
|
||||
print("""
|
||||
member, func(lv0_member)
|
||||
start, func(lv0_start)
|
||||
|
||||
register_button_encoder, func(lv0_register_button_encoder)
|
||||
|
|
Loading…
Reference in New Issue