Sha256: 5802487072bf3fbd464e41b65cc9dc68d9f9a818b2269e3b0d3e35f1dd8864e7
Contents?: true
Size: 566 Bytes
Versions: 2
Compression:
Stored size: 566 Bytes
Contents
class Shoes class Oval include Common::UIElement include Common::Style include Common::Clickable attr_reader :app, :parent, :dimensions, :gui style_with :art_styles, :center, :common_styles, :dimensions, :radius def initialize(app, parent, left, top, width, height, styles = {}, blk = nil) @app = app @parent = parent style_init styles @dimensions = AbsoluteDimensions.new left, top, width, height, @style @parent.add_child self @gui = Shoes.backend_for self register_click blk end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
shoes-core-4.0.0.pre3 | lib/shoes/oval.rb |
shoes-dsl-4.0.0.pre2 | lib/shoes/oval.rb |