@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) }
@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 initialize
super
- self.title = "blah"
+ self.title = "Embrace"
self.borderless = true
@icon_dim = IO.read(ICON_FILE, 8, 16).unpack("NN")
- self.on_resize { @container.resize(*geometry[2, 3]) }
+ on_resize { @container.resize(*geometry[2, 3]) }
@container = Container.new(evas)
@container.move(0, 0)