1
0
Fork 0
forked from wry/wry

wire: split messages into requests and events

This commit is contained in:
Julian Orth 2024-04-08 11:56:26 +02:00
parent 2b35f30ed4
commit c473d63df3
98 changed files with 495 additions and 486 deletions

View file

@ -1,25 +1,25 @@
# requests
msg destroy = 0 { }
request destroy = 0 { }
# events
msg logical_position = 0 {
event logical_position = 0 {
x: i32,
y: i32,
}
msg logical_size = 1 {
event logical_size = 1 {
width: i32,
height: i32,
}
msg done = 2 { }
event done = 2 { }
msg name = 3 {
event name = 3 {
name: str,
}
msg description = 4 {
event description = 4 {
description: str,
}