mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
Expose ui_get_mouseover() and, at the end of ui_server_update(), resolve the first non-auto cursor up the hover ancestor chain (emulating CSS inheritance), then apply it to the owning window. Runs after style recomputation so :hover and dynamic changes take effect in the same frame; resets to auto when the hovered widget is destroyed.
20 lines
429 B
C
20 lines
429 B
C
/*
|
|
* tests/scenes/cursor_scene.h
|
|
*
|
|
* Copyright (c) 2026, Liu Chao <hello@lcui.dev> All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
* This file is part of LCUI, distributed under the MIT License found in the
|
|
* LICENSE.TXT file in the root directory of this source tree.
|
|
*/
|
|
|
|
#ifndef LCUI_TESTS_SCENES_CURSOR_SCENE_H
|
|
#define LCUI_TESTS_SCENES_CURSOR_SCENE_H
|
|
|
|
#include <ui.h>
|
|
|
|
void cursor_scene_build(void);
|
|
|
|
#endif
|