glimmer-dsl-libui 0.2.17 → 0.2.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +29 -0
- data/README.md +563 -125
- data/VERSION +1 -1
- 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/tetris/model/game.rb +2 -0
- data/examples/tetris/model/tetromino.rb +2 -2
- data/examples/tetris.rb +279 -49
- 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/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
- data/lib/glimmer/libui.rb +29 -1
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47a6ef9ebfc0564ae4489dc2981baad90d307aa8beaf0b109c8830370db4f02b
|
4
|
+
data.tar.gz: 3752be2f3972bc7ab9c054444ff99934d4e1e2cb47bb7724059e69b96d6793b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e20361b29c5ccbe1f7a9de7a4929c7384d3db8ca8deafe016ee35e1f239dd2152500018919586e4ad173bb67bfb746fc2a062db449817d33a745a8871b82d455
|
7
|
+
data.tar.gz: 98b75a7e30e0d05f79b7669e26d3f4afeeeaf19ed57e1acfb56a760c5eb052739f4f4d890840c47eb43b2b841e849f44dd727d0ba0bc06189cfea606cec38380
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,34 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.2.21
|
4
|
+
|
5
|
+
- examples/tic_tac_toe.rb
|
6
|
+
- `Glimmer::LibUI::enum_names` provides all possible enum names to use with `Glimmer::LibUI::enum_symbols(enum_name)`
|
7
|
+
- Document all `Glimmer::LibUI` custom operations
|
8
|
+
- Fix issue with retrieving `Glimmer::LibUI::enum_symbols` for `:at` enum name
|
9
|
+
|
10
|
+
## 0.2.20
|
11
|
+
|
12
|
+
- Improve examples/tetris.rb with menus, high score dialog, and options
|
13
|
+
- Prevent examples/tetris.rb `window` from being resized
|
14
|
+
- Support `window` `resizable` property (`resizable false` means one cannot resize `window`)
|
15
|
+
- Support calling `window.content_size = [x, y]` as an alternative to `window.set_content_size(x, y)`
|
16
|
+
- Fix issue with hooking `on_content_size_changed` listener to `window`
|
17
|
+
- Fix issue with using `window` `content_size` property getter
|
18
|
+
|
19
|
+
## 0.2.19
|
20
|
+
|
21
|
+
- Improve examples/tetris.rb with a score board (indicating next Tetromino, score, level, and lines)
|
22
|
+
- Add instant down action to examples/tetris.rb upon hitting the space button
|
23
|
+
|
24
|
+
## 0.2.18
|
25
|
+
|
26
|
+
- Support `polygon` (closed figure of lines), `polyline` (open figure of lines), and `polybezier` (open figure of beziers) shape keywords to use under `path`
|
27
|
+
- Improve examples/tetris.rb with bevel block 3D look and restarting upon game over
|
28
|
+
- Update examples/area_gallery.rb to add uses of `polygon`, `polyline`, and `polybezier`
|
29
|
+
- Refactor examples/histogram.rb to utilize new `polygon` and `polyline` keywords
|
30
|
+
- Support `area` `request_auto_redraw`, `pause_auto_redraw`, and `resume_auto_redraw`, operations, and `auto_redraw_enabled` property.
|
31
|
+
|
3
32
|
## 0.2.17
|
4
33
|
|
5
34
|
- Tetris example - basic version with simple color squares
|