Skip to content

Commit

Permalink
docs(hover): remove 'not supported yet' notes
Browse files Browse the repository at this point in the history
  • Loading branch information
MengYJ-M committed Sep 13, 2024
1 parent b46f3fa commit a6f7f61
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/get-started/quick-overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,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
Expand Down Expand Up @@ -481,7 +481,7 @@ LVGL 对象可以处于以下状态的组合:
- :cpp:enumerator:`LV_STATE_FOCUSED`: 通过键盘或编码器聚焦或通过触摸板/鼠标点击
- :cpp:enumerator:`LV_STATE_FOCUS_KEY`: 通过键盘或编码器聚焦,但不通过触摸板/鼠标聚焦
- :cpp:enumerator:`LV_STATE_EDITED`: 由编码器编辑
- :cpp:enumerator:`LV_STATE_HOVERED`: 鼠标悬停(现在不支持)
- :cpp:enumerator:`LV_STATE_HOVERED`: 鼠标悬停
- :cpp:enumerator:`LV_STATE_PRESSED`: 被按下
- :cpp:enumerator:`LV_STATE_SCROLLED`: 正在滚动
- :cpp:enumerator:`LV_STATE_DISABLED`: 禁用
Expand Down
7 changes: 6 additions & 1 deletion docs/overview/event.rst
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,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());`
Expand All @@ -228,6 +228,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

.. raw:: html

Expand All @@ -254,6 +256,9 @@ Input device events(输入设备事件)
- :cpp:enumerator:`LV_EVENT_LEAVE`: 对象失去焦点但仍然被选中
- :cpp:enumerator:`LV_EVENT_HIT_TEST`: 执行高级点击测试
- :cpp:enumerator:`LV_EVENT_INDEV_RESET`: 输入设备已重置
- :cpp:enumerator:`LV_EVENT_HOVER_OVER`: 开发中,鼠标悬停在对象上方。
- :cpp:enumerator:`LV_EVENT_HOVER_LEAVE`: 开发中,鼠标离开对象。



Drawing events(绘图事件)
Expand Down
4 changes: 2 additions & 2 deletions docs/overview/style.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,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
Expand Down Expand Up @@ -161,7 +161,7 @@ Some practical notes:
- :cpp:enumerator:`LV_STATE_FOCUSED`:(0x0002) 通过键盘或编码器聚焦,或通过触摸板/鼠标点击
- :cpp:enumerator:`LV_STATE_FOCUS_KEY`:(0x0004) 仅通过键盘或编码器聚焦,而非通过触摸板/鼠标
- :cpp:enumerator:`LV_STATE_EDITED`:(0x0008) 由编码器编辑
- :cpp:enumerator:`LV_STATE_HOVERED`:(0x0010) 鼠标悬停(目前不支持)
- :cpp:enumerator:`LV_STATE_HOVERED`:(0x0010) 鼠标悬停
- :cpp:enumerator:`LV_STATE_PRESSED`:(0x0020) 被按下的状态
- :cpp:enumerator:`LV_STATE_SCROLLED`:(0x0040) 正在滚动的状态
- :cpp:enumerator:`LV_STATE_DISABLED`:(0x0080) 禁用的状态
Expand Down

0 comments on commit a6f7f61

Please sign in to comment.