From: Tilman Sauerbeck Date: Sun, 21 May 2006 14:48:32 +0000 (+0200) Subject: removed unused smart callbacks X-Git-Tag: embrace-0.1.0~26 X-Git-Url: http://git.code-monkey.de/?p=embrace.git;a=commitdiff_plain;h=604a54ec9f5930d05bf72d631348bedb3cb2b486 removed unused smart callbacks --- diff --git a/bin/embrace b/bin/embrace index c657e7d..70b6366 100755 --- a/bin/embrace +++ b/bin/embrace @@ -159,18 +159,6 @@ module Embrace @img = @label = @alpha_anim = nil end - def on_layer_set(layer) - @objects.each { |o| o.layer = layer } - end - - def on_stack_above(other) - @objects.each { |o| o.stack_above = other } - end - - def on_stack_below(other) - @objects.each { |o| o.stack_below = other } - end - def on_move(x, y) @objects.each { |o| o.move(x, y) } @@ -303,18 +291,6 @@ module Embrace @bg = nil end - def on_layer_set(layer) - @bg.layer = layer - end - - def on_stack_above(other) - @bg.stack_above = other - end - - def on_stack_below(other) - @bg.stack_below = other - end - def on_move(x, y) @bg.move(x, y) end