Sha256: a620f740b8e51cfe3e467d0a4c272d4abb56497fa8c5535f7af04044a8683ac2

Contents?: true

Size: 279 Bytes

Versions: 86

Compression:

Stored size: 279 Bytes

Contents

require 'glimmer-dsl-libui'

include Glimmer

window('Basic Area', 400, 400) {
  margined true
  
  vertical_box {
    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

86 entries across 86 versions & 1 rubygems

Version Path
glimmer-dsl-libui-0.5.20 examples/basic_area.rb
glimmer-dsl-libui-0.5.19 examples/basic_area.rb
glimmer-dsl-libui-0.5.18 examples/basic_area.rb
glimmer-dsl-libui-0.5.17 examples/basic_area.rb
glimmer-dsl-libui-0.5.16 examples/basic_area.rb
glimmer-dsl-libui-0.5.15 examples/basic_area.rb
glimmer-dsl-libui-0.5.14 examples/basic_area.rb
glimmer-dsl-libui-0.5.13 examples/basic_area.rb
glimmer-dsl-libui-0.5.12 examples/basic_area.rb
glimmer-dsl-libui-0.5.11 examples/basic_area.rb
glimmer-dsl-libui-0.5.10 examples/basic_area.rb
glimmer-dsl-libui-0.5.9 examples/basic_area.rb
glimmer-dsl-libui-0.5.8 examples/basic_area.rb
glimmer-dsl-libui-0.5.7 examples/basic_area.rb
glimmer-dsl-libui-0.5.6 examples/basic_area.rb
glimmer-dsl-libui-0.5.5 examples/basic_area.rb
glimmer-dsl-libui-0.5.4 examples/basic_area.rb
glimmer-dsl-libui-0.5.3 examples/basic_area.rb
glimmer-dsl-libui-0.5.2 examples/basic_area.rb
glimmer-dsl-libui-0.5.1 examples/basic_area.rb