/lvgl-latest/src/misc/ |
D | lv_anim.c | 44 static void anim_completed_handler(lv_anim_t * a); 45 static int32_t lv_anim_path_cubic_bezier(const lv_anim_t * a, int32_t x1, 47 static void lv_anim_pause_for_internal(lv_anim_t * a, uint32_t ms); 48 static void resolve_time(lv_anim_t * a); 50 static void remove_anim(void * a); 83 void lv_anim_init(lv_anim_t * a) in lv_anim_init() argument 85 lv_memzero(a, sizeof(lv_anim_t)); in lv_anim_init() 86 a->duration = 500; in lv_anim_init() 87 a->start_value = 0; in lv_anim_init() 88 a->end_value = 100; in lv_anim_init() [all …]
|
D | lv_anim.h | 36 * lv_anim_t a; 37 * lv_anim_init(&a); 39 * lv_anim_set_path_cb(&a, lv_anim_path_custom_bezier3); 40 * LV_ANIM_SET_EASE_IN_SINE(&a); //Set cubic-bezier anim parameter to easeInSine 42 * lv_anim_start(&a); 45 #define _PARA(a, x1, y1, x2, y2) ((a)->parameter.bezier3 = \ argument 51 #define LV_ANIM_SET_EASE_IN_SINE(a) _PARA(a, 0.12, 0, 0.39, 0) argument 52 #define LV_ANIM_SET_EASE_OUT_SINE(a) _PARA(a, 0.61, 1, 0.88, 1) argument 53 #define LV_ANIM_SET_EASE_IN_OUT_SINE(a) _PARA(a, 0.37, 0, 0.63, 1) argument 54 #define LV_ANIM_SET_EASE_IN_QUAD(a) _PARA(a, 0.11, 0, 0.5, 0) argument [all …]
|
D | lv_anim_timeline.c | 45 static int32_t anim_timeline_path_cb(const lv_anim_t * a); 76 void lv_anim_timeline_add(lv_anim_timeline_t * at, uint32_t start_time, const lv_anim_t * a) in lv_anim_timeline_add() argument 85 at->anim_dsc[at->anim_dsc_cnt - 1].anim = *a; in lv_anim_timeline_add() 107 lv_anim_t a; in lv_anim_timeline_start() local 108 lv_anim_init(&a); in lv_anim_timeline_start() 109 lv_anim_set_var(&a, at); in lv_anim_timeline_start() 110 lv_anim_set_exec_cb(&a, anim_timeline_exec_cb); in lv_anim_timeline_start() 111 lv_anim_set_values(&a, start, end); in lv_anim_timeline_start() 112 lv_anim_set_duration(&a, duration); in lv_anim_timeline_start() 113 lv_anim_set_path_cb(&a, anim_timeline_path_cb); in lv_anim_timeline_start() [all …]
|
/lvgl-latest/src/libs/thorvg/ |
D | thorvg_capi.h | 77 * \brief A structure responsible for managing and drawing graphical elements. 85 * \brief A structure representing a graphical element. 93 * \brief A structure representing a gradient fill of a Tvg_Paint object. 99 * \brief A structure representing an object that enables to save a Tvg_Paint object into a file. 104 * \brief A structure representing an animation controller object. 128 … TVG_RESULT_SUCCESS = 0, ///< The value returned in case of a correct request execution. 129 …TVG_RESULT_INVALID_ARGUMENT, ///< The value returned in the event of a problem with the argu… 146 … ///< The pixels of the source and the target are alpha blended. As a result, only the par… 147 … the source and the complement to the target's pixels are alpha blended. As a result, only the par… 148 …e converted to grayscale (luma value) and alpha blended with the target. As a result, only the par… [all …]
|
D | thorvg.h | 56 #define _TVG_DECLARE_PRIVATE(A) \ argument 60 A(const A&) = delete; \ 61 const A& operator=(const A&) = delete; \ 62 A() 64 #define _TVG_DISABLE_CTOR(A) \ argument 65 A() = delete; \ 66 ~A() = delete 68 #define _TVG_DECLARE_ACCESSOR(A) \ argument 69 friend A 93 Success = 0, ///< The value returned in case of a correct request execution. [all …]
|
D | tvgSwRaster.cpp | 4 * Permission is hereby granted, free of charge, to any person obtaining a copy 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 45 …tor()(const SwFill* fill, uint8_t* dst, uint32_t y, uint32_t x, uint32_t len, SwMask op, uint8_t a) in operator ()() 47 fillLinear(fill, dst, y, x, len, op, a); in operator ()() 50 …Fill* fill, uint8_t* dst, uint32_t y, uint32_t x, uint32_t len, uint8_t* cmp, SwMask op, uint8_t a) in operator ()() 52 fillLinear(fill, dst, y, x, len, cmp, op, a); in operator ()() 55 …)(const SwFill* fill, uint32_t* dst, uint32_t y, uint32_t x, uint32_t len, SwBlender op, uint8_t a) in operator ()() 57 fillLinear(fill, dst, y, x, len, op, a); in operator ()() 65 … fill, uint32_t* dst, uint32_t y, uint32_t x, uint32_t len, SwBlender op, SwBlender op2, uint8_t a) in operator ()() 67 fillLinear(fill, dst, y, x, len, op, op2, a); in operator ()() [all …]
|
/lvgl-latest/src/libs/thorvg/rapidjson/ |
D | pointer.h | 3 // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. 6 // in compliance with the License. You may obtain a copy of the License at 38 //! Represents a JSON Pointer. Use Pointer for UTF8 encoding and default allocator. 43 A JSON pointer is for identifying a specific value in a JSON document 47 After it parses a string representation (e.g. "/foo/0" or URI fragment 49 it can be used to resolve a specific value in multiple documents, or sub-tree 53 Apart from assignment, a Pointer cannot be modified after construction. 56 involves parsing and dynamic memory allocation. A special constructor with user- 75 //! A token is the basic units of internal representation. 77 A JSON pointer string representation "/foo/123" is parsed to two tokens: [all …]
|
D | document.h | 3 // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. 6 // in compliance with the License. You may obtain a copy of the License at 47 // a former included windows.h might have defined a macro called GetObject, which affects 113 //! Name-value pair in a JSON object value. 115 This class was internal to GenericValue. It used to be a inner struct. 116 …But a compiler (IBM XL C/C++ for AIX) have reported to have problem with that so it moved as a nam… 122 GenericValue<Encoding, Allocator> name; //!< name of member (must be a string) 140 …/*! \param rhs Source of the assignment. Its name and value will become a null value after assignm… 151 friend inline void swap(GenericMember& a, GenericMember& b) RAPIDJSON_NOEXCEPT { in swap() argument 152 a.name.Swap(b.name); in swap() [all …]
|
/lvgl-latest/docs/ |
D | Doxyfile | 4 # doxygen (www.doxygen.org) for a project. 6 # All text after a double hash (##) is considered a comment and is placed in 9 # All text after a single hash (#) is considered a comment and will be ignored. 29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by 32 # title of most generated pages and in a few other places. 37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This 44 # for a project that appears at the top of each page and should give viewer a 49 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included 57 # into which the generated documentation will be written. If a relative path is 66 # option can be useful when feeding doxygen a huge amount of source files, where [all …]
|
/lvgl-latest/examples/libs/rlottie/ |
D | lv_example_rlottie_approve.json | 1 …a":"","k":"","d":"","tc":""},"fr":60,"ip":0,"op":60,"w":720,"h":720,"nm":"Success","ddd":0,"assets… number
|
/lvgl-latest/tests/src/test_assets/ |
D | test_lottie_approve.json | 1 …a":"","k":"","d":"","tc":""},"fr":60,"ip":0,"op":60,"w":720,"h":720,"nm":"Success","ddd":0,"assets… number
|
/lvgl-latest/examples/widgets/lottie/ |
D | lv_example_lottie_approve.json | 1 …a":"","k":"","d":"","tc":""},"fr":60,"ip":0,"op":60,"w":720,"h":720,"nm":"Success","ddd":0,"assets… number
|
/lvgl-latest/src/draw/ |
D | lv_draw_vector.h | 99 * Transform the coordinates of a point using given matrix 100 * @param matrix pointer to a matrix 101 * @param point pointer to a point 106 * Transform all the coordinates of a path using given matrix 107 * @param matrix pointer to a matrix 108 * @param path pointer to a path 113 * Create a vector graphic path object 120 * Copy a path data to another 121 * @param target_path pointer to a path 128 * @param path pointer to a path [all …]
|
/lvgl-latest/docs/details/base-widget/styles/ |
D | style.rst | 8 heavily inspired by CSS. The concept in a nutshell is that a 10 border width, font, text color and so on. It's similar to a ``class`` in CSS. 15 ``style_blue`` to the knob of a slider when it's in pressed state. 17 - Styles can be cascaded which means multiple styles may be assigned to a Widget and 19 have to be specified in a style. LVGL will search for a property until a 20 style defines it or use a default value if it's not specified by any of the 21 styles. For example ``style_btn`` can result in a default gray button 22 and ``style_btn_red`` can add only a ``background-color=red`` to 24 - The most recently added style has higher precedence. This means if a property 26 - Some properties (e.g. text color) can be inherited from a parent(s) if it's not specified in a Wi… [all …]
|
/lvgl-latest/src/libs/lodepng/ |
D | lodepng.h | 16 in a product, an acknowledgment in the product documentation would be 99 /*Disable built-in CRC function, in that case a custom implementation of 102 disabled and provide a much smaller implementation externally as said above. You can find such an e… 103 in a comment in the lodepng.c(pp) file in the 'else' case of the searchable LODEPNG_COMPILE_CRC sec… 113 … /*pass -DLODEPNG_NO_COMPILE_CPP to the compiler to disable C++ (not needed if a C-only compiler), 171 Same as the other decode functions, but instead takes a filename as input. 198 Converts raw pixel data into a PNG image in memory. The colortype and bitdepth 227 Converts raw pixel data into a PNG file on disk. 228 Same as the other encode functions, but instead takes a filename as output. 270 Same as the other decode functions, but instead takes a filename as input. [all …]
|
/lvgl-latest/docs/details/main-components/ |
D | indev.rst | 19 lv_indev_set_type(indev, LV_INDEV_TYPE_...); /* Touch pad is a pointer-like device. */ 32 ``my_input_read`` is a function pointer which will be called periodically to 41 category. Here is an example of a simple input-device Read Callback function: 65 Pointer input devices (like a mouse) can have a cursor. 117 To prevent passing the gesture event to the parent from a Widget, use 120 Note that, gestures are not triggered if a Widget is being scrolled. 122 If you did some action on a gesture you can call 131 A "Crown" is a rotary device typically found on smart watches. 135 (e.g. in case of a slider). 162 LVGL has the ability to recognize multi-touch gestures, when a gesture [all …]
|
D | font.rst | 2 .. |Aacute| unicode:: U+000C1 .. LATIN CAPITAL LETTER A WITH ACUTE 16 to render images of individual letters (glyph). A font is stored in a 17 :cpp:type:`lv_font_t` variable and can be set in a style's *text_font* field. 22 lv_style_set_text_font(&my_style, &lv_font_montserrat_28); /* Set a larger font */ 24 Fonts have a **format** property. It describes how the glyph data is stored. 40 The **format** property also affects the amount of memory needed to store a 41 font. For example, ``format = LV_FONT_GLYPH_FORMAT_A4`` makes a font nearly four 61 If all works well, a '\ |check|\ ' character should be displayed. 82 into a base letter and diacritics (e.g. ``u`` + |uml|). 84 Complex languages where subsequent characters combine into a single glyph [all …]
|
/lvgl-latest/src/display/ |
D | lv_display.h | 89 * Create a new display with the given resolution 92 * @return pointer to a display object or `NULL` on error 97 * Remove a display 103 * Set a default display. The new screens will be created on it by default. 104 * @param disp pointer to a display 126 * Sets the resolution of a display. `LV_EVENT_RESOLUTION_CHANGED` event will be sent. 129 * @param disp pointer to a display 139 * @param disp pointer to a display 148 * @param disp pointer to a display 156 * @param disp pointer to a display (NULL to use the default display) [all …]
|
/lvgl-latest/src/widgets/chart/ |
D | lv_chart.h | 25 /**Default value of points. Can be used to not draw a point*/ 48 LV_CHART_UPDATE_MODE_CIRCULAR, /**< Add the new data in a circular way*/ 69 * Create a chart object 76 * Set a new type for a chart 77 * @param obj pointer to a chart object 82 * Set the number of points on a data line on a chart 83 * @param obj pointer to a chart object 90 * @param obj pointer to a chart object 99 * @param obj pointer to a chart object 106 * @param obj pointer to a chart object [all …]
|
/lvgl-latest/demos/music/ |
D | lv_demo_music_main.c | 56 static void spectrum_anim_cb(void * a, int32_t v); 68 static void spectrum_end_cb(lv_anim_t * a); 70 static int32_t get_cos(int32_t deg, int32_t a); 71 static int32_t get_sin(int32_t deg, int32_t a); 171 /*Arrange the content into a grid*/ in lv_demo_music_main_create() 226 /*Arrange the content into a grid*/ in lv_demo_music_main_create() 255 lv_anim_t a; in lv_demo_music_main_create() local 262 lv_anim_init(&a); in lv_demo_music_main_create() 265 lv_anim_set_exec_cb(&a, start_anim_cb); in lv_demo_music_main_create() 266 lv_anim_set_values(&a, LV_MAX(LV_HOR_RES, LV_VER_RES) / 2, 0); in lv_demo_music_main_create() [all …]
|
/lvgl-latest/docs/details/base-widget/ |
D | obj.rst | 9 What is a Widget? 11 A Widget is the **basic building block** of the LVGL user interface. 20 All Widgets are referenced using an :cpp:type:`lv_obj_t` pointer as a handle. 36 The Base Widget can be used directly as a simple widget. While it is a simple 37 rectangle, it has a large number of features shared with all Widgets, detailed 38 below and in subsequent pages. In HTML terms, think of it as a ``<div>``. 67 lv_obj_set_size(btn1, 100, 50); /* Set a button's size */ 68 lv_obj_set_pos(btn1, 20,30); /* Set a button's position */ 76 The Widget types have special attributes as well. For example, a slider has 82 functions. For example for a slider: [all …]
|
/lvgl-latest/ |
D | README.md | 2 <a href="https://github.com/sponsors/lvgl" target="_blank"><img align="left" src="https://lvgl.io/g… 5 …</b> | <a href="./docs/README_zh.rst">中文</a> | <a href="./docs/README_pt_BR.rst">Português do Bras… 23 <a href="https://lvgl.io" title="Homepage of LVGL">Website </a> | 24 <a href="https://docs.lvgl.io/" title="Detailed documentation with 100+ examples">Docs</a> | 25 <a href="https://forum.lvgl.io" title="Get help and help others">Forum</a> | 26 <a href="https://lvgl.io/demos" title="Demos running in your browser">Demos</a> | 27 <a href="https://lvgl.io/services" title="Graphics design, UI implementation and consulting">Servic… 37 …a powerful style system, web inspired layout managers, and a typography system supporting many lan… 45 - A fully portable C (C++ compatible) library with no external dependencies. 49 …- Needs only 32kB RAM and 128 kB Flash, a frame buffer, and at least an 1/10 screen sized buffer f… [all …]
|
/lvgl-latest/src/widgets/textarea/ |
D | lv_textarea.h | 68 * Create a text area object 79 * Insert a character to the current cursor position. 80 * To add a wide char, e.g. 'Á' use `lv_text_encoded_conv_wc('Á')` 81 * @param obj pointer to a text area object 82 * @param c a character (e.g. 'a') 87 * Insert a text to the current cursor position 88 * @param obj pointer to a text area object 89 * @param txt a '\0' terminated string to insert 94 * Delete a the left character from the current cursor position 95 * @param obj pointer to a text area object [all …]
|
/lvgl-latest/src/libs/thorvg/rapidjson/internal/ |
D | regex.h | 3 // Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. 6 // in compliance with the License. You may obtain a copy of the License at 81 - \c a|b Alternation in RAPIDJSON_DIAG_OFF() 82 - \c a? Zero or one in RAPIDJSON_DIAG_OFF() 83 - \c a* Zero or more in RAPIDJSON_DIAG_OFF() 84 - \c a+ One or more in RAPIDJSON_DIAG_OFF() 85 - \c a{3} Exactly 3 times in RAPIDJSON_DIAG_OFF() 86 - \c a{3,} At least 3 times in RAPIDJSON_DIAG_OFF() 87 - \c a{3,5} 3 to 5 times in RAPIDJSON_DIAG_OFF() 89 - \c ^a At the beginning in RAPIDJSON_DIAG_OFF() [all …]
|
/lvgl-latest/docs/intro/ |
D | basics.rst | 7 LVGL (Light and Versatile Graphics Library) is a free and open-source graphics 9 graphical elements, beautiful visual effects, and a low memory footprint. 67 - A **Display** or **Display Panel** is the physical hardware displaying the pixels. 68 - A :ref:`display` object is an object in RAM that represents a **Display** meant 70 - A **Screen** is the "root" Widget in the Widget Trees mentioned above, and are 71 "attached to" a particular :ref:`display`. 86 "Screen". But it is important to understand that a "Screen" is simply any 87 :ref:`Widget <widgets>` created without a parent --- the "root" of each Widget Tree. 104 user interface, an application next creates a tree of Widgets that LVGL can render to 112 To build this Widget Tree, the application first acquires a pointer to a Screen Widget. [all …]
|