]> Creatis software - creaMaracasVisu.git/blob - bbtk/bbs/appli/exampleColorBar.bbs
Give the scripts kosher names
[creaMaracasVisu.git] / bbtk / bbs / appli / exampleColorBar.bbs
1 description "creaMaracasVisu::ColorBar box example. "
2 category "example"
3 author "eduardo.davila@creatis.insa-lyon.fr"
4
5 load wx
6 load std
7 load creaMaracasVisu
8
9 new ColorBar colorB
10 set colorB.Orientation 1
11 set colorB.InW 300
12 set colorB.InH 40
13 set colorB.InMax 350
14 set colorB.InMin 0
15 set colorB.Reds " 255 0 255 10"
16 set colorB.Greens " 220 220 100 0"
17 set colorB.Blues " 0 15 0 255"
18 set colorB.Values " 30 110 200 250"
19
20 #message All 9
21
22 exec colorB