add events to ui

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-04-20 10:29:24 +08:00
parent 94d7339457
commit 4200734593
8 changed files with 274 additions and 5 deletions

View File

@@ -0,0 +1,29 @@
void handleReloading(Map<String, dynamic> evt, String peer) {
// location
// host|main|settings|display|others
// client|remote|toolbar|display
//
// ui
// {
// "t": "Button",
// "c": {
// "key": "key",
// "text": "text",
// "icon": "icon",
// "tooltip": "tooltip",
// "action": "action"
// }
// }
//
// {
// "t": "Checkbox",
// "c": {
// "key": "key",
// "text": "text",
// "tooltip": "tooltip",
// "action": "action"
// }
// }
//
}