glimmer-dsl-libui 0.2.24 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/README.md +1153 -921
- data/VERSION +1 -1
- 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_image.rb +19 -0
- data/examples/basic_image2.rb +13 -0
- data/examples/basic_image3.rb +23 -0
- data/examples/basic_image4.rb +17 -0
- data/examples/basic_image5.rb +75 -0
- data/examples/basic_table_color.rb +1 -11
- data/examples/basic_table_color2.rb +39 -0
- data/examples/basic_table_image.rb +2 -14
- data/examples/basic_table_image2.rb +44 -0
- data/examples/basic_table_image_text.rb +2 -13
- data/examples/basic_table_image_text2.rb +44 -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/snake.rb +1 -3
- data/examples/tetris.rb +15 -18
- data/examples/tic_tac_toe/board.rb +4 -2
- data/examples/tic_tac_toe.rb +1 -3
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/dsl/libui/control_expression.rb +1 -1
- data/lib/glimmer/dsl/libui/shape_expression.rb +6 -1
- data/lib/glimmer/libui/control_proxy/area_proxy.rb +1 -0
- data/lib/glimmer/libui/control_proxy/column.rb +2 -2
- data/lib/glimmer/libui/control_proxy/image_part_proxy.rb +0 -1
- data/lib/glimmer/libui/control_proxy/image_proxy.rb +159 -12
- data/lib/glimmer/libui/control_proxy/table_proxy.rb +15 -2
- data/lib/glimmer/libui/control_proxy/window_proxy.rb +1 -1
- data/lib/glimmer/libui/control_proxy.rb +7 -7
- data/lib/glimmer/libui/image_path_renderer.rb +30 -0
- data/lib/glimmer/libui/shape.rb +44 -1
- metadata +29 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2210fdb10cbd7cc9cf2c32801f90497e4b2017a0bc2e1b7e07e101b858475cb6
|
4
|
+
data.tar.gz: 32455357fd8a67d860149daab6434b7a33e955eeb5f7551dd23071a4f8ce139d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43d0fb73ca06474723dfe371c8da6c22016f2db46a111467e27bca21494bd1af55ecb9160a2fc2414324517f83b4bb78c00bbdd3a4e13e836707e67be7c81002
|
7
|
+
data.tar.gz: 959439c28a1bbaccdeb5d5489ad8259bb6efc4f374b4b05f4148f611fb2fdde115e5fc4a2ad1e08294a7db21d99d470a9fdd2701ae48e94bbe4a29e1b51f4158
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,39 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.3.3
|
4
|
+
|
5
|
+
- Support nesting shapes directly under `area` to represent paths having one shape, and nesting `fill`/`stroke` within the shapes (not `path`)
|
6
|
+
- Simplify examples/area_gallery.rb (all versions) by nesting shapes directly under `area`
|
7
|
+
- Simplify examples/basic_transform.rb by nesting shapes directly under `area` (and provide original version as 2nd version)
|
8
|
+
- Simplify examples/color_the_circles.rb by nesting shapes directly under `area`
|
9
|
+
- Simplify examples/dynamic_area.rb (all versions) by nesting shapes directly under `area`
|
10
|
+
- Simplify examples/histogram.rb (all versions) by nesting shapes directly under `area`
|
11
|
+
- Simplify examples/tetris.rb by nesting shapes directly under `area`
|
12
|
+
- Simplify examples/tic_tac_toe.rb by nesting shapes directly under `area`
|
13
|
+
- Simplify examples/snake.rb by nesting shapes directly under `area`
|
14
|
+
- Add a second tab to examples/meta_example.rb to fit more examples
|
15
|
+
- Upgrade glimmer to 2.5.0
|
16
|
+
- Fix issue in examples/tic_tac_toe.rb permitting change of symbol in marked area
|
17
|
+
- Update Style Guide and add an example for each bullet point
|
18
|
+
|
19
|
+
## 0.3.2
|
20
|
+
|
21
|
+
- Fix issue with attempting to free `image` as an object from memory by mistake when used as a control (not an object for `table`)
|
22
|
+
|
23
|
+
## 0.3.1
|
24
|
+
|
25
|
+
- Support building `image_column` `image` objects in a `table` via `file` property (simplify through automation of use of `image_part` for `.png` image files given that `chunky_png` is now included in the gem)
|
26
|
+
- Support Web URL as `image` control `file` property
|
27
|
+
- Add `key_code` as alias to `key_value` in `area_key_event` `Hash`
|
28
|
+
- Fix issue with editing `text_color_column` in `table` having `editable true` property
|
29
|
+
- Fix issue with editing `checkbox_text_column` text in `table` having `editable true` or `editable_text true` property
|
30
|
+
|
31
|
+
## 0.3.0
|
32
|
+
|
33
|
+
- Upgrade to glimmer 2.4.1
|
34
|
+
- Add `chunky_png` gem to support `.png` images natively
|
35
|
+
- New `image` Glimmer custom control that can be nested under `area` to render an image (it is not part of LibUI, so it has some performance caveats, but is better than nothing and is fast with smaller image width/height)
|
36
|
+
|
3
37
|
## 0.2.24
|
4
38
|
|
5
39
|
- Support hex colors as `String` with `'#'` prefix (e.g. '#ffaa92')
|