Sha256: 2fe65938bae3596f5c58174e9141ae81d4e950e0725c9754a7e18679a7ccfb71

Contents?: true

Size: 395 Bytes

Versions: 5

Compression:

Stored size: 395 Bytes

Contents

class Shoes
  module Swt
    module Common
      module UpdatePosition
        # Updates the position of this object. This object does not have its
        # own painter, so we need to update the position manually.
        def update_position
          unless @real.disposed?
            @real.set_location dsl.element_left, dsl.element_top
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
shoes-swt-4.0.0.pre7 lib/shoes/swt/common/update_position.rb
shoes-swt-4.0.0.pre6 lib/shoes/swt/common/update_position.rb
shoes-swt-4.0.0.pre5 lib/shoes/swt/common/update_position.rb
shoes-swt-4.0.0.pre4 lib/shoes/swt/common/update_position.rb
shoes-swt-4.0.0.pre3 lib/shoes/swt/common/update_position.rb