lib/shoes/swt/image.rb in shoes-swt-4.0.0.pre4 vs lib/shoes/swt/image.rb in shoes-swt-4.0.0.pre5
- old
+ new
@@ -1,22 +1,21 @@
class Shoes
module Swt
class Image
import java.io.ByteArrayInputStream
- include Common::Child
include Common::Resource
include Common::Clickable
include Common::PainterUpdatesPosition
include Common::Visibility
include Common::Remove
include ::Shoes::BackendDimensionsDelegations
- attr_reader :parent, :real, :dsl, :painter
+ attr_reader :app, :real, :dsl, :painter
- def initialize(dsl, parent)
+ def initialize(dsl, app)
@dsl = dsl
- @parent = parent
+ @app = app
update_image
add_paint_listener
end
def update_image