diff --git a/extra/models/illusion/authors.txt b/basis/models/illusion/authors.txt similarity index 100% rename from extra/models/illusion/authors.txt rename to basis/models/illusion/authors.txt diff --git a/extra/models/illusion/illusion.factor b/basis/models/illusion/illusion.factor similarity index 100% rename from extra/models/illusion/illusion.factor rename to basis/models/illusion/illusion.factor diff --git a/extra/models/illusion/summary.txt b/basis/models/illusion/summary.txt similarity index 100% rename from extra/models/illusion/summary.txt rename to basis/models/illusion/summary.txt diff --git a/basis/ui/gadgets/buttons/buttons.factor b/basis/ui/gadgets/buttons/buttons.factor index ed2b1d930b..ec11bac2d3 100644 --- a/basis/ui/gadgets/buttons/buttons.factor +++ b/basis/ui/gadgets/buttons/buttons.factor @@ -1,13 +1,12 @@ ! Copyright (C) 2005, 2009 Slava Pestov. ! See http://factorcode.org/license.txt for BSD license. -USING: accessors arrays assocs classes classes.tuple colors -colors.constants combinators combinators.smart fry kernel lexer -locals math math.rectangles math.vectors models namespaces -opengl opengl.gl quotations sequences strings ui.commands -ui.gadgets ui.gadgets.borders ui.gadgets.labels -ui.gadgets.packs ui.gadgets.tracks ui.gadgets.worlds -ui.gestures ui.images ui.pens ui.pens.image ui.pens.solid -ui.pens.tile vocabs.parser ; +USING: accessors arrays kernel math models namespaces sequences +strings quotations assocs combinators classes colors colors.constants +classes.tuple opengl opengl.gl math.vectors ui.commands ui.gadgets +ui.gadgets.borders ui.gadgets.labels ui.gadgets.tracks +ui.gadgets.packs ui.gadgets.worlds ui.gestures ui.pens ui.pens.solid +ui.pens.image ui.pens.tile math.rectangles locals fry +combinators.smart ; FROM: models => change-model ; IN: ui.gadgets.buttons @@ -49,14 +48,11 @@ button H{ } set-gestures : new-button ( label quot class -- button ) - [ swap >label ] dip new-border swap >>quot - f >>model ; inline + [ swap >label ] dip new-border swap >>quot ; inline :