Merge branch 'master' of git://factorcode.org/git/factor

db4
Doug Coleman 2008-11-21 18:55:37 -06:00
commit 841c8dddb5
2 changed files with 9 additions and 2 deletions

View File

@ -73,9 +73,15 @@ SYMBOL: error-hook
] tabular-output
] unless-empty ;
SYMBOL: display-stacks?
t display-stacks? set-global
: stacks. ( -- )
datastack [ nl "--- Data stack:" title. stack. ] unless-empty
retainstack [ nl "--- Retain stack:" title. stack. ] unless-empty ;
display-stacks? get [
datastack [ nl "--- Data stack:" title. stack. ] unless-empty
retainstack [ nl "--- Retain stack:" title. stack. ] unless-empty
] when ;
: prompt. ( -- )
"( " in get auto-use? get [ " - auto" append ] when " )" 3append

View File

@ -71,6 +71,7 @@ M: button-paint draw-boundary
: roll-button-theme ( button -- button )
f black <solid> dup f <button-paint> >>boundary
f f pressed-gradient f <button-paint> >>interior
align-left ; inline
: <roll-button> ( label quot -- button )