fui_core 0.1.0

Core library of FUI MVVM UI Framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::common::Point;
use crate::events::key_event::KeyEvent;

#[derive(Clone, Debug, PartialEq)]
pub enum ControlEvent {
    HoverEnter,
    HoverLeave,

    FocusEnter,
    FocusLeave,

    TapDown { position: Point },
    TapUp { position: Point },
    TapMove { position: Point },

    KeyboardInput(KeyEvent),
}