Sha256: 09f20ec11b110e87c64cd338ecfc58dcf48949b4bc3c548865a004bb60fbe768
Contents?: true
Size: 855 Bytes
Versions: 4
Compression:
Stored size: 855 Bytes
Contents
# frozen_string_literal: true 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
shoes-swt-4.0.0.pre12 | lib/shoes/swt/oval.rb |
shoes-swt-4.0.0.pre11 | lib/shoes/swt/oval.rb |
shoes-swt-4.0.0.pre10 | lib/shoes/swt/oval.rb |
shoes-swt-4.0.0.pre9 | lib/shoes/swt/oval.rb |