1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

3609 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
4f743a7aa8 refactor(obj class) rename lv_obj_create_from_class to lv_obj_class_create_obj 2021-05-03 13:58:20 +02:00
Gabor Kiss-Vamosi
bf8f8230a6 feat(chart) add LV_EVENT_DRAW_PART_BEGIN/END to hook division line drawing 2021-05-03 13:51:09 +02:00
Gabor Kiss-Vamosi
9b067784ee fix(obj) fix adding LV_STATE_FOCUS_KEY 2021-05-03 12:47:22 +02:00
Gabor Kiss-Vamosi
e1e45b1de3 fix(btnmatrix) improve focusing if used in groups 2021-05-03 11:14:25 +02:00
Gabor Kiss-Vamosi
22fa87a58e fix(obj) be sure the slef size is refreshed when an obejct is created 2021-05-02 22:16:38 +02:00
Gabor Kiss-Vamosi
b76efce8a8 fix(chart) fix y axis tick labels with negative values 2021-05-02 22:11:17 +02:00
Gabor Kiss-Vamosi
a8016196a8 refactor(meter, chart) make them extra widgets instead of core 2021-05-02 22:01:56 +02:00
Gabor Kiss-Vamosi
5662c8d52d fix(bar, slider) fix minor issues 2021-05-02 21:05:23 +02:00
Gabor Kiss-Vamosi
d8e76f5d68 fix(obj_style) fix style transitions if they not affect the main part 2021-05-02 21:05:23 +02:00
embeddedt
e3b8b84d71
feat(style) add support for declaring styles in ROM (#2220)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-05-01 20:16:34 -04:00
Gabor Kiss-Vamosi
b1f7d195db fix(style) in lv_style_transition_dsc_init chnage the props argument from '* props' to 'props[]' as it's an array 2021-05-01 08:43:46 +02:00
Gabor Kiss-Vamosi
73cda914e0 fix(obj_class) do not fire style change events before the object is fully constructed 2021-05-01 08:32:16 +02:00
Gabor Kiss-Vamosi
8578a68849 fix(btnmatrix) fix typo
button_is_hidden was used instead of button_is_recolor
2021-05-01 07:41:12 +02:00
Gabor Kiss-Vamosi
e6d64b74d5 refactor(calendar): use lv_res_t return value in lv_calendar_get_pressed_date instead of bool 2021-05-01 07:34:30 +02:00
Gabor Kiss-Vamosi
f194079cd8 fix(anim) fix bounce path 2021-05-01 07:34:30 +02:00
Gabor Kiss-Vamosi
e9aa30ff7d feat(btnmatrix) make 'recolor' a button flag insted of a function 2021-05-01 07:34:30 +02:00
Gabor Kiss-Vamosi
9c7ba22f66 fix(refr) do not pause display refreshing is memory monitor is enabled 2021-05-01 07:34:30 +02:00
Gabor Kiss-Vamosi
f812020eba fix(timer) fix the use of lv_timer_pause/resume 2021-04-30 14:48:36 +02:00
Gabor Kiss-Vamosi
9c96230323 fix(obj) ext_click_area lv_coord_t instead of uint8_t 2021-04-30 14:47:34 +02:00
Gabor Kiss-Vamosi
b56d0ad835 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-04-30 11:22:13 +02:00
Gabor Kiss-Vamosi
144221e0b6 feat(timer) add lv_timer_resume()
Instead of a pause/resume paramater in lv_timer_pause()
2021-04-30 11:22:08 +02:00
Gabor Kiss-Vamosi
1864f608b4 fix build error 2021-04-30 10:03:57 +02:00
Gabor Kiss-Vamosi
3c40c83691 feat(bar) send LV_DRAW_PART_BEGIN/END for the indicator 2021-04-30 10:00:25 +02:00
Gabor Kiss-Vamosi
4f37e3ee25 refactor(arc) rename arc type to mode 2021-04-30 09:59:54 +02:00
Gabor Kiss-Vamosi
9394de662c Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-04-29 15:16:47 +02:00
Gabor Kiss-Vamosi
6206a5381d fix(dropdown) make the symbol (arrow) use LV_PART_INDICATOR 2021-04-29 15:16:41 +02:00
Gabor Kiss-Vamosi
40d0d1ebb0 fix(grid) avoid rounding error is FR cells are used 2021-04-29 15:16:15 +02:00
Gabor Kiss-Vamosi
5a385a14b4 fix(theme) improve the style of the keybpard in the default theme 2021-04-29 10:15:20 +02:00
Gabor Kiss-Vamosi
9ff1cb7f1d fix(meter) keep the creation order of indicator during drawing
Instead of drawing the indicators per scale
2021-04-29 10:11:21 +02:00
Gabor Kiss-Vamosi
1b93668df7 feat(obj) save self_size in the obejct to save a lot of recalculations 2021-04-29 09:52:49 +02:00
Gabor Kiss-Vamosi
ff2c2e5d33 fix(meter) use antialaising on needle rotation and fix needle invalidation artifact 2021-04-28 17:47:36 +02:00
Gabor Kiss-Vamosi
bed49e5e05 feat(coords) support negative percentage, e.g. lv_pct(-50) 2021-04-28 13:55:29 +02:00
Gabor Kiss-Vamosi
f7b42ac8b4 fix(obj) be sure the new objects' size is recalculated 2021-04-28 10:26:06 +02:00
Gabor Kiss-Vamosi
a7d87cd244 fix build error 2021-04-28 10:19:52 +02:00
Gabor Kiss-Vamosi
4f46336a54 fix(theme) simplify the default theme 2021-04-28 10:11:26 +02:00
Gabor Kiss-Vamosi
5dc0e37ce3 fiw warning 2021-04-27 20:47:58 +02:00
Gabor Kiss-Vamosi
6736697222 feat(log) add lv_log(buf) that uses printf or a regsitered print callback to print a message 2021-04-27 20:42:35 +02:00
Themba Dube
8a51917041 fix(theme_default) respect LV_THEME_DEFAULT_PALETTE_LIGHT setting 2021-04-27 13:36:14 -04:00
Gabor Kiss-Vamosi
95ae499a8f fix(scroll) fix normalizing scroll position when size is recalculated 2021-04-27 18:22:53 +02:00
Gabor Kiss-Vamosi
f78269c360 remove debug printf 2021-04-27 17:47:01 +02:00
Gabor Kiss-Vamosi
5b47f7b563 minor fixes 2021-04-27 17:44:15 +02:00
Gabor Kiss-Vamosi
44e502ecb3 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-04-27 16:02:03 +02:00
Gabor Kiss-Vamosi
492b3a417e feat(label) update long modes and use LV_SIZE_CONTENT 2021-04-27 15:36:08 +02:00
embeddedt
978fc9993d
feat(theme_default) improvements to dark mode (#2215)
* feat(theme_default) improvements to dark mode

* fix(theme_default) adjust scrollbar opacity in dark mode so it's visually similar to light mode

* fix(theme_default) improve contrast in dark mode
2021-04-27 14:09:50 +02:00
Amir Gonnen
7d3d206105
fix(obj) Add missing getter and setter for user_data (#2221)
* fix(obj) Add missing getter and setter for user_data

This is needed for Micropython bindings, which stores a reference to the Python object which wraps the LVGL object.

* Added comments to lv_obj_[get/set]_user_data
2021-04-27 14:06:57 +02:00
Gabor Kiss-Vamosi
9eb71a0538 feat(btnmatrix) allow NULL terminated array too for the button's list 2021-04-27 14:05:18 +02:00
Gabor Kiss-Vamosi
607316d723 remove unused variable 2021-04-26 16:55:57 +02:00
Gabor Kiss-Vamosi
e06e7b5e5d fix(event) fire LV_EVENT_VALUE_CHANGED if the object is checked when LV_OBJ_FLAG_CHECKABLE is enabled 2021-04-26 16:55:25 +02:00
Gabor Kiss-Vamosi
d8c2e0a37a fix(timer) correctly handle deleting a timer in an other timer with repeat_count = 1 2021-04-26 16:23:05 +02:00
Gabor Kiss-Vamosi
668960e3c0 Merge branch 'master' of https://github.com/jianjunxia/lvgl into jianjunxia-master 2021-04-26 15:31:52 +02:00