Merge branch 'master' of git://factorcode.org/git/factor
[factor/jcg.git] / extra / nehe / nehe.factor
bloba96c024683b54d01771180acece45367aab6096f
1 USING: ui.gadgets.buttons ui.gadgets.packs ui.gadgets ui
2 nehe.2 nehe.3 nehe.4 nehe.5 kernel ;
3 IN: nehe
5 : nehe-window ( -- )
6     [
7         <filled-pile>
8             "Nehe 2" [ drop run2 ] <bevel-button> add-gadget
9             "Nehe 3" [ drop run3 ] <bevel-button> add-gadget
10             "Nehe 4" [ drop run4 ] <bevel-button> add-gadget
11             "Nehe 5" [ drop run5 ] <bevel-button> add-gadget
12         "Nehe examples" open-window
13     ] with-ui ;
15 MAIN: nehe-window