List rows that ImGui draws (tree nodes, selectables) with a fading highlight.
More...
#include <C:/Users/kirby/Documents/Github/deki/deki-editor/deki-editor/include/deki-editor/Motion.h>
List rows that ImGui draws (tree nodes, selectables) with a fading highlight.
ImGui only says a row is hovered after it is submitted, but its colours must be pushed before, so a panel keeps one RowHover: BeginFrame() once per frame, WasHovered(id) before each row, Track(id) right after it. A row the mouse enters therefore starts from nothing and fades up.
◆ BeginFrame()
| void DekiEditor::Motion::RowHover::BeginFrame |
( |
| ) |
|
|
inline |
◆ WasHovered()
| bool DekiEditor::Motion::RowHover::WasHovered |
( |
ImGuiID | id | ) |
const |
|
inline |
◆ Track()
| void DekiEditor::Motion::RowHover::Track |
( |
ImGuiID | id | ) |
|
|
inline |
◆ last
| ImGuiID DekiEditor::Motion::RowHover::last = 0 |
◆ next
| ImGuiID DekiEditor::Motion::RowHover::next = 0 |
The documentation for this struct was generated from the following file:
- deki-editor/include/deki-editor/Motion.h