projects
/
embrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
51ce043
)
removed unused smart callbacks
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 21 May 2006 14:48:32 +0000
(16:48 +0200)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 21 May 2006 14:48:32 +0000
(16:48 +0200)
bin/embrace
patch
|
blob
|
history
diff --git
a/bin/embrace
b/bin/embrace
index c657e7d6e3fc24166a654b592505e88bba3d8eb3..70b6366a4707fe9eed80c5f75e104a8e72794984 100755
(executable)
--- a/
bin/embrace
+++ b/
bin/embrace
@@
-159,18
+159,6
@@
module Embrace
@img = @label = @alpha_anim = nil
end
@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) }
def on_move(x, y)
@objects.each { |o| o.move(x, y) }
@@
-303,18
+291,6
@@
module Embrace
@bg = nil
end
@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
def on_move(x, y)
@bg.move(x, y)
end