glimmer-dsl-libui 0.3.2 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -0
- data/README.md +3859 -4006
- data/VERSION +1 -1
- data/bin/girb +0 -0
- data/examples/area_gallery.rb +19 -19
- data/examples/area_gallery2.rb +91 -89
- data/examples/area_gallery3.rb +19 -19
- data/examples/area_gallery4.rb +91 -89
- 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/basic_transform.rb +3 -6
- data/examples/basic_transform2.rb +34 -0
- data/examples/color_the_circles.rb +1 -3
- data/examples/dynamic_area.rb +1 -3
- data/examples/dynamic_area2.rb +5 -7
- data/examples/form_table.rb +4 -0
- data/examples/grid.rb +4 -4
- data/examples/histogram.rb +4 -8
- data/examples/meta_example.rb +50 -10
- data/examples/midi_player.rb +2 -6
- data/examples/snake/model/game.rb +2 -2
- data/examples/snake.rb +9 -21
- data/examples/tetris.rb +15 -18
- data/examples/tic_tac_toe/board.rb +4 -2
- data/examples/tic_tac_toe.rb +4 -15
- 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/shape_expression.rb +6 -1
- 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 +50 -2
- metadata +15 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7787d307fad4098e8f050a94c6477e9fca1f6cc8a2af4f2c16126a0a118dbc59
|
4
|
+
data.tar.gz: 0cc3d91a91ec96fa4bfecebef3829f4dc384f51aae7a81157385812d1aac2e8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89d886d203a00b83b7a1b5640dfb83f256b6514586b254bb4b00157c88df29acaa80b30194909f62858d6c79eba1782a7d4deda143d5406bd5048899f3d9835c
|
7
|
+
data.tar.gz: c94709151900aac23b7148422ee96d484413437b57a78aca7ece2948b6a48a3db3cca7c64827ade37037f9d4af27cce0e6f0bf0a2498358afd07a279595dec12
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,41 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.4.0
|
4
|
+
|
5
|
+
- Upgrade to LibUI 0.0.13
|
6
|
+
- Support general control/shape/attributed_string property unidirectional data-binding (with `<=` sign or `<=>`)
|
7
|
+
- Support `observe` DSL keyword for simple model observation outside of GUI (e.g. `observe(model, attribute) { do_something }` )
|
8
|
+
- Simplify examples/snake.rb with data-binding
|
9
|
+
- Simplify examples/tic_tac_toe.rb with data-binding
|
10
|
+
- Fix issue with `Shape#redraw` method calling `AreaProxy#auto_redraw` instead of `AreaProxy#redraw`
|
11
|
+
|
12
|
+
## 0.3.5
|
13
|
+
|
14
|
+
- Fixed Area Gallery example (all versions) after a recent refactoring broke it
|
15
|
+
|
16
|
+
## 0.3.4
|
17
|
+
|
18
|
+
- New examples/basic_scrolling_area.rb
|
19
|
+
- Smart defaults for `scrolling_area` control + convenience `width` and `height` attributes
|
20
|
+
- Simplify examples/basic_area.rb (all versions) by nesting shapes directly under `area`
|
21
|
+
- Support `#content {}` method in `figure` to be able to reopen a `figure`'s content to add more shapes in.
|
22
|
+
|
23
|
+
## 0.3.3
|
24
|
+
|
25
|
+
- Support nesting shapes directly under `area` to represent paths having one shape, and nesting `fill`/`stroke` within the shapes (not `path`)
|
26
|
+
- Simplify examples/area_gallery.rb (all versions) by nesting shapes directly under `area`
|
27
|
+
- Simplify examples/basic_transform.rb by nesting shapes directly under `area` (and provide original version as 2nd version)
|
28
|
+
- Simplify examples/color_the_circles.rb by nesting shapes directly under `area`
|
29
|
+
- Simplify examples/dynamic_area.rb (all versions) by nesting shapes directly under `area`
|
30
|
+
- Simplify examples/histogram.rb (all versions) by nesting shapes directly under `area`
|
31
|
+
- Simplify examples/tetris.rb by nesting shapes directly under `area`
|
32
|
+
- Simplify examples/tic_tac_toe.rb by nesting shapes directly under `area`
|
33
|
+
- Simplify examples/snake.rb by nesting shapes directly under `area`
|
34
|
+
- Add a second tab to examples/meta_example.rb to fit more examples
|
35
|
+
- Upgrade glimmer to 2.5.0
|
36
|
+
- Fix issue in examples/tic_tac_toe.rb permitting change of symbol in marked area
|
37
|
+
- Update Style Guide and add an example for each bullet point
|
38
|
+
|
3
39
|
## 0.3.2
|
4
40
|
|
5
41
|
- Fix issue with attempting to free `image` as an object from memory by mistake when used as a control (not an object for `table`)
|