From 3cfe2afa449ac4e604e8d2a4a03d2551c55dcffe Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Tue, 19 Jan 2010 14:06:48 -0800 Subject: [PATCH] make apply-world-attributes generic --- basis/ui/gadgets/worlds/worlds.factor | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/basis/ui/gadgets/worlds/worlds.factor b/basis/ui/gadgets/worlds/worlds.factor index 8a22107f3a..1809c13dd8 100644 --- a/basis/ui/gadgets/worlds/worlds.factor +++ b/basis/ui/gadgets/worlds/worlds.factor @@ -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 ]