glimmer-dsl-libui 0.4.2 → 0.4.6

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 (43) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -0
  3. data/README.md +1359 -200
  4. data/VERSION +1 -1
  5. data/examples/basic_entry.rb +27 -24
  6. data/examples/basic_entry2.rb +31 -0
  7. data/examples/color_button.rb +18 -13
  8. data/examples/color_button2.rb +14 -0
  9. data/examples/dynamic_area.rb +77 -90
  10. data/examples/dynamic_area2.rb +14 -12
  11. data/examples/dynamic_area3.rb +90 -0
  12. data/examples/dynamic_area4.rb +95 -0
  13. data/examples/font_button.rb +17 -12
  14. data/examples/font_button2.rb +18 -0
  15. data/examples/form.rb +42 -30
  16. data/examples/form2.rb +37 -0
  17. data/examples/form_table.rb +100 -87
  18. data/examples/form_table2.rb +93 -0
  19. data/examples/histogram.rb +93 -91
  20. data/examples/histogram2.rb +109 -0
  21. data/examples/login.rb +45 -39
  22. data/examples/login2.rb +55 -0
  23. data/examples/login3.rb +65 -0
  24. data/examples/login4.rb +61 -0
  25. data/examples/login5.rb +43 -0
  26. data/examples/meta_example.rb +9 -6
  27. data/examples/method_based_custom_keyword.rb +8 -15
  28. data/examples/method_based_custom_keyword2.rb +97 -0
  29. data/examples/timer.rb +28 -31
  30. data/examples/timer2.rb +129 -0
  31. data/glimmer-dsl-libui.gemspec +0 -0
  32. data/lib/glimmer/dsl/libui/data_binding_expression.rb +4 -6
  33. data/lib/glimmer/libui/attributed_string.rb +3 -0
  34. data/lib/glimmer/libui/control_proxy/color_button_proxy.rb +5 -0
  35. data/lib/glimmer/libui/control_proxy/entry_proxy.rb +5 -0
  36. data/lib/glimmer/libui/control_proxy/font_button_proxy.rb +4 -0
  37. data/lib/glimmer/libui/control_proxy/multiline_entry_proxy.rb +5 -0
  38. data/lib/glimmer/libui/control_proxy/slider_proxy.rb +38 -0
  39. data/lib/glimmer/libui/control_proxy/spinbox_proxy.rb +38 -0
  40. data/lib/glimmer/libui/control_proxy.rb +4 -0
  41. data/lib/glimmer/libui/data_bindable.rb +39 -0
  42. data/lib/glimmer/libui/shape.rb +2 -0
  43. metadata +19 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b5839a358a532ac1bef6daae1352c655beb83586ebaec5310f9ea585560bce2
4
- data.tar.gz: c624d4787132b6d35e91432b551866515f1d99a29882c4395275752bed58bbf5
3
+ metadata.gz: e2f52b21e108a75ec59b380fa0d84cd116bb47423877575486ee5bc2647d7953
4
+ data.tar.gz: 2d7d9ab30e81bd1eb846dca3bddeb79509dab1e641c38b44d5d31914679ab49c
5
5
  SHA512:
6
- metadata.gz: 5637badd742ecea707c0e0b976f616f99175ff16cd15302d5f9ab5ce8d5beab1684582d061299454599926c9028ec01ec3767e0313f3ed1cb24575c36eb4eee6
7
- data.tar.gz: 63ffa8f18c75c6aea32e9a9302b3203bd03e011d342d5320d2023709e6dbd949dda89a9afdc282fb53580ddbcce7d2022a0bb484df55f854ab9e100920ed5384
6
+ metadata.gz: d90045f52bd836fc18ff4aff2bc096302101651bc006a144af9f80563e171ecd4d236e85ebbb064b53374a61946185fa9aef0946b493b0ca1df967670629ac5e
7
+ data.tar.gz: 491694ae1ccdbbb5b4c7e0e3bfa30beee648f9a579dfaaa13b35ee583a6551967c441078fa83857c0e886a2991662d83d952f79b73a39e27769262c0c77b822e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.4.6
4
+
5
+ - Support `slider` `value` bidirectional data-binding (with `<=>` sign)
6
+ - Support `color_button` `color` bidirectional data-binding (with `<=>` sign)
7
+ - Support `font_button` `font` write-only unidirectional data-binding (with `<=>` sign)
8
+ - Improve examples/color_button.rb with bidirectional data-binding for `color_button` `color`
9
+ - Improve examples/histogram.rb with bidirectional data-binding for `color_button` `color`
10
+ - Improve examples/font_button.rb with bidirectional data-binding for `font_button` `font`
11
+
12
+ ## 0.4.5
13
+
14
+ - Support `spinbox` `value` bidirectional data-binding (with `<=>` sign)
15
+ - Improve examples/dynamic_area.rb with bidirectional data-binding for `spinbox` `value`
16
+ - Improve examples/histogram.rb with bidirectional data-binding for `spinbox` `value`
17
+ - Improve examples/timer.rb with bidirectional data-binding for `spinbox` `value`
18
+
19
+ ## 0.4.4
20
+
21
+ - Fix issue with data-binding shapes and attributed strings, which broke Snake and Tic Tac Toe examples
22
+
23
+ ## 0.4.3
24
+
25
+ - Support `entry` `text` bidirectional data-binding (with `<=>` sign)
26
+ - Support `search_entry` `text` property bidirectional data-binding (with `<=>` sign)
27
+ - Support `multiline_entry` `text` property bidirectional data-binding (with `<=>` sign)
28
+ - Support `non_wrapping_multiline_entry` `text` property bidirectional data-binding (with `<=>` sign)
29
+ - Improve examples/basic_entry.rb with bidirectional data-binding for `entry` `text`
30
+ - Improve examples/form.rb with bidirectional data-binding for `entry` `text`
31
+ - Improve examples/form_table.rb with bidirectional data-binding for `entry` `text`
32
+ - Improve examples/login.rb with bidirectional data-binding for `entry` `text`
33
+ - Improve examples/method_based_custom_keyword.rb with bidirectional data-binding for `entry` `text`
34
+ - Improve examples/meta_example.rb with bidirectional data-binding for `non_wrapping_multiline_entry` `text`
35
+
3
36
  ## 0.4.2
4
37
 
5
38
  - examples/button_counter.rb (takes advantage of unidirectional data-binding)