Home
last modified time | relevance | path

Searched full:brightness (Results 1 – 22 of 22) sorted by relevance

/lvgl-latest/docs/details/widgets/
Dled.rst10 LEDs are rectangle-like (or circle) Widgets whose brightness can be
11 adjusted. With lower brightness the color of the LED becomes darker.
33 Brightness subsection
36 You can set their brightness with :cpp:expr:`lv_led_set_brightness(led, brightness)`.
37 The ``brightness`` value should be in the range 0 (darkest) to 255 (lightest).
42 Use :cpp:expr:`lv_led_on(led)` and :cpp:expr:`lv_led_off(led)` to set the brightness to
46 You can set custom LED ON and OFF brightness values by defining macros
/lvgl-latest/src/libs/thorvg/
DtvgSvgLoader.cpp587 static bool _hslToRgb(float hue, float saturation, float brightness, uint8_t* red, uint8_t* green, … in _hslToRgb() argument
598 brightness = brightness > 0 ? std::min(brightness, 1.0f) : 0.0f; in _hslToRgb()
600 if (tvg::zero(saturation)) _red = _green = _blue = brightness; in _hslToRgb()
605 …v = (brightness <= 0.5f) ? (brightness * (1.0f + saturation)) : (brightness + saturation - (bright… in _hslToRgb()
606 p = brightness + brightness - v; in _hslToRgb()
730 const char* brightness = nullptr; in _toColor() local
735 … if (_parseNumber(&saturation, &brightness, &tb) && brightness && *brightness == '%') { in _toColor()
737 brightness = _skipSpace(brightness + 1, nullptr); in _toColor()
738 if (brightness && brightness[0] == ')' && brightness[1] == '\0') { in _toColor()
/lvgl-latest/src/widgets/led/
Dlv_led.h23 /** Brightness when the LED if OFF */
28 /** Brightness when the LED if ON */
58 * Set the brightness of a LED object
83 * Get the brightness of a LED object
Dlv_led.c148 /*Make darker colors in a temporary style according to the brightness*/ in lv_led_event()
157 /*Use the original colors brightness to modify color->led*/ in lv_led_event()
167 /*Mix. the color with black proportionally with brightness*/ in lv_led_event()
175 … /*Set the current shadow width according to brightness proportionally between LV_LED_BRIGHT_OFF in lv_led_event()
Dlv_led_private.h34 uint8_t bright; /**< Current brightness of the LED (0..255)*/
/lvgl-latest/demos/smartwatch/
Dlv_demo_smartwatch_settings.c291 void lv_demo_smartwatch_set_default_brightness(uint8_t brightness) in lv_demo_smartwatch_set_default_brightness() argument
293 lv_slider_set_value(brightness_slider, brightness, LV_ANIM_OFF); in lv_demo_smartwatch_set_default_brightness()
294 lv_demo_smartwatch_update_brightness_slider(brightness); in lv_demo_smartwatch_set_default_brightness()
413 /* Update the brightness slider in the control screen */ in settings_action_event_cb()
489 …brightness_slider = lv_demo_smartwatch_settings_add_slider(0x0001, "Screen Brightness", &img_brigh… in create_screen_settings()
Dlv_demo_smartwatch.h298 * Set the default brightness for the smartwatch demo settings
299 * @param brightness default brightness value
301 void lv_demo_smartwatch_set_default_brightness(uint8_t brightness);
Dlv_demo_smartwatch_private.h63 LV_IMAGE_DECLARE(img_brightness_icon); /* assets/brightness.png */
259 * Update the brightness slider in the controls screen
/lvgl-latest/src/misc/
Dlv_color.h408 * @return the brightness [0..255]
415 * @return the brightness [0..255]
422 * @return the brightness [0..255]
429 * @return the brightness [0..255]
Dlv_color_op.h62 * Get the brightness of a color
64 * @return brightness in range [0..255]
/lvgl-latest/examples/widgets/led/
Dlv_example_led_1.c5 * Create LED's with different brightness and color
14 /*Copy the previous LED and set a brightness*/ in lv_example_led_1()
/lvgl-latest/demos/ebike/translations/
Dlv_i18n.c78 {"Brightness", "السطوع"},
123 {"Brightness", "亮度"},
Den.yml12 Brightness: ~
Dzh.yml12 Brightness: 亮度
Dar.yml12 Brightness: السطوع
/lvgl-latest/examples/widgets/msgbox/
Dlv_example_msgbox_2.c36 lv_label_set_text(lb_brightness, "Brightness : "); in lv_example_msgbox_2()
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_led.c57 /* Test by changing brightness randomly. */ in test_led_set_brightness_works()
/lvgl-latest/docs/details/integration/driver/display/
Drenesas_glcdc.rst25 - Supports brightness adjustment, contrast adjustment, and gamma correction
/lvgl-latest/docs/_static/css/
Dcustom.css108 filter: brightness(120%);
/lvgl-latest/examples/widgets/menu/
Dlv_example_menu_5.c57 create_slider(section, LV_SYMBOL_SETTINGS, "Brightness", 0, 150, 100); in lv_example_menu_5()
/lvgl-latest/demos/ebike/
Dlv_demo_ebike_settings.c226 slider_create(right_cont, _("Brightness")); in right_cont_create()
/lvgl-latest/demos/smartwatch/assets/
Dimg_brightness_icon.c7 // data generated from: brightness.png