glimmer-dsl-swt 4.18.4.4 → 4.18.4.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -139,10 +139,6 @@ class Tetris
139
139
  score_lane(game: game, block_size: BLOCK_SIZE) {
140
140
  layout_data(:fill, :fill, true, true)
141
141
  }
142
-
143
- on_widget_disposed {
144
- deregister_observers
145
- }
146
142
  }
147
143
  }
148
144
 
@@ -206,15 +202,6 @@ class Tetris
206
202
  message "Glimmer Tetris\n\nGlimmer DSL for SWT Sample\n\nCopyright (c) 2007-2021 Andy Maleh"
207
203
  }.open
208
204
  end
209
-
210
- def deregister_observers
211
- @show_high_scores_observer&.deregister
212
- @game_over_observer&.deregister
213
- @keyboard_down_listener&.deregister
214
- @keyboard_up_listener&.deregister
215
- @about_observer&.deregister
216
- @quit_observer&.deregister
217
- end
218
205
  end
219
206
 
220
207
  Tetris.launch
@@ -27,7 +27,7 @@ class Tetris
27
27
  options :game_playfield, :block_size, :row, :column
28
28
 
29
29
  body {
30
- canvas(:double_buffered) {
30
+ canvas {
31
31
  background bind(game_playfield[row][column], :color)
32
32
  polygon(0, 0, block_size, 0, block_size - 4, 4, 4, 4) {
33
33
  background bind(game_playfield[row][column], :color) { |color_value|
@@ -25,7 +25,7 @@ shell {
25
25
  text 'Hello, Canvas Animation!'
26
26
  minimum_size 800, 420
27
27
 
28
- canvas(:double_buffered) {
28
+ canvas {
29
29
  animation {
30
30
  every 0.01 # in seconds (one hundredth)
31
31
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-dsl-swt
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.18.4.4
4
+ version: 4.18.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - AndyMaleh
@@ -362,6 +362,13 @@ files:
362
362
  - bin/girb
363
363
  - bin/girb_runner.rb
364
364
  - bin/glimmer
365
+ - docs/reference/GLIMMER_COMMAND.md
366
+ - docs/reference/GLIMMER_CONFIGURATION.md
367
+ - docs/reference/GLIMMER_GIRB.md
368
+ - docs/reference/GLIMMER_GUI_DSL_SYNTAX.md
369
+ - docs/reference/GLIMMER_PACKAGING_AND_DISTRIBUTION.md
370
+ - docs/reference/GLIMMER_SAMPLES.md
371
+ - docs/reference/GLIMMER_STYLE_GUIDE.md
365
372
  - glimmer-dsl-swt.gemspec
366
373
  - icons/scaffold_app.icns
367
374
  - icons/scaffold_app.ico