Hi all,

make-shelf used to take a sequence of gadgets. Now it takes a  
quotation which can call gadget, to add gadgets to the shelf being  
built. apps/automata/ui will need to be changed.

A bigger change is that make-track and make-frame (as well as the *  
variants) have been overhauled.

First, naming:

make-track --> make-track
make-track* --> build-track
make-frame --> (you guessed it) make-frame
make-frame* --> (yes) build-frame

Let's take this as an example:

C: cabal-gadget ( -- gadget )
     {
         {
             [ <scrolling-pane> ]
             set-cabal-gadget-output
             [ <scroller> ]
             5/6
         }
         {
             [ <cabal-input> ]
             set-cabal-gadget-input
             [ <scroller> ]
             1/6
         }
     } { 0 1 } make-track* ;

Using build-track, it now looks like so:

C: cabal-gadget ( -- gadget )
     [
         <scrolling-pane> g-> set-cabal-gadget-output
         <scroller> 5/6 track,

         <cabal-input> g-> set-cabal-gadget-input
         <scroller> 1/6 track,
     ] { 0 1 } build-track ;

I hope this is clear. The .facts files have been updated.

Slava

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to