fix(arduino): allow including lvgl_private.h even if the examles and demos are in the src folder (#7366)

This commit is contained in:
Gabor Kiss-Vamosi
2024-12-02 21:45:19 +01:00
committed by GitHub
parent 51aadcd87d
commit 8fbf72a1dc
12 changed files with 140 additions and 102 deletions

View File

@@ -1,6 +1,6 @@
#include "../../src/themes/lv_theme_private.h"
#include "../lv_examples.h"
#if LV_BUILD_EXAMPLES && LV_USE_IMAGE
#include "../../lvgl_private.h"
static lv_style_t style_btn;

View File

@@ -1,7 +1,7 @@
#include "../../lv_examples.h"
#include "../../../src/lvgl_private.h"
#if LV_USE_CHART && LV_DRAW_SW_COMPLEX && LV_BUILD_EXAMPLES
#include "../../../lvgl_private.h"
static void hook_division_lines(lv_event_t * e);
static void add_faded_area(lv_event_t * e);

View File

@@ -1,7 +1,7 @@
#include "../../lv_examples.h"
#if LV_USE_SCALE && LV_BUILD_EXAMPLES
#include "../../../src/lvgl_private.h" //To expose the fields of lv_draw_task_t
#include "../../../lvgl_private.h" /*To expose the fields of lv_draw_task_t*/
static void draw_event_cb(lv_event_t * e)
{