Merge branch 'master' of git://factorcode.org/git/factor
commit
841c8dddb5
|
@ -73,9 +73,15 @@ SYMBOL: error-hook
|
||||||
] tabular-output
|
] tabular-output
|
||||||
] unless-empty ;
|
] unless-empty ;
|
||||||
|
|
||||||
|
SYMBOL: display-stacks?
|
||||||
|
|
||||||
|
t display-stacks? set-global
|
||||||
|
|
||||||
: stacks. ( -- )
|
: stacks. ( -- )
|
||||||
datastack [ nl "--- Data stack:" title. stack. ] unless-empty
|
display-stacks? get [
|
||||||
retainstack [ nl "--- Retain stack:" title. stack. ] unless-empty ;
|
datastack [ nl "--- Data stack:" title. stack. ] unless-empty
|
||||||
|
retainstack [ nl "--- Retain stack:" title. stack. ] unless-empty
|
||||||
|
] when ;
|
||||||
|
|
||||||
: prompt. ( -- )
|
: prompt. ( -- )
|
||||||
"( " in get auto-use? get [ " - auto" append ] when " )" 3append
|
"( " in get auto-use? get [ " - auto" append ] when " )" 3append
|
||||||
|
|
|
@ -71,6 +71,7 @@ M: button-paint draw-boundary
|
||||||
|
|
||||||
: roll-button-theme ( button -- button )
|
: roll-button-theme ( button -- button )
|
||||||
f black <solid> dup f <button-paint> >>boundary
|
f black <solid> dup f <button-paint> >>boundary
|
||||||
|
f f pressed-gradient f <button-paint> >>interior
|
||||||
align-left ; inline
|
align-left ; inline
|
||||||
|
|
||||||
: <roll-button> ( label quot -- button )
|
: <roll-button> ( label quot -- button )
|
||||||
|
|
Loading…
Reference in New Issue