Open seclerp opened 6 years ago
Add ability to create UI using OxyEngine.
Diagram
Widget structure
Layout widgets:
Visual widgets:
Also introduce EventSystem for controls:
Keyboard:
keypress
keyrelease
keydown
down
Mouse:
mousepress
mouserelease
mousedown
mousemove
mouseenter
mouseexit
Task going to backlog, because of complex implementation
Add ability to create UI using OxyEngine.
Diagram
Widget structure
Layout widgets:
Visual widgets:
Also introduce EventSystem for controls:
Keyboard:
keypress
- keyboard key is changing state to 'down'keyrelease
- keyboard key is changing state to 'up'keydown
- fires while keyboard key is indown
stateMouse:
mousepress
- mouse button is changing state to 'down'mouserelease
- mouse button is changing state to 'up'mousedown
- fires while mouse button is in 'down' statemousemove
- fires if mouse pointer moves inside widget's Rectangle.mouseenter
- fires if mouse pointer enters widget's Rectangle.mouseexit
- fires if mouse pointer exits widget's Rectangle.