Sha256: 3833ff3229136f4a79cebaa52a74353b77f8a44939236dfa5eab1bd5ab034735

Contents?: true

Size: 248 Bytes

Versions: 9

Compression:

Stored size: 248 Bytes

Contents

require 'glimmer-dsl-libui'

include Glimmer

window('Basic Area', 400, 400) {
  margined true
  
  area {
    rectangle(0, 0, 400, 400) { # stable implicit path shape, added declaratively
      fill r: 102, g: 102, b: 204, a: 1.0
    }
  }
}.show

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
glimmer-dsl-libui-0.12.5 examples/basic_area.rb
glimmer-dsl-libui-0.12.4 examples/basic_area.rb
glimmer-dsl-libui-0.12.3 examples/basic_area.rb
glimmer-dsl-libui-0.12.2 examples/basic_area.rb
glimmer-dsl-libui-0.12.1 examples/basic_area.rb
glimmer-dsl-libui-0.12.0 examples/basic_area.rb
glimmer-dsl-libui-0.11.10 examples/basic_area.rb
glimmer-dsl-libui-0.11.9 examples/basic_area.rb
glimmer-dsl-libui-0.11.8 examples/basic_area.rb