glimmer-dsl-libui 0.2.24 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/README.md +1153 -921
  4. data/VERSION +1 -1
  5. data/examples/area_gallery.rb +19 -19
  6. data/examples/area_gallery2.rb +91 -89
  7. data/examples/area_gallery3.rb +19 -19
  8. data/examples/area_gallery4.rb +91 -89
  9. data/examples/basic_image.rb +19 -0
  10. data/examples/basic_image2.rb +13 -0
  11. data/examples/basic_image3.rb +23 -0
  12. data/examples/basic_image4.rb +17 -0
  13. data/examples/basic_image5.rb +75 -0
  14. data/examples/basic_table_color.rb +1 -11
  15. data/examples/basic_table_color2.rb +39 -0
  16. data/examples/basic_table_image.rb +2 -14
  17. data/examples/basic_table_image2.rb +44 -0
  18. data/examples/basic_table_image_text.rb +2 -13
  19. data/examples/basic_table_image_text2.rb +44 -0
  20. data/examples/basic_transform.rb +3 -6
  21. data/examples/basic_transform2.rb +34 -0
  22. data/examples/color_the_circles.rb +1 -3
  23. data/examples/dynamic_area.rb +1 -3
  24. data/examples/dynamic_area2.rb +5 -7
  25. data/examples/form_table.rb +4 -0
  26. data/examples/grid.rb +4 -4
  27. data/examples/histogram.rb +4 -8
  28. data/examples/meta_example.rb +50 -10
  29. data/examples/snake.rb +1 -3
  30. data/examples/tetris.rb +15 -18
  31. data/examples/tic_tac_toe/board.rb +4 -2
  32. data/examples/tic_tac_toe.rb +1 -3
  33. data/glimmer-dsl-libui.gemspec +0 -0
  34. data/lib/glimmer/dsl/libui/control_expression.rb +1 -1
  35. data/lib/glimmer/dsl/libui/shape_expression.rb +6 -1
  36. data/lib/glimmer/libui/control_proxy/area_proxy.rb +1 -0
  37. data/lib/glimmer/libui/control_proxy/column.rb +2 -2
  38. data/lib/glimmer/libui/control_proxy/image_part_proxy.rb +0 -1
  39. data/lib/glimmer/libui/control_proxy/image_proxy.rb +159 -12
  40. data/lib/glimmer/libui/control_proxy/table_proxy.rb +15 -2
  41. data/lib/glimmer/libui/control_proxy/window_proxy.rb +1 -1
  42. data/lib/glimmer/libui/control_proxy.rb +7 -7
  43. data/lib/glimmer/libui/image_path_renderer.rb +30 -0
  44. data/lib/glimmer/libui/shape.rb +44 -1
  45. metadata +29 -19
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9b4b92bdc276153bae236387b4813b62bc1b8b9f5b6779c59ffae9b1b47484f
4
- data.tar.gz: 69efbe44dac5e3fec15ec31c261b469187a45d8acabf2d9754459f1bbfbc66d7
3
+ metadata.gz: 2210fdb10cbd7cc9cf2c32801f90497e4b2017a0bc2e1b7e07e101b858475cb6
4
+ data.tar.gz: 32455357fd8a67d860149daab6434b7a33e955eeb5f7551dd23071a4f8ce139d
5
5
  SHA512:
6
- metadata.gz: 39ef3e3f8db68098d52222ef7ffa3ed5f9d85e25199ed960d9945e2f92a13bd90cdfc860fcd5fd901a6b76d3899786ef9363fad131d7bc25880506b4355ef2dd
7
- data.tar.gz: 0f92e07ed0e37bfc7e172b275d57853b26407b9f708554d586a4b6b97460485926217f364cad5cfdf3b016a37366acd51dbf440004709909f5d9cf924a8d7734
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')