glimmer-dsl-libui 0.2.18 → 0.2.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/README.md +510 -35
- data/VERSION +1 -1
- data/examples/meta_example.rb +1 -1
- data/examples/snake/model/apple.rb +33 -0
- data/examples/snake/model/game.rb +52 -0
- data/examples/snake/model/snake.rb +95 -0
- data/examples/snake/model/vertebra.rb +22 -0
- data/examples/snake/presenter/cell.rb +27 -0
- data/examples/snake/presenter/grid.rb +47 -0
- data/examples/snake.rb +90 -0
- data/examples/tetris/model/game.rb +3 -1
- data/examples/tetris.rb +222 -23
- data/examples/tic_tac_toe/board.rb +145 -0
- data/examples/tic_tac_toe/cell.rb +48 -0
- data/examples/tic_tac_toe.rb +85 -0
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/libui/control_proxy/window_proxy.rb +40 -1
- data/lib/glimmer/libui.rb +29 -1
- metadata +12 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ed417f87bfb329535969efe60a61a444d59c7b0e2bdb68196ecf29642b9d628
|
4
|
+
data.tar.gz: b0cb2a08fe3ef7d666408bc2dbfa9f6a7ada5151257b55aca2cd11abda09253d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12e49121d599a00cdf5c3e6638081c8c3d2c6aea263428a1966ce221949d8602fe27c5a03f7506809e5ce877465c5b4b03b909909b8e8c2bba39e698b25f25da
|
7
|
+
data.tar.gz: c0e345c1c9e3d1348a6add04910ecd6a4b58934094d2b688253688e8aa860af00613a0c275aac6ace4a97e46f7341b66dc2eebeec511eaa6e36feb4bcfe8d19b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,30 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.2.22
|
4
|
+
|
5
|
+
- examples/snake.rb implemented test-first
|
6
|
+
|
7
|
+
## 0.2.21
|
8
|
+
|
9
|
+
- examples/tic_tac_toe.rb
|
10
|
+
- `Glimmer::LibUI::enum_names` provides all possible enum names to use with `Glimmer::LibUI::enum_symbols(enum_name)`
|
11
|
+
- Document all `Glimmer::LibUI` custom operations
|
12
|
+
- Fix issue with retrieving `Glimmer::LibUI::enum_symbols` for `:at` enum name
|
13
|
+
|
14
|
+
## 0.2.20
|
15
|
+
|
16
|
+
- Improve examples/tetris.rb with menus, high score dialog, and options
|
17
|
+
- Prevent examples/tetris.rb `window` from being resized
|
18
|
+
- Support `window` `resizable` property (`resizable false` means one cannot resize `window`)
|
19
|
+
- Support calling `window.content_size = [x, y]` as an alternative to `window.set_content_size(x, y)`
|
20
|
+
- Fix issue with hooking `on_content_size_changed` listener to `window`
|
21
|
+
- Fix issue with using `window` `content_size` property getter
|
22
|
+
|
23
|
+
## 0.2.19
|
24
|
+
|
25
|
+
- Improve examples/tetris.rb with a score board (indicating next Tetromino, score, level, and lines)
|
26
|
+
- Add instant down action to examples/tetris.rb upon hitting the space button
|
27
|
+
|
3
28
|
## 0.2.18
|
4
29
|
|
5
30
|
- Support `polygon` (closed figure of lines), `polyline` (open figure of lines), and `polybezier` (open figure of beziers) shape keywords to use under `path`
|