From 45c485ecae4eb5bc041a7b140599a3f2f38441b9 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Mon, 26 Aug 2024 14:50:32 +0200 Subject: [PATCH] docs(hover): remove 'not supported yet' notes --- docs/get-started/quick-overview.rst | 2 +- docs/overview/event.rst | 4 +++- docs/overview/style.rst | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/get-started/quick-overview.rst b/docs/get-started/quick-overview.rst index 57c88d4cc..133b5d782 100644 --- a/docs/get-started/quick-overview.rst +++ b/docs/get-started/quick-overview.rst @@ -229,7 +229,7 @@ LVGL objects can be in a combination of the following states: - :cpp:enumerator:`LV_STATE_FOCUSED`: Focused via keypad or encoder or clicked via touchpad/mouse - :cpp:enumerator:`LV_STATE_FOCUS_KEY`: Focused via keypad or encoder but not via touchpad/mouse - :cpp:enumerator:`LV_STATE_EDITED`: Edit by an encoder -- :cpp:enumerator:`LV_STATE_HOVERED`: Hovered by mouse (not supported now) +- :cpp:enumerator:`LV_STATE_HOVERED`: Hovered by mouse - :cpp:enumerator:`LV_STATE_PRESSED`: Being pressed - :cpp:enumerator:`LV_STATE_SCROLLED`: Being scrolled - :cpp:enumerator:`LV_STATE_DISABLED`: Disabled diff --git a/docs/overview/event.rst b/docs/overview/event.rst index 9ec8dca75..1a6607ea9 100644 --- a/docs/overview/event.rst +++ b/docs/overview/event.rst @@ -115,7 +115,7 @@ Input device events - :cpp:enumerator:`LV_EVENT_CLICKED`: Called on release if not scrolled (regardless to long press) - :cpp:enumerator:`LV_EVENT_RELEASED`: Called in every cases when the object has been released - :cpp:enumerator:`LV_EVENT_SCROLL_BEGIN`: Scrolling begins. The event parameter is a pointer to the animation of the scroll. Can be modified -- :cpp:enumerator:`LV_EVENT_SCROLL_THROW_BEGIN`: +- :cpp:enumerator:`LV_EVENT_SCROLL_THROW_BEGIN`: - :cpp:enumerator:`LV_EVENT_SCROLL_END`: Scrolling ends - :cpp:enumerator:`LV_EVENT_SCROLL`: Scrolling - :cpp:enumerator:`LV_EVENT_GESTURE`: A gesture is detected. Get the gesture with :cpp:expr:`lv_indev_get_gesture_dir(lv_indev_active());` @@ -125,6 +125,8 @@ Input device events - :cpp:enumerator:`LV_EVENT_LEAVE`: The object is defocused but still selected - :cpp:enumerator:`LV_EVENT_HIT_TEST`: Perform advanced hit-testing - :cpp:enumerator:`LV_EVENT_INDEV_RESET`: Indev has been reset +- :cpp:enumerator:`LV_EVENT_HOVER_OVER`: Indev hover over object +- :cpp:enumerator:`LV_EVENT_HOVER_LEAVE`: Indev hover leave object Drawing events -------------- diff --git a/docs/overview/style.rst b/docs/overview/style.rst index f5ce54bd2..7472da1c3 100644 --- a/docs/overview/style.rst +++ b/docs/overview/style.rst @@ -41,7 +41,7 @@ The objects can be in the combination of the following states: - :cpp:enumerator:`LV_STATE_FOCUSED`: (0x0002) Focused via keypad or encoder or clicked via touchpad/mouse - :cpp:enumerator:`LV_STATE_FOCUS_KEY`: (0x0004) Focused via keypad or encoder but not via touchpad/mouse - :cpp:enumerator:`LV_STATE_EDITED`: (0x0008) Edit by an encoder -- :cpp:enumerator:`LV_STATE_HOVERED`: (0x0010) Hovered by mouse (not supported now) +- :cpp:enumerator:`LV_STATE_HOVERED`: (0x0010) Hovered by mouse - :cpp:enumerator:`LV_STATE_PRESSED`: (0x0020) Being pressed - :cpp:enumerator:`LV_STATE_SCROLLED`: (0x0040) Being scrolled - :cpp:enumerator:`LV_STATE_DISABLED`: (0x0080) Disabled state