glimmer-dsl-libui 0.3.3 → 0.4.1
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 +3298 -3128
- data/VERSION +1 -1
- data/examples/basic_area.rb +1 -3
- data/examples/basic_area2.rb +1 -3
- data/examples/basic_area3.rb +17 -0
- data/examples/basic_area4.rb +19 -0
- data/examples/basic_scrolling_area.rb +79 -0
- data/examples/color_the_circles.rb +2 -2
- data/examples/method_based_custom_keyword.rb +2 -2
- data/examples/midi_player.rb +2 -6
- data/examples/snake/model/game.rb +2 -2
- data/examples/snake/presenter/grid.rb +5 -3
- data/examples/snake.rb +11 -21
- data/examples/tetris.rb +12 -12
- data/examples/tic_tac_toe.rb +3 -12
- data/examples/timer.rb +2 -6
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/dsl/libui/bind_expression.rb +36 -0
- data/lib/glimmer/dsl/libui/data_binding_expression.rb +47 -0
- data/lib/glimmer/dsl/libui/dsl.rb +3 -0
- data/lib/glimmer/dsl/libui/observe_expression.rb +35 -0
- data/lib/glimmer/dsl/libui/shine_data_binding_expression.rb +42 -0
- data/lib/glimmer/dsl/libui/string_expression.rb +4 -5
- data/lib/glimmer/libui/attributed_string.rb +19 -6
- data/lib/glimmer/libui/control_proxy/area_proxy/scrolling_area_proxy.rb +35 -0
- data/lib/glimmer/libui/control_proxy/window_proxy.rb +20 -0
- data/lib/glimmer/libui/shape.rb +6 -1
- metadata +11 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 979ea7d60d873acdbe09e6ae2ceb48318798fa41ed13bb3a6bc8dcb642933165
|
4
|
+
data.tar.gz: 7cc05757477a0a42b85a20a6b298c147b5fba948f9e1eedd21701ab392a2d78a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8feb498d6d9eae22df82c9c9e2b0bd12ef11eb1ec9e4f90ac94f7151be28225f7dce775b8352b25ef98e4bc36f2aedd56370a1265a313f0997161396034f16d0
|
7
|
+
data.tar.gz: f76393bfebc577d9ce5e5add450ee70e337b67e7a63be24f5f91e4180d65c0d72c7236680f5843c446161710961ec51aa6520f037fcdcc0fc617d21ac182b850
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,34 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.4.1
|
4
|
+
|
5
|
+
- Document `observe` keyword
|
6
|
+
- Document unidirectional data-binding in more detail (like `:before_read`, `:on_read`, and `:after_read` options)
|
7
|
+
- Simplify examples/tetris.rb with `observe` keyword
|
8
|
+
- Simplify examples/method_based_custom_keyword.rb with `observe` keyword
|
9
|
+
- Simplify examples/color_the_circles.rb with `observe` keyword
|
10
|
+
- Simplify examples/snake.rb with `observe` keyword
|
11
|
+
|
12
|
+
## 0.4.0
|
13
|
+
|
14
|
+
- Upgrade to LibUI 0.0.13
|
15
|
+
- Support general control/shape/attributed_string property unidirectional data-binding (with `<=` sign or `<=>`)
|
16
|
+
- Support `observe` DSL keyword for simple model observation outside of GUI (e.g. `observe(model, attribute) { do_something }` )
|
17
|
+
- Simplify examples/snake.rb with data-binding
|
18
|
+
- Simplify examples/tic_tac_toe.rb with data-binding
|
19
|
+
- Fix issue with `Shape#redraw` method calling `AreaProxy#auto_redraw` instead of `AreaProxy#redraw`
|
20
|
+
|
21
|
+
## 0.3.5
|
22
|
+
|
23
|
+
- Fixed Area Gallery example (all versions) after a recent refactoring broke it
|
24
|
+
|
25
|
+
## 0.3.4
|
26
|
+
|
27
|
+
- New examples/basic_scrolling_area.rb
|
28
|
+
- Smart defaults for `scrolling_area` control + convenience `width` and `height` attributes
|
29
|
+
- Simplify examples/basic_area.rb (all versions) by nesting shapes directly under `area`
|
30
|
+
- Support `#content {}` method in `figure` to be able to reopen a `figure`'s content to add more shapes in.
|
31
|
+
|
3
32
|
## 0.3.3
|
4
33
|
|
5
34
|
- Support nesting shapes directly under `area` to represent paths having one shape, and nesting `fill`/`stroke` within the shapes (not `path`)
|