* Corrected bug in styles of labels with selections
Text selection color (text_selection_color) property was incorrectly
being applied to the text color if there was a selection. The sel_color
property in the label descriptor was initialized to blue. This property
was intended to be the label background color under a selection.
* Add new property for the color of selected text
New property for labels: text_sel_font_color
This property will change the color of the font within selected text.
* Rename text selection color properties
Per feedback from issue #1820, sel_color is now sel_bg_color and
sel_font_color is now sel_color. This results in clearer naming.
Co-authored-by: Ryan Powers <ryan.powers@envision-tek.com>
* Allow inclusion of local lv_conf_internal.h
A wrapper library cna contain an lv_conf.h file and it would be automatically picked up by the buildsystem
* Guard __has_include and simplify code
* Make number sign indentation consistent
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
* update lv_obj_refresh_style describtion.
* fmt version of lv_table_set_cell_value added.
* fix a bug.
* add include lv_printf.h
* fix a bug for LV_USE_BIDI in lv_table_set_cell_value_fmt
* fix a missed part for arabic_persian chars in lv_table_set_cell_value
* PXP: Added basic PXP acceleration
PXP accelerated features:
- fill (+ opacity)
- BLIT (+ opacity)
- recoloring (+ opacity)
- color keying (+ opacity)
Recoloring + color keying simultaneously not supported.
Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>
* PXP: Added abstraction for interrupt handling
Previous imlpementation used IRQ polling on PXP, which doesn't allow
real CPU offload. Therefore added set of callbacks for interrupt
handling that should be implemented by user, with possible RTOS
integration.
Default/example implementation of callbacks for bare metal and FreeRTOS
provided (lv_gpu_nxp_pxp_osa.c), enabled by
LV_USE_GPU_NXP_PXP_DEFAULT_OSA switch, accesible via pxp_default_cfg
structure.
Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>
* PXP: Optimized cache flushing
Previous implementation flushed areas of (LCD width * object height)
size. Cache flush is expensive operation and flushing line by line,
smallest possible area, boost performance by shortening time spent on
cache flushes.
Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>
* PXP: Added documentation for NXP PXP accelerator
Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>
* PXP: added missing extern c in header files
Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>
* PXP: Fixed ifdefs - Removed LV_USE_GPU, fixed internal config
LV_USE_GPU is not intended as a global GPU enable switch. It's used only
for gpu_blend_cb and gpu_fill_cb callbacks, which are obsolete. This
patch removes LV_USE_GPU dependency for PXP code, so it's enabled only
with LV_USE_GPU_NXP_PXP symbol.
Added missing symbols to internal conf, so automatic testd can pass
build step.
Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>
* PXP: Default OSA changed to PXP auto-initialization
Auto init feature added so if user run FreeRTOS or bare-metal, no PXP
Init code is required. Renamed symbol to be more clear.
Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>
* PXP: Documentation moved to docs repo
Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>
* PXP: Fixed alpha configuration
- Coverity issue: AS blend config used uninitialized structure. No
impact on functionality, as blend module is not used (porter-duff blends
in this case)
- Alpha config fixed - swapped alpha values produced different result
from SW render
Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>