Spaces:
Sleeping
Sleeping
namespace Schema; | |
struct Position { | |
x:float; | |
y:float; | |
} | |
struct Size { | |
width:float; | |
height:float; | |
} | |
table Entity { | |
id:string; | |
type:string; | |
position:Position; | |
size:Size; | |
content:string; | |
color:string; | |
selected:bool; | |
} | |
table HistoryState { | |
entities:[Entity]; | |
canvas_offset:Position; | |
zoom:float; | |
} | |
root_type HistoryState; |