]> gitweb.factorcode.org Git - factor.git/commitdiff
make apply-world-attributes generic
authorJoe Groff <arcata@gmail.com>
Tue, 19 Jan 2010 22:06:48 +0000 (14:06 -0800)
committerJoe Groff <arcata@gmail.com>
Tue, 19 Jan 2010 22:06:48 +0000 (14:06 -0800)
basis/ui/gadgets/worlds/worlds.factor

index 8a22107f3a0d187bad87e78b24c42238dc334dcb..1809c13dd81f3fbd8f44eac2093266c5a3a5722f 100644 (file)
@@ -125,7 +125,8 @@ M: world request-focus-on ( child gadget -- )
     [ T{ rgba f 0.0 0.0 0.0 0.0 } ]
     [ T{ rgba f 1.0 1.0 1.0 1.0 } ] if ;
 
-: apply-world-attributes ( world attributes -- world )
+GENERIC# apply-world-attributes 1 ( world attributes -- world )
+M: world apply-world-attributes ( world attributes -- world )
     {
         [ title>> >>title ]
         [ status>> >>status ]