ui: cleanup some usings.

db4
John Benediktsson 2015-07-28 19:14:14 -07:00
parent acded37575
commit 3649d21541
3 changed files with 8 additions and 10 deletions

View File

@ -1,8 +1,8 @@
! Copyright (C) 2009 Slava Pestov. ! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel accessors math math.vectors locals sequences USING: accessors alien.data arrays colors combinators kernel
specialized-arrays colors arrays combinators alien.data locals math math.vectors opengl opengl.gl sequences
opengl opengl.gl ui.pens ui.pens.caching ; specialized-arrays ui.pens ui.pens.caching ;
FROM: alien.c-types => float ; FROM: alien.c-types => float ;
SPECIALIZED-ARRAY: float SPECIALIZED-ARRAY: float
IN: ui.pens.gradient IN: ui.pens.gradient

View File

@ -1,7 +1,7 @@
! Copyright (C) 2009 Slava Pestov. ! Copyright (C) 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel accessors sequences fry math USING: accessors fry kernel math opengl sequences ui.images
opengl ui.pens ui.images io.pathnames ; ui.pens ;
IN: ui.pens.image IN: ui.pens.image
! Image pen ! Image pen

View File

@ -1,8 +1,8 @@
! Copyright (C) 2009, 2010 Slava Pestov. ! Copyright (C) 2009, 2010 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: kernel arrays assocs sequences math math.order cache USING: accessors arrays assocs cache combinators fonts kernel
opengl opengl.gl opengl.textures strings fonts colors accessors math math.order namespaces opengl opengl.gl opengl.textures
namespaces ui.gadgets.worlds ; sequences strings system ui.gadgets.worlds vocabs ;
IN: ui.text IN: ui.text
<PRIVATE <PRIVATE
@ -79,8 +79,6 @@ M: array draw-text
] with each ] with each
] do-matrix ; ] do-matrix ;
USING: vocabs system combinators ;
{ {
{ [ os macosx? ] [ "core-text" ] } { [ os macosx? ] [ "core-text" ] }
{ [ os windows? ] [ "uniscribe" ] } { [ os windows? ] [ "uniscribe" ] }