diff --git a/library/styles.factor b/library/styles.factor index 0f95ba97b0..0707aa0ab1 100644 --- a/library/styles.factor +++ b/library/styles.factor @@ -10,6 +10,9 @@ IN: styles : green [ 0 255 0 ] ; : blue [ 0 0 255 ] ; +SYMBOL: filled +SYMBOL: etched + SYMBOL: foreground ! Used for text and outline shapes. SYMBOL: background ! Used for filled shapes. SYMBOL: rollover-bg diff --git a/library/ui/buttons.factor b/library/ui/buttons.factor index cedfc7d955..1f85be22fe 100644 --- a/library/ui/buttons.factor +++ b/library/ui/buttons.factor @@ -40,3 +40,6 @@ sequences io sequences styles ; dup [ button-update ] [ mouse-leave ] set-action dup [ button-update ] [ mouse-enter ] set-action [ drop ] [ drag 1 ] set-action ; + +: