glimmer-dsl-libui 0.2.16 → 0.2.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/README.md +513 -92
- data/VERSION +1 -1
- data/bin/girb +0 -0
- data/examples/area_gallery.rb +11 -18
- data/examples/area_gallery2.rb +31 -7
- data/examples/area_gallery3.rb +14 -21
- data/examples/area_gallery4.rb +34 -10
- data/examples/histogram.rb +6 -13
- data/examples/meta_example.rb +3 -1
- data/examples/tetris/model/block.rb +48 -0
- data/examples/tetris/model/game.rb +308 -0
- data/examples/tetris/model/past_game.rb +39 -0
- data/examples/tetris/model/tetromino.rb +329 -0
- data/examples/tetris.rb +354 -0
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/dsl/libui/shape_expression.rb +1 -0
- data/lib/glimmer/libui/control_proxy/area_proxy.rb +25 -0
- data/lib/glimmer/libui/control_proxy/path_proxy.rb +19 -7
- data/lib/glimmer/libui/control_proxy/window_proxy.rb +40 -1
- data/lib/glimmer/libui/shape/figure.rb +4 -2
- data/lib/glimmer/libui/shape/polybezier.rb +45 -0
- data/lib/glimmer/libui/shape/polygon.rb +46 -0
- data/lib/glimmer/libui/shape/polyline.rb +45 -0
- data/lib/glimmer/libui/shape.rb +9 -3
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70f45c14b2e19345bb8ca1a16409260ef9835daf69053febcc6e28309a58618d
|
4
|
+
data.tar.gz: 06e4d212588dff9195b6cc6df82bcca4f6c1fcc1f401abc5d174ef88aa20164a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18a072c532d014a9849e96c6add0a7279200384c11478c99c2271e6f34cd30c2035d751f4644e8eb1f78f847497d1be0126c795efc32582ce22727c0b71ab029
|
7
|
+
data.tar.gz: efe76c9b3c7439eb27b2b8c1159a5d133966b8282b130c983544bf60b1df41134267dbdc59a3b08e94d6491dffbe9e0a9d54a9afcad89701f68e3c17fbd6bcc4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,31 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.2.20
|
4
|
+
|
5
|
+
- Improve examples/tetris.rb with menus, high score dialog, and options
|
6
|
+
- Prevent examples/tetris.rb `window` from being resized
|
7
|
+
- Support `window` `resizable` property (`resizable false` means one cannot resize `window`)
|
8
|
+
- Support calling `window.content_size = [x, y]` as an alternative to `window.set_content_size(x, y)`
|
9
|
+
- Fix issue with hooking `on_content_size_changed` listener to `window`
|
10
|
+
- Fix issue with using `window` `content_size` property getter
|
11
|
+
|
12
|
+
## 0.2.19
|
13
|
+
|
14
|
+
- Improve examples/tetris.rb with a score board (indicating next Tetromino, score, level, and lines)
|
15
|
+
- Add instant down action to examples/tetris.rb upon hitting the space button
|
16
|
+
|
17
|
+
## 0.2.18
|
18
|
+
|
19
|
+
- Support `polygon` (closed figure of lines), `polyline` (open figure of lines), and `polybezier` (open figure of beziers) shape keywords to use under `path`
|
20
|
+
- Improve examples/tetris.rb with bevel block 3D look and restarting upon game over
|
21
|
+
- Update examples/area_gallery.rb to add uses of `polygon`, `polyline`, and `polybezier`
|
22
|
+
- Refactor examples/histogram.rb to utilize new `polygon` and `polyline` keywords
|
23
|
+
- Support `area` `request_auto_redraw`, `pause_auto_redraw`, and `resume_auto_redraw`, operations, and `auto_redraw_enabled` property.
|
24
|
+
|
25
|
+
## 0.2.17
|
26
|
+
|
27
|
+
- Tetris example - basic version with simple color squares
|
28
|
+
|
3
29
|
## 0.2.16
|
4
30
|
|
5
31
|
- Document all examples with Windows screenshots
|