comparison samples/ui.tp @ 337:b8f721bde066

Add support for text elements in ui module
author Michael Pavone <pavone@retrodev.com>
date Fri, 03 Apr 2015 23:08:19 -0700
parents 79a14e41b79a
children
comparison
equal deleted inserted replaced
336:2a0463c46913 337:b8f721bde066
5 color <- ui r: 192u8 g: 192u8 b: 192u8 5 color <- ui r: 192u8 g: 192u8 b: 192u8
6 children <- #[ 6 children <- #[
7 ui image: #{ 7 ui image: #{
8 source <- "944.bmp" 8 source <- "944.bmp"
9 } 9 }
10 ui text: #{
11 text <- "The quick brown fox\njumps over the lazy dog."
12 }
10 ] 13 ]
11 } 14 }
12 15
13 wind show: 16 wind show:
14 ui enterEventLoop 17 ui enterEventLoop