NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
载入中...
搜索中...
未找到
hoverable.hpp 文件参考

鼠标悬停检测组件 更多...

hoverable.hpp 的引用(Include)关系图:

浏览该文件的源代码.

函数

unique_ptr< component_baseneforce::tui::components::hoverable (unique_ptr< component_base > child, function< void()> on_enter, function< void()> on_leave)
 创建鼠标悬停检测组件
unique_ptr< component_baseneforce::tui::components::hoverable (unique_ptr< component_base > child, bool *hovered)
 创建悬停状态绑定组件

详细描述

鼠标悬停检测组件

提供 hoverable 包装组件,当鼠标进入/离开/移动时触发回调。

在文件 hoverable.hpp 中定义.