|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Portal::Forma::internal::hover_text_row | ( | Surface & | surface, |
| uint32_t | id, | ||
| const std::shared_ptr< Element > & | row, | ||
| std::string_view | label, | ||
| const std::shared_ptr< glm::uvec2 > & | dims | ||
| ) |
Highlight a row's background while the cursor is over it.
| dims | Pixel size read on every enter and leave, so a resize that updates it is picked up. |
Definition at line 49 of file TextRow.cpp.
References MayaFlux::Portal::Forma::Surface::ctx(), hover_text_row(), label, MayaFlux::Portal::Forma::Context::on_enter(), MayaFlux::Portal::Forma::Context::on_leave(), row_caption(), row_hover_color(), row_idle_color(), and row_press_params().
Referenced by hover_text_row().
Here is the call graph for this function:
Here is the caller graph for this function: