view samples/ui.tp @ 362:7101ad443081

Add null terminator to string literals in x86 module and fix a bug that interfered with use of function name labels in call instructions
author Michael Pavone <pavone@retrodev.com>
date Sat, 25 Apr 2015 13:05:38 -0700
parents b8f721bde066
children
line wrap: on
line source

#{
	main <- {
		wind <- ui window: #{
			title <- "Quiche UI Test"
			color <- ui r: 192u8 g: 192u8 b: 192u8
			children <- #[
				ui image: #{
					source <- "944.bmp"
				}
				ui text: #{
					text <- "The quick brown fox\njumps over the lazy dog."
				}
			]
		}
		
		wind show:
		ui enterEventLoop
	}
}