Mercurial > repos > tabletprog
view 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 |
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 } }