Newer
Older
DTRAMServer / models / SimpleUI3.model
@Sakoda2269 Sakoda2269 on 19 Nov 2024 430 bytes 不要なものを削除
init {
	screen := {
					"widgets": {
										"001": {"type": "label", "text": "a", "state": 0, "x": 100, "y": 100}, 
										"002": {"type": "textInput", "text": "", "state": 0}
									}, 
					"layout": true,
					"extra": {
						"001": {"type": "label", "text": "a", "state": 0, "x": 100, "y": 100}
					}
				}
}

native channel ScreenUpdate {
	in screen(curSc: Json, update(curSc, nextSc)) = nextSc
}

native channel