glimmer-dsl-libui 0.2.19 → 0.2.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/README.md +467 -35
- data/VERSION +1 -1
- data/examples/area_gallery.rb +1 -1
- data/examples/area_gallery2.rb +1 -1
- data/examples/area_gallery3.rb +1 -1
- data/examples/area_gallery4.rb +1 -1
- data/examples/meta_example.rb +1 -1
- data/examples/snake/model/apple.rb +33 -0
- data/examples/snake/model/game.rb +51 -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 +127 -15
- 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 +34 -6
- 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: 3e33c97761bce7909c5a48df2689cb8bd0a4745ac68a24c814c4938c36eb08e0
|
4
|
+
data.tar.gz: 604b2d6439ed510f6e30bae8f431c09fcd348f14afa71fa4707a3de0d71cae33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66603e770e6135e08ea785ef46ac9158c6f14b1c3966175c7116f9a81cc3dbbfcc2ee495f16d367976174b2f8f0d9013640731713db3c9be65dd5b973dba12b5
|
7
|
+
data.tar.gz: 94ca555082c61042dd24ba0a36b75b5b401b8c63ef0c0f5acff6b3fcb2f822dd37e61ab3cd3660b5e657896a8209afe09760cf8c7fc9a092d00a6666d43a1c96
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,35 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.2.23
|
4
|
+
|
5
|
+
- Improve examples/tetris.rb by having high score dialog pause the game if running and resume after closed
|
6
|
+
- Adjust Area Gallery example text size to 11 in Windows/Linux
|
7
|
+
- Fix `Glimmer::LibUI::timer {}` behavior so that the block return value will not affect repetition outcome if it is `Integer` (only Booleans affect it)
|
8
|
+
- Fix Tetris down button for Windows (it was going too fast before making tetrominos invisible before they hit the bottom)
|
9
|
+
- Fix Tetris double-downs (or multiple downs) happening after game over (it was firing an additional down timer after game over by mistake before)
|
10
|
+
- Fix Tetris by prechecking Turn Left on Up radio menu item since it is the one selected upon launch of the game
|
11
|
+
- Fix Tic-Tac-Toe text-size for Windows/Linux
|
12
|
+
|
13
|
+
## 0.2.22
|
14
|
+
|
15
|
+
- examples/snake.rb implemented test-first
|
16
|
+
|
17
|
+
## 0.2.21
|
18
|
+
|
19
|
+
- examples/tic_tac_toe.rb
|
20
|
+
- `Glimmer::LibUI::enum_names` provides all possible enum names to use with `Glimmer::LibUI::enum_symbols(enum_name)`
|
21
|
+
- Document all `Glimmer::LibUI` custom operations
|
22
|
+
- Fix issue with retrieving `Glimmer::LibUI::enum_symbols` for `:at` enum name
|
23
|
+
|
24
|
+
## 0.2.20
|
25
|
+
|
26
|
+
- Improve examples/tetris.rb with menus, high score dialog, and options
|
27
|
+
- Prevent examples/tetris.rb `window` from being resized
|
28
|
+
- Support `window` `resizable` property (`resizable false` means one cannot resize `window`)
|
29
|
+
- Support calling `window.content_size = [x, y]` as an alternative to `window.set_content_size(x, y)`
|
30
|
+
- Fix issue with hooking `on_content_size_changed` listener to `window`
|
31
|
+
- Fix issue with using `window` `content_size` property getter
|
32
|
+
|
3
33
|
## 0.2.19
|
4
34
|
|
5
35
|
- Improve examples/tetris.rb with a score board (indicating next Tetromino, score, level, and lines)
|