Sha256: 2f70b4ab15ff8b12749e773c0782ca1fb616264071cf4a4bc9f5fde4cf97a1f5
Contents?: true
Size: 773 Bytes
Versions: 4
Compression:
Stored size: 773 Bytes
Contents
class Shoes module Swt class Border extend Forwardable include Common::Fill include Common::Stroke include Common::Remove include Common::Visibility include ::Shoes::BackendDimensionsDelegations def_delegators :dsl, :angle attr_reader :app, :dsl, :painter, :transform def initialize(dsl, app) @dsl = dsl @app = app @container = @app.real @painter = Painter.new(self) @app.add_paint_listener @painter end def corners dsl.curve end class Painter < RectPainter def fill_setup(_gc) # don't draw end def draw_setup(gc) @obj.apply_stroke gc true end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
shoes-swt-4.0.0.pre6 | lib/shoes/swt/border.rb |
shoes-swt-4.0.0.pre5 | lib/shoes/swt/border.rb |
shoes-swt-4.0.0.pre4 | lib/shoes/swt/border.rb |
shoes-swt-4.0.0.pre3 | lib/shoes/swt/border.rb |