Gabor Kiss-Vamosi
418e84abbd
label: bg padding make the label smaller
...
(no extra virtual size)
2020-02-11 06:41:41 +01:00
Gabor Kiss-Vamosi
167e4d8e25
merge dev-7.0
2020-02-05 15:12:45 +01:00
Gabor Kiss-Vamosi
62e42d13d8
merge master
2020-02-05 10:45:10 +01:00
Gabor Kiss-Vamosi
9a5096308b
finish lv_obj_style_set/get API simplification
2020-02-02 15:58:08 +01:00
Deon Marais
4bf228ca2c
Remove incorrect assert
2020-01-30 15:17:02 +02:00
Deon Marais
603786f969
Update lv_label.c
2020-01-30 15:15:36 +02:00
Deon Marais
708d68eac1
Update lv_label.c
2020-01-30 14:58:14 +02:00
Deon Marais
eb67692baa
Removed incorrect assert
...
Removed incorrect assert in lv_label_set_static_text
2020-01-29 17:43:36 +02:00
Gabor Kiss-Vamosi
f2c7210232
add LV_SIGNAL/EVENT_LEAVE + state and indev improvments
2020-01-24 14:55:56 +01:00
Gabor Kiss-Vamosi
96e2f87952
fix mem leak in bidi
2020-01-21 22:32:25 +01:00
Gabor Kiss-Vamosi
42b561fcdc
add style copy + minor refactoring
2020-01-16 21:25:11 +01:00
Gabor Kiss-Vamosi
805af47113
refactoring: class->style, style_dsc->style_list
2020-01-16 14:26:36 +01:00
Gabor Kiss-Vamosi
c668c1731d
remove lv_label_body_draw, can be replaced by style
2020-01-10 18:16:20 +01:00
Gabor Kiss-Vamosi
02f4dd764f
style improvments + integrate arc, canvas, objmask
2020-01-07 23:43:57 +01:00
Gabor Kiss-Vamosi
6cbd2114e3
rename lv_style_value to lv_style_int
2020-01-06 22:14:04 +01:00
Gabor Kiss-Vamosi
6e2a707cfc
minor fixes
2020-01-05 01:16:13 +01:00
Gabor Kiss-Vamosi
96b0955e97
solve conflicts
2020-01-01 16:01:31 +01:00
Gabor Kiss-Vamosi
584e88da08
style: integrate page + fixes + refactoring
2019-12-31 06:10:50 +01:00
Gabor Kiss-Vamosi
93f6e48fd4
improve rendering time
2019-12-27 15:39:54 +01:00
Gabor Kiss-Vamosi
07bc58aa9c
merge dev-7.0 into feat-new-style
2019-12-22 22:56:13 +01:00
Gabor Kiss-Vamosi
095c0bff49
integrate lv_btnm, add built-in styles, move opa_scale to styles, begin style caching
2019-12-22 22:40:02 +01:00
Gabor Kiss-Vamosi
af1453400d
lv_label: bidi fixes
2019-12-21 20:48:44 +01:00
Gabor Kiss-Vamosi
de1683a4ec
children inherit obj state
2019-12-19 23:16:53 +01:00
Gabor Kiss-Vamosi
374657c1be
new_style: integrate label
2019-12-19 22:44:18 +01:00
Gabor Kiss-Vamosi
c7374948a1
fix memory leak in obj create functions if ext alloc fails
2019-12-03 18:16:14 +01:00
Gabor Kiss-Vamosi
64df282c81
merge dev-6.1
2019-12-02 16:09:35 +01:00
Gabor Kiss-Vamosi
6c8b0c44be
fix conversation warnings
2019-12-02 12:20:01 +01:00
Gabor Kiss-Vamosi
90234b8cc1
minor optimizations
2019-11-21 12:45:49 +01:00
Gabor Kiss-Vamosi
cfec8e6381
use lv_mem_buf in lv_bidi
2019-11-19 06:27:21 +01:00
Gabor Kiss-Vamosi
b4dae16e22
move lv_draw_buf to lv_mem as lv_mem_buf
...
This way they can be used as general purpose buffers not only for drawing
2019-11-19 06:25:14 +01:00
Gabor Kiss-Vamosi
22973360d0
add support to > 255 fonts by enabling LV_FONT_FMT_TXT_LARGE
2019-11-17 17:12:50 +01:00
Gabor Kiss-Vamosi
5574bac486
minor fixes
2019-11-15 07:28:42 +01:00
Gabor Kiss-Vamosi
e6d38f1acf
merge dev-6.1
2019-11-15 06:53:15 +01:00
Pete Bone
1e4ce0b143
Dev 6.1 Minor fixes
...
lv_draw_arc.c -> line 218
Removed unsed fast_atan2() function which appears to have been moved to
lv_math.c as lv_atan2() function.
lv_font_heb_16.c -> line 1
Fixed inconsistent include path.
lv_label.c -> line 734
Added (char*) cast to const char* variable 'txt' to silence compiler
warning when LV_USE_BIDI is disabled.
lv_style.c -> line 93
Removed this line
lv_style.c -> line 97
Reverted this line to remove override of LV_FONT_DEFAULT defined in
lv_conf.h
2019-11-12 15:26:35 +00:00
Amir Gonnen
23b58d598d
bugfixes
...
Prevent infinite loop when reaching end of string on get_next_run
Prevent warning about conversion to non const bidi_txt
2019-11-11 22:43:12 +02:00
Gabor Kiss-Vamosi
90eeff7022
merge dev-6.1
2019-11-11 19:42:10 +01:00
Brian Pugh
183d849e84
Fix cursor wrapping described in https://github.com/littlevgl/lvgl/issues/1256
2019-11-10 23:42:31 -08:00
Gabor Kiss-Vamosi
6eaf8dd6d3
text sel fix, if start > end
2019-11-10 11:03:19 +01:00
Gabor Kiss-Vamosi
8dfcba6aa8
text sel fixes with bidi
2019-11-10 10:52:49 +01:00
Gabor Kiss-Vamosi
96b9114a5a
bidi fixes for multi line text handling
2019-11-09 01:53:02 +01:00
Amir Gonnen
0130f3e5f2
Add RTL indication to pos_conv
...
When getting visual/logical pos, also get whether this pos is RTL (was reversed)
2019-11-09 01:02:51 +02:00
Gabor Kiss-Vamosi
a3a326c2ff
fix lv_label_get_letter_on in case of multi-line texts
2019-11-08 13:49:52 +01:00
Gabor Kiss-Vamosi
5441cf9998
bidi fixes + add missing prefix to lv_encoded_get_char_id
2019-11-06 05:19:06 +01:00
Gabor Kiss-Vamosi
5d5a8b4894
convert lv_bidi_get_visual_pos to byteindex
2019-11-05 16:00:32 +01:00
Amir Gonnen
6f57de051b
WIP: pos_conv, bugfixes, use in lv_label
2019-11-05 01:03:40 +02:00
Gabor Kiss-Vamosi
e45d083436
fix warnings
2019-11-04 20:43:49 +01:00
Gabor Kiss-Vamosi
d0f257d4dd
merge dev-6.1
2019-10-30 10:34:39 +01:00
Gabor Kiss-Vamosi
c86e2722bd
lv_draw_label: fix warning with txt_sel by adding lv_draw_label_txt_sel_t parameter
2019-10-30 10:16:06 +01:00
Amir Gonnen
f7c2512c76
Bidi fixes
...
Add bidi_dir parameter to lv_draw_label
Use draw buffer for bidi processing
condition bidi code according to LV_USE_BIDI
2019-10-20 02:16:57 +03:00
Amir Gonnen
c6b7cf130b
Support text wrap for bidi text
...
TODO: conditional LV_USE_BIDI, allocate global buffer once, pass dir as parameter to lv_draw_label
2019-10-18 02:13:41 +03:00