/lvgl-latest/examples/widgets/buttonmatrix/ |
D | lv_example_buttonmatrix_2.c | 11 bool pressed = false; in event_cb() local 13 pressed = true; in event_cb() 21 if(pressed) fill_draw_dsc->color = lv_palette_darken(LV_PALETTE_BLUE, 3); in event_cb() 41 if(pressed) fill_draw_dsc->color = lv_palette_darken(LV_PALETTE_RED, 3); in event_cb() 69 if(pressed) img_draw_dsc.recolor_opa = LV_OPA_30; in event_cb()
|
/lvgl-latest/src/drivers/libinput/ |
D | lv_libinput.c | 396 data->state = evt->pressed; in _read() 457 evt->pressed = LV_INDEV_STATE_PRESSED; in _read_pointer() 459 dsc->slots[slot].pressed = evt->pressed; in _read_pointer() 474 if(slot == 0 && dsc->slots[1].pressed == LV_INDEV_STATE_PRESSED) { in _read_pointer() 481 synth_evt->pressed = LV_INDEV_STATE_PRESSED; in _read_pointer() 486 evt->pressed = LV_INDEV_STATE_RELEASED; in _read_pointer() 491 synth_evt->pressed = LV_INDEV_STATE_PRESSED; in _read_pointer() 494 else if(slot == 1 && dsc->slots[0].pressed == LV_INDEV_STATE_PRESSED) { in _read_pointer() 500 evt->pressed = LV_INDEV_STATE_RELEASED; in _read_pointer() 505 synth_evt->pressed = LV_INDEV_STATE_PRESSED; in _read_pointer() [all …]
|
D | lv_libinput_private.h | 34 lv_indev_state_t pressed; member
|
/lvgl-latest/docs/details/base-widget/styles/ |
D | style.rst | 15 ``style_blue`` to the knob of a slider when it's in pressed state. 47 - :cpp:enumerator:`LV_STATE_PRESSED`: (0x0020) Being pressed 56 pressed at the same time. This is represented as :cpp:expr:`LV_STATE_FOCUSED | LV_STATE_PRESSED`. 59 setting a different background color for the default and pressed states. 79 2. When the Widget is pressed there are 2 related properties: default 80 with white (default is related to every state) and pressed with gray. 81 The pressed state has 0x0020 precedence which is higher than the 83 3. When the Widget has focus the same thing happens as in pressed state 86 4. When the Widget has focus and pressed both gray and red would work, 87 but the pressed state has higher precedence than focused so gray [all …]
|
/lvgl-latest/src/drivers/uefi/ |
D | lv_uefi_indev_keyboard.c | 32 bool pressed; /**< If true this is a pressed entry if false this is a release entry*/ member 207 data->state = key_cache->pressed ? LV_INDEV_STATE_PRESSED : LV_INDEV_STATE_RELEASED; in _simple_text_input_read_cb() 266 cache->pressed = true; in _simple_text_input_read() 272 cache->pressed = false; in _simple_text_input_read()
|
/lvgl-latest/docs/details/base-widget/ |
D | event.rst | 121 - :cpp:enumerator:`LV_EVENT_PRESSED`: Widget has been pressed 122 - :cpp:enumerator:`LV_EVENT_PRESSING`: Widget is being pressed (called continuously while pressing) 123 - :cpp:enumerator:`LV_EVENT_PRESS_LOST`: Widget is still being pressed but slid cursor/finger off … 124 - :cpp:enumerator:`LV_EVENT_SHORT_CLICKED`: Widget was pressed for a short period of time, and the… 125 - :cpp:enumerator:`LV_EVENT_SINGLE_CLICKED`: Widget was pressed for a short period of time, and th… 126 - :cpp:enumerator:`LV_EVENT_DOUBLE_CLICKED`: Widget was pressed for a short period of time, and th… 127 - :cpp:enumerator:`LV_EVENT_TRIPLE_CLICKED`: Widget was pressed for a short period of time, and th… 128 - :cpp:enumerator:`LV_EVENT_LONG_PRESSED`: Widget has been pressed for at least `long_press_time`.…
|
D | obj.rst | 462 - :cpp:enumerator:`LV_STATE_PRESSED`: Being pressed 507 - :cpp:enumerator:`LV_OBJ_FLAG_PRESS_LOCK` Keep the Widget pressed even if the press slid from the… 546 - :cpp:enumerator:`LV_EVENT_PRESSED` Widget has been pressed. 547 - :cpp:enumerator:`LV_EVENT_PRESSING` Widget is being pressed (sent continuously while… 548 - :cpp:enumerator:`LV_EVENT_PRESS_LOST` Widget is still being pressed but slid cursor/fi… 549 - :cpp:enumerator:`LV_EVENT_SHORT_CLICKED` Widget was pressed for a short period of time, t… 553 - :cpp:enumerator:`LV_EVENT_LONG_PRESSED` Object has been pressed for at least `long_press…
|
D | coord.rst | 403 it's pressed. 405 One way to achieve this is by setting a new Y coordinate for the pressed 427 This works, but it's not really flexible because the pressed coordinate 481 This code enlarges a button when it's pressed:
|
/lvgl-latest/examples/widgets/chart/ |
D | index.rst | 15 Show the value of the pressed points
|
/lvgl-latest/docs/details/widgets/ |
D | buttonmatrix.rst | 78 …T`: Do not emit :cpp:enumerator:`LV_EVENT_LONG_PRESSED_REPEAT` events while button is long-pressed. 83 …:cpp:enumerator:`LV_BUTTONMATRIX_CTRL_POPOVER`: Show button text in a pop-over while being pressed. 128 - :cpp:enumerator:`LV_EVENT_VALUE_CHANGED`: Sent when a button is pressed/released or 130 the pressed/released button.
|
D | keyboard.rst | 104 - :cpp:enumerator:`LV_EVENT_VALUE_CHANGED` Sent when the button is pressed/released 106 pressed/released button.
|
D | calendar.rst | 120 date currently being pressed. Returns :cpp:enumerator:`LV_RESULT_OK` if there is a 121 valid pressed date; otherwise it returns :cpp:enumerator:`LV_RESULT_INVALID`.
|
D | dropdown.rst | 49 - :cpp:enumerator:`LV_PART_SELECTED` Refers to the currently pressed, checked or 50 pressed+checked option. Also uses the :ref:`typical background style properties
|
D | arc.rst | 150 - :cpp:enumerator:`LV_EVENT_VALUE_CHANGED` sent when Arc is pressed/dragged to
|
D | chart.rst | 357 - :cpp:enumerator:`LV_EVENT_VALUE_CHANGED` Sent when a new point on the chart is pressed. 359 the pressed point.
|
D | image.rst | 99 inactive, pressed, etc.) of an image without storing more versions of
|
D | textarea.rst | 234 pressed (or sent) to a one-line Text Area.
|
/lvgl-latest/src/themes/default/ |
D | lv_theme_default.c | 64 lv_style_t pressed; member 314 style_init_reset(&theme->styles.pressed); in style_init() 315 lv_style_set_color_filter_dsc(&theme->styles.pressed, &theme->dark_filter); in style_init() 316 lv_style_set_color_filter_opa(&theme->styles.pressed, 35); in style_init() 798 lv_obj_add_style(obj, &theme->styles.pressed, LV_STATE_PRESSED); in theme_apply() 812 lv_obj_add_style(obj, &theme->styles.pressed, LV_STATE_PRESSED); in theme_apply() 846 lv_obj_add_style(obj, &theme->styles.pressed, LV_PART_ITEMS | LV_STATE_PRESSED); in theme_apply() 858 lv_obj_add_style(obj, &theme->styles.pressed, LV_PART_ITEMS | LV_STATE_PRESSED); in theme_apply() 905 lv_obj_add_style(obj, &theme->styles.pressed, LV_PART_ITEMS | LV_STATE_PRESSED); in theme_apply() 919 lv_obj_add_style(obj, &theme->styles.pressed, LV_PART_INDICATOR | LV_STATE_PRESSED); in theme_apply() [all …]
|
/lvgl-latest/docs/details/main-components/ |
D | indev.rst | 253 data->key = last_key(); /* Get the last pressed or released key */ 306 In each group there is exactly one object with focus which receives the pressed keys 385 which cannot be pressed (like a :ref:`Slider <lv_slider>`) leaves 442 data->key = last_key(); /* Get the last pressed or released key */ 457 which is assigned to specific coordinates of the screen. If a button is pressed it 476 static uint32_t last_btn = 0; /* Store the last pressed button */ 477 int btn_pr = my_btn_read(); /* Get the ID (0,1,2...) of the pressed button */ 478 …n_pr >= 0) { /* Is there a button press? (E.g. -1 indicated no button was pressed) */ 479 last_btn = btn_pr; /* Save the ID of the pressed button */ 480 data->state = LV_INDEV_STATE_PRESSED; /* Set the pressed state */
|
D | display.rst | 248 button is pressed only the button's area will be redrawn. 254 only a frame buffer address needs to be changed. If a button is pressed
|
/lvgl-latest/docs/details/other-components/ |
D | gridnav.rst | 54 - :cpp:enumerator:`LV_GRIDNAV_CTRL_SCROLL_FIRST`: If an arrow is pressed and the focused
|
D | xml.rst | 99 <view extends="lv_button" width="#size" styles="blue red:pressed"> 120 - ``styles`` can be attached to states and/or parts like ``styles="red blue:pressed green:focused:s…
|
/lvgl-latest/docs/intro/ |
D | basics.rst | 291 - :cpp:enumerator:`LV_STATE_PRESSED`: Being pressed 338 slider is pressed:
|
/lvgl-latest/docs/ |
D | ROADMAP.rst | 56 …(see `here <https://forum.lvgl.io/t/keypad-input-device-why-lv-event-long-pressed-only-on-enter/10…
|