1 ! Copyright (C) 2009 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: accessors alien.c-types colors kernel
4 specialized-arrays tools.test ui.gadgets.labels
5 ui.pens.caching ui.pens.gradient ;
7 SPECIALIZED-ARRAY: float
12 float-array{ 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 }
13 float-array{ 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0 }
15 "hi" <label> { COLOR: white COLOR: black } <gradient>
17 [ last-dim>> ] [ last-vertices>> ] [ last-colors>> ] tri