Sha256: ecc68cd9d334f0a61af84ad225466528be81bbde6cd8c1e902a511ea8d1fa35b
Contents?: true
Size: 825 Bytes
Versions: 2
Compression:
Stored size: 825 Bytes
Contents
class Shoes module Swt class Oval include Common::Fill include Common::Stroke include Common::Clickable include Common::PainterUpdatesPosition include Common::Visibility include Common::Remove include Common::Translate include ::Shoes::BackendDimensionsDelegations attr_reader :dsl, :app, :transform, :painter, :container # @param [Shoes::Oval] dsl the dsl object to provide gui for # @param [Shoes::Swt::App] app the app # @param [Hash] opts options def initialize(dsl, app) @dsl = dsl @app = app @container = @app.real @painter = OvalPainter.new(self) @app.add_paint_listener @painter end def update_position # No-op, since it has its own painter end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
shoes-swt-4.0.0.pre8 | lib/shoes/swt/oval.rb |
shoes-swt-4.0.0.pre7 | lib/shoes/swt/oval.rb |