Home
last modified time | relevance | path

Searched refs:pressed (Results 1 – 24 of 24) sorted by relevance

/lvgl-latest/examples/widgets/buttonmatrix/
Dlv_example_buttonmatrix_2.c11 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/
Dlv_libinput.c396 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 …]
Dlv_libinput_private.h34 lv_indev_state_t pressed; member
/lvgl-latest/docs/details/base-widget/styles/
Dstyle.rst15 ``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/
Dlv_uefi_indev_keyboard.c32 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/
Devent.rst121 - :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`.…
Dobj.rst462 - :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…
Dcoord.rst403 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/
Dindex.rst15 Show the value of the pressed points
/lvgl-latest/docs/details/widgets/
Dbuttonmatrix.rst78 …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.
Dkeyboard.rst104 - :cpp:enumerator:`LV_EVENT_VALUE_CHANGED` Sent when the button is pressed/released
106 pressed/released button.
Dcalendar.rst120 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`.
Ddropdown.rst49 - :cpp:enumerator:`LV_PART_SELECTED` Refers to the currently pressed, checked or
50 pressed+checked option. Also uses the :ref:`typical background style properties
Darc.rst150 - :cpp:enumerator:`LV_EVENT_VALUE_CHANGED` sent when Arc is pressed/dragged to
Dchart.rst357 - :cpp:enumerator:`LV_EVENT_VALUE_CHANGED` Sent when a new point on the chart is pressed.
359 the pressed point.
Dimage.rst99 inactive, pressed, etc.) of an image without storing more versions of
Dtextarea.rst234 pressed (or sent) to a one-line Text Area.
/lvgl-latest/src/themes/default/
Dlv_theme_default.c64 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/
Dindev.rst253 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 */
Ddisplay.rst248 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/
Dgridnav.rst54 - :cpp:enumerator:`LV_GRIDNAV_CTRL_SCROLL_FIRST`: If an arrow is pressed and the focused
Dxml.rst99 <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/
Dbasics.rst291 - :cpp:enumerator:`LV_STATE_PRESSED`: Being pressed
338 slider is pressed:
/lvgl-latest/docs/
DROADMAP.rst56 …(see `here <https://forum.lvgl.io/t/keypad-input-device-why-lv-event-long-pressed-only-on-enter/10…