glimmer-dsl-libui 0.3.0 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -0
  3. data/README.md +1229 -1210
  4. data/VERSION +1 -1
  5. data/examples/area_gallery.rb +28 -28
  6. data/examples/area_gallery2.rb +113 -110
  7. data/examples/area_gallery3.rb +28 -28
  8. data/examples/area_gallery4.rb +112 -110
  9. data/examples/basic_area.rb +1 -3
  10. data/examples/basic_area2.rb +1 -3
  11. data/examples/basic_area3.rb +17 -0
  12. data/examples/basic_area4.rb +19 -0
  13. data/examples/basic_scrolling_area.rb +79 -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/shape_expression.rb +6 -1
  35. data/lib/glimmer/libui/control_proxy/area_proxy/scrolling_area_proxy.rb +35 -0
  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_proxy.rb +42 -35
  39. data/lib/glimmer/libui/control_proxy/table_proxy.rb +15 -2
  40. data/lib/glimmer/libui/control_proxy/window_proxy.rb +20 -0
  41. data/lib/glimmer/libui/shape.rb +49 -1
  42. metadata +12 -19
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82c9b768b4dd09cbbad087d470016eaa80a667151f844a57aecf4c339d8bbfe5
4
- data.tar.gz: 4c4b1a1fec0c78d61cb7d47ce79d93766f2ec3c94e2332e185e44b35ecd9dfd8
3
+ metadata.gz: ca4d302e851d275aad52599a64d0fc9ee6d6414efa753b023d38aaa1bfca283d
4
+ data.tar.gz: 3185bb17a987adadc03dfaac631c89850b726e36775bacd4885a40d2bfaa3e7c
5
5
  SHA512:
6
- metadata.gz: abd5077dd154505ac5b97986baace9c72d61a734515f39cb9213161fbd16dff85e46af725b702edfc87fae6043288f4897b53b8c1d0671dc509e0c3ce3b222b2
7
- data.tar.gz: cb2273302f43a0b4e2543ac75c08a51414013d50600d5ccf51406799fba6122ca5144cf8a26c018a594d8e8238e899976c9f8a4a0b00505be954164095726b16
6
+ metadata.gz: 157a6fa09dded3a1b52689dcc06effaf094f29b2d8975051b1838565720b15987e4faebdfcea9a90d67b841468f93ca8f2c9c8089b7d5d8cf81a851f408ff68f
7
+ data.tar.gz: c9b606a58e391302e760d54a227b0e6d8e9e972ce9fce8ac742fcc0b82c377a4a13d4b78f3cc19f432dff01a3cda1432954aeba4065a65ef18098e3bdff5e134
data/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.3.4
4
+
5
+ - New examples/basic_scrolling_area.rb
6
+ - Smart defaults for `scrolling_area` control + convenience `width` and `height` attributes
7
+ - Simplify examples/basic_area.rb (all versions) by nesting shapes directly under `area`
8
+ - Support `#content {}` method in `figure` to be able to reopen a `figure`'s content to add more shapes in.
9
+
10
+ ## 0.3.3
11
+
12
+ - Support nesting shapes directly under `area` to represent paths having one shape, and nesting `fill`/`stroke` within the shapes (not `path`)
13
+ - Simplify examples/area_gallery.rb (all versions) by nesting shapes directly under `area`
14
+ - Simplify examples/basic_transform.rb by nesting shapes directly under `area` (and provide original version as 2nd version)
15
+ - Simplify examples/color_the_circles.rb by nesting shapes directly under `area`
16
+ - Simplify examples/dynamic_area.rb (all versions) by nesting shapes directly under `area`
17
+ - Simplify examples/histogram.rb (all versions) by nesting shapes directly under `area`
18
+ - Simplify examples/tetris.rb by nesting shapes directly under `area`
19
+ - Simplify examples/tic_tac_toe.rb by nesting shapes directly under `area`
20
+ - Simplify examples/snake.rb by nesting shapes directly under `area`
21
+ - Add a second tab to examples/meta_example.rb to fit more examples
22
+ - Upgrade glimmer to 2.5.0
23
+ - Fix issue in examples/tic_tac_toe.rb permitting change of symbol in marked area
24
+ - Update Style Guide and add an example for each bullet point
25
+
26
+ ## 0.3.2
27
+
28
+ - Fix issue with attempting to free `image` as an object from memory by mistake when used as a control (not an object for `table`)
29
+
30
+ ## 0.3.1
31
+
32
+ - 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)
33
+ - Support Web URL as `image` control `file` property
34
+ - Add `key_code` as alias to `key_value` in `area_key_event` `Hash`
35
+ - Fix issue with editing `text_color_column` in `table` having `editable true` property
36
+ - Fix issue with editing `checkbox_text_column` text in `table` having `editable true` or `editable_text true` property
37
+
3
38
  ## 0.3.0
4
39
 
5
40
  - Upgrade to glimmer 2.4.1