/lvgl-latest/docs/details/integration/driver/ |
D | X11.rst | 6 -------- 15 ------------- 19 1. Install XLib: ``sudo apt-get install libx11-6`` (should be installed already) 20 2. Install XLib development package: ``sudo apt-get install libx11-dev`` 24 -------------------- 27 .. code-block:: c 32 - Direct Exit 33 .. code-block:: c 35 …#define LV_X11_DIRECT_EXIT 1 /* preferred default - ends the application automatically if last wi… 40 - Double buffering [all …]
|
/lvgl-latest/.github/workflows/ |
D | check_style.yml | 1 name: Verify code formatting 6 # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurren… 9 group: ${{ github.ref }}-${{ github.workflow }} 10 cancel-in-progress: true 13 verify-formatting: 15 runs-on: ubuntu-22.04 17 - name: Checkout 20 persist-credentials: false 21 fetch-depth: 0 22 - name: Checkout astyle [all …]
|
D | check_properties.yml | 6 # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurren… 9 group: ${{ github.ref }}-${{ github.workflow }} 10 cancel-in-progress: true 13 verify-property-name: 15 runs-on: ubuntu-22.04 17 - name: Checkout 20 persist-credentials: false 21 fetch-depth: 0 22 - name: Generate property names 24 working-directory: scripts [all …]
|
D | check_conf.yml | 6 # https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurren… 9 group: ${{ github.ref }}-${{ github.workflow }} 10 cancel-in-progress: true 13 verify-conf-internal: 15 runs-on: ubuntu-22.04 17 - name: Checkout 20 persist-credentials: false 21 fetch-depth: 0 22 - name: Setup Python 23 uses: actions/setup-python@v5 [all …]
|
/lvgl-latest/src/libs/tjpgd/ |
D | tjpgd.c | 1 /*----------------------------------------------------------------------------/ 2 / TJpgDec - Tiny JPEG Decompressor R0.03 (C)ChaN, 2021 3 /-----------------------------------------------------------------------------/ 12 / personal, non-profit or commercial products UNDER YOUR RESPONSIBILITY. 13 / * Redistributions of source code must retain the above copyright notice. 15 /-----------------------------------------------------------------------------/ 25 /----------------------------------------------------------------------------*/ 34 #define HUFF_MASK (HUFF_LEN - 1) 38 /*-----------------------------------------------*/ 39 /* Zigzag-order to raster-order conversion table */ [all …]
|
/lvgl-latest/tests/micropy_test/ |
D | __init__.py | 3 framework that can be used for other tests. This has a reduced code footprint. 14 python3 -m pip install pillow 20 …sts/micropy_test/__init__.py --artifact-path=lib/lv_bindings/lvgl/tests/micropy_test/artifacts --m… 62 CTRL_C = b'\x03' # 2 times to exit any running code 63 CTRL_D = b'\x04' # exit paste mode committing and running what has been pasted 92 log('<---', cmd) 119 log('--->', micropy_data) 122 error_data = micropy_data.split(b'\nERROR START\n')[-1].split(b'\nERROR END\n')[0] 125 log('---> ERROR: ', error_data.decode('utf-8')) 127 log('---> ERROR: ', error_data) [all …]
|
/lvgl-latest/docs/ |
D | build.py | 9 - Doxygen (to generate LVGL API XML), then 10 - Sphinx 14 Sphinx documentation. It also supported a command-line option `clean` 20 - Using environment variables to convey branch names to several more 21 places where they are used in the docs-generating process (instead 22 of re-writing writing `conf.py` and a `header.rst` each time docs 25 - Supporting additional command-line options. 27 - Generating a temporary `./docs/lv_conf.h` for Doxygen to use 30 - Supporting multiple execution platforms (which then required tokenizing 31 Doxygen's INPUT path in `Doxyfile` and re-writing portions that used [all …]
|
D | doc_builder.py | 13 - define 14 - dir 15 - enum 16 - enumvalue 17 - example 18 - file 19 - function 20 - page 21 - struct 22 - typedef [all …]
|
/lvgl-latest/scripts/gen_json/ |
D | gen_json.py | 34 os.path.splitext(os.path.split(target_header)[-1])[0] 48 data = f.read().decode('utf-8').split('\n') 82 f.write('\n'.join(data).encode('utf-8')) 101 sys.exit(-500) 113 'clang', '-std=c11', '-E', '-DINT32_MIN=0x80000000', 119 'gcc', '-std=c11', '-E', '-Wno-incompatible-pointer-types', 141 '-DLV_LVGL_H_INCLUDE_SIMPLE', 142 '-DLV_CONF_INCLUDE_SIMPLE', 143 '-DLV_USE_DEV_VERSION' 146 cpp_cmd.extend(['-DPYCPARSER', f'"-I{fake_libc_path}"']) [all …]
|
D | pycparser_monkeypatch.py | 1 # -*- coding: utf-8 -*- 14 sys.exit(-500) 383 code = generator.visit(item.value) 386 value = eval("bytearray([b'" + code + "'])[0]") 388 index = code.find('L') 391 if code[index - 1].isdigit(): 392 code = list(code) 393 code.pop(index) 394 code = ''.join(code) 396 index = code.find('L', index + 1) [all …]
|
/lvgl-latest/scripts/ |
D | code-format.py | 7 # only include changed source code, these arguments have been added. If 9 # - /demos/ 10 # - /examples/ 11 # - /src/ 12 # - /tests/ 43 print(' python code-format.py [dir [dir ...]]') 45 exit(1) 49 cfg_file = os.path.join(script_dir, 'code-format.cfg') 53 os.system(f'astyle --options={cfg_file} --recursive "{script_dir}/../demos/*.c,*.cpp,*.h"') 57 os.system(f'astyle --options={cfg_file} --recursive "{script_dir}/../examples/*.c,*.cpp,*.h"') [all …]
|
/lvgl-latest/docs/details/integration/os/ |
D | torizon_os.rst | 1 .. _torizon-os-section: 6 Torizon OS is an open-source software platform that aims to simplify the 16 ------------- 19 More information is available on the Toradex `website <https://www.toradex.com/computer-on-modules>… 31 ----------- 34 Follow the official bring-up `guides <https://developer.toradex.com/quickstart/bringup/>`_. 44 ------------------------- 46 …`VSCode extension <https://developer.toradex.com/torizon/application-development/ide-extension/>`_… 47 and automate the tasks needed to cross-compile applications and build Docker images. 59 .. code-block:: sh [all …]
|
/lvgl-latest/src/libs/thorvg/rapidjson/error/ |
D | error.h | 36 unicode/non-unicode settings. 49 unicode/non-unicode settings. 60 //! Error code of parsing. 95 \code 100 GetParseError_En(ok.Code()), ok.Offset()); 101 exit(EXIT_FAILURE); 113 ParseResult(ParseErrorCode code, size_t offset) : code_(code), offset_(offset) {} in ParseResult() 115 //! Get the error code. 116 ParseErrorCode Code() const { return code_; } in Code() function 126 bool operator==(ParseErrorCode code) const { return code_ == code; } [all …]
|
/lvgl-latest/ |
D | lv_conf_template.h | 3 * Configuration file for v9.3.0-dev 10 * - define `LV_CONF_INCLUDE_SIMPLE`; 11 * - add the path as an include path. 14 /* clang-format off */ 37 * - LV_STDLIB_BUILTIN: LVGL's built in implementation 38 * - LV_STDLIB_CLIB: Standard C functions, like malloc, strlen, etc 39 * - LV_STDLIB_MICROPYTHON: MicroPython implementation 40 * - LV_STDLIB_RTTHREAD: RT-Thread implementation 41 * - LV_STDLIB_CUSTOM: Implement the functions externally 46 * - LV_STDLIB_BUILTIN: LVGL's built in implementation [all …]
|
D | Kconfig | 1 # Kconfig file for LVGL v9.3.0-dev 287 bool "Enable Arm's 2D image processing library (Arm-2D) for all Cortex-M processors" 291 Must deploy arm-2d library to your project and add include PATH for "arm_2d.h". 330 The circumference of 1/4 circle are saved for anti-aliasing 365 bool "Use NXP's VG-Lite GPU on iMX RTxxx platforms" 374 bool "Use additional draw thread for VG-Lite processing" 425 bool "Use VG-Lite GPU" 430 bool "Enable VG-Lite custom external 'gpu_init()' function" 435 bool "Enable VG-Lite assert" 440 int "VG-Lite flush commit trigger threshold" [all …]
|
/lvgl-latest/tests/ |
D | main.py | 18 wayland_protocols_dir = os.path.realpath("/usr/share/wayland-protocols") 28 'OPTIONS_VG_LITE': 'VG-Lite simulator with full config, 32 bit color depth', 37 'OPTIONS_TEST_VG_LITE': 'VG-Lite simulator with full config, 32 bit color depth', 65 Does not return the full path to the directory - just the base name.''' 84 subprocess.check_call(['wayland-scanner', 85 'client-header', 86 os.path.join(wayland_protocols_dir, "stable/xdg-shell/xdg-shell.xml"), 90 subprocess.check_call(['wayland-scanner', 91 'private-code', 92 os.path.join(wayland_protocols_dir, "stable/xdg-shell/xdg-shell.xml"), [all …]
|
/lvgl-latest/docs/details/main-components/ |
D | indev.rst | 15 .. code-block:: c 19 lv_indev_set_type(indev, LV_INDEV_TYPE_...); /* Touch pad is a pointer-like device. */ 27 - :cpp:enumerator:`LV_INDEV_TYPE_POINTER`: touchpad or mouse 28 - :cpp:enumerator:`LV_INDEV_TYPE_KEYPAD`: keyboard or keypad 29 - :cpp:enumerator:`LV_INDEV_TYPE_ENCODER`: encoder with left/right turn and push options 30 - :cpp:enumerator:`LV_INDEV_TYPE_BUTTON`: external buttons virtually pressing the screen 37 Touchpad, Touch-Screen, Mouse or Any Pointer 38 -------------------------------------------- 41 category. Here is an example of a simple input-device Read Callback function: 43 .. code-block:: c [all …]
|
/lvgl-latest/env_support/cmsis-pack/ |
D | lv_conf_cmsis.h | 3 * Configuration file for v9.3.0-dev 6 /* clang-format off */ 34 * - LV_STDLIB_BUILTIN: LVGL's built in implementation 35 * - LV_STDLIB_CLIB: Standard C functions, like malloc, strlen, etc 36 * - LV_STDLIB_MICROPYTHON: MicroPython implementation 37 * - LV_STDLIB_RTTHREAD: RT-Thread implementation 38 * - LV_STDLIB_CUSTOM: Implement the functions externally 43 * - LV_STDLIB_BUILTIN: LVGL's built in implementation 44 * - LV_STDLIB_CLIB: Standard C functions, like malloc, strlen, etc 45 * - LV_STDLIB_MICROPYTHON: MicroPython implementation [all …]
|
/lvgl-latest/src/widgets/table/ |
D | lv_table.c | 99 if(col >= table->col_cnt) lv_table_set_column_count(obj, col + 1); in lv_table_set_cell_value() 100 if(row >= table->row_cnt) lv_table_set_row_count(obj, row + 1); in lv_table_set_cell_value() 102 uint32_t cell = row * table->col_cnt + col; in lv_table_set_cell_value() 106 if(table->cell_data[cell]) ctrl = table->cell_data[cell]->ctrl; in lv_table_set_cell_value() 111 if(table->cell_data[cell]) user_data = table->cell_data[cell]->user_data; in lv_table_set_cell_value() 115 table->cell_data[cell] = lv_realloc(table->cell_data[cell], to_allocate); in lv_table_set_cell_value() 116 LV_ASSERT_MALLOC(table->cell_data[cell]); in lv_table_set_cell_value() 117 if(table->cell_data[cell] == NULL) return; in lv_table_set_cell_value() 119 copy_cell_txt(table->cell_data[cell], txt); in lv_table_set_cell_value() 121 table->cell_data[cell]->ctrl = ctrl; in lv_table_set_cell_value() [all …]
|
/lvgl-latest/src/ |
D | lv_conf_internal.h | 9 /* clang-format off */ 69 /* Renamed config backwards-compatibility */ 78 /*---------------------------------- 80 -----------------------------------*/ 105 * - LV_STDLIB_BUILTIN: LVGL's built in implementation 106 * - LV_STDLIB_CLIB: Standard C functions, like malloc, strlen, etc 107 * - LV_STDLIB_MICROPYTHON: MicroPython implementation 108 * - LV_STDLIB_RTTHREAD: RT-Thread implementation 109 * - LV_STDLIB_CUSTOM: Implement the functions externally 120 * - LV_STDLIB_BUILTIN: LVGL's built in implementation [all …]
|
/lvgl-latest/tests/unity/ |
D | generate_test_runner.rb | 4 # Unity Project - A Test Framework for C 70 source = source.force_encoding('ISO-8859-1').encode('utf-8', replace: nil) 75 testfile_includes = (testfile_includes - used_mocks) 154 …args += type_and_args[i + 1].scan(/(\[|<)\s*(-?\d+.?\d*)\s*,\s*(-?\d+.?\d*)\s*,\s*(-?\d+.?\d*)\s*(… 155 exclude_end = arg_values_str[0] == '<' && arg_values_str[-1] == '>' 156 arg_values_str[1...-1].map do |arg_value_str| 168 …_arg_regex_string = /(?:(?:"(?:\\"|[^\\])*?")+|(?:'\\?.')+|(?:[^\s\]\["',]|\[[\d\S_-]+\])+)/.source 231 … @options[:has_suite_teardown] ||= (source =~ /int\s+suiteTearDown\s*\(int\s+([a-zA-Z0-9_])+\s*\)/) 466 filename = File.basename(filename).gsub(/[-\/\\.,\s]/, '_').upcase 496 when '-cexception' [all …]
|
/lvgl-latest/src/libs/libjpeg_turbo/ |
D | lv_libjpeg_turbo.c | 26 #define image_cache_draw_buf_handlers &(LV_GLOBAL_DEFAULT()->image_cache_draw_buf_handlers) 83 dec->name = DECODER_NAME; in lv_libjpeg_turbo_init() 90 if(dec->info_cb == decoder_info) { in lv_libjpeg_turbo_deinit() 110 lv_image_src_t src_type = dsc->src_type; /*Get the source type*/ in decoder_info() 114 const char * src = dsc->src; in decoder_info() 117 lv_fs_read(&dsc->file, &jpg_signature, sizeof(jpg_signature), &rn); in decoder_info() 144 header->cf = LV_COLOR_FORMAT_RGB888; in decoder_info() 145 header->w = (orientation % 180) ? height : width; in decoder_info() 146 header->h = (orientation % 180) ? width : height; in decoder_info() 165 if(dsc->src_type == LV_IMAGE_SRC_FILE) { in decoder_open() [all …]
|
/lvgl-latest/src/libs/thorvg/ |
D | tvgLottieParser.cpp | 2 * Copyright (c) 2023 - 2024 the ThorVG project. All rights reserved. 40 static LottieExpression* _expression(char* code, LottieComposition* comp, LottieLayer* layer, Lotti… in _expression() argument 42 if (!comp->expressions) comp->expressions = true; in _expression() 45 inst->code = code; in _expression() 46 inst->comp = comp; in _expression() 47 inst->layer = layer; in _expression() 48 inst->object = object; in _expression() 49 inst->property = property; in _expression() 202 //exit properly from the array in getValue() 233 outPts.push(*(pt - 1) + *(out - 1)); in getValue() [all …]
|
/lvgl-latest/src/libs/thorvg/rapidjson/ |
D | reader.h | 43 RAPIDJSON_DIAG_OFF(old-style-cast) 45 RAPIDJSON_DIAG_OFF(switch-enum) 49 RAPIDJSON_DIAG_OFF(4702) // unreachable code 82 \code 90 ParseException(rapidjson::ParseErrorCode code, const char* msg, size_t offset) 91 : std::runtime_error(msg), ParseResult(code, offset) {} 135 \brief User-defined kParseDefaultFlags definition. 148 kParseInsituFlag = 1, //!< In-situ(destructive) parsing. 153 kParseCommentsFlag = 32, //!< Allow one-line (//) and multi-line (/**/) comments. 156 …kParseNanAndInfFlag = 256, //!< Allow parsing NaN, Inf, Infinity, -Inf and -Infinity as doubl… [all …]
|
D | schema.h | 1 // Tencent is pleased to support the open source community by making RapidJSON available-> 3 // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip-> All rights reserved-> 6 // in compliance with the License-> You may obtain a copy of the License at 8 // http://opensource->org/licenses/MIT 12 // CONDITIONS OF ANY KIND, either express or implied-> See the License for the 13 // specific language governing permissions and limitations under the License-> 60 RAPIDJSON_DIAG_OFF(weak-vtables) 61 RAPIDJSON_DIAG_OFF(exit-time-destructors) 62 RAPIDJSON_DIAG_OFF(c++98-compat-pedantic) 63 RAPIDJSON_DIAG_OFF(variadic-macros) [all …]
|