glimmer-dsl-libui 0.0.2 → 0.0.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 (35) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/README.md +837 -27
  4. data/VERSION +1 -1
  5. data/examples/basic_entry.rb +1 -1
  6. data/examples/control_gallery.rb +184 -0
  7. data/examples/midi_player.rb +90 -0
  8. data/examples/simple_notepad.rb +15 -0
  9. data/glimmer-dsl-libui.gemspec +0 -0
  10. data/lib/glimmer/dsl/libui/control_expression.rb +1 -3
  11. data/lib/glimmer/dsl/libui/dsl.rb +1 -1
  12. data/lib/glimmer/dsl/libui/file_expression.rb +33 -0
  13. data/lib/glimmer/dsl/libui/open_file_expression.rb +33 -0
  14. data/lib/glimmer/dsl/libui/save_file_expression.rb +33 -0
  15. data/lib/glimmer/dsl/libui/tab_item_expression.rb +35 -0
  16. data/lib/glimmer/libui/about_menu_item_proxy.rb +37 -0
  17. data/lib/glimmer/libui/box.rb +4 -0
  18. data/lib/glimmer/libui/check_menu_item_proxy.rb +37 -0
  19. data/lib/glimmer/libui/combobox_proxy.rb +43 -0
  20. data/lib/glimmer/libui/control_proxy.rb +75 -22
  21. data/lib/glimmer/libui/editable_combobox_proxy.rb +43 -0
  22. data/lib/glimmer/libui/group_proxy.rb +35 -0
  23. data/lib/glimmer/libui/horizontal_box_proxy.rb +1 -1
  24. data/lib/glimmer/libui/menu_item_proxy.rb +41 -0
  25. data/lib/glimmer/libui/multiline_entry_proxy.rb +35 -0
  26. data/lib/glimmer/libui/non_wrapping_multiline_entry_proxy.rb +32 -0
  27. data/lib/glimmer/libui/preferences_menu_item_proxy.rb +37 -0
  28. data/lib/glimmer/libui/quit_menu_item_proxy.rb +62 -0
  29. data/lib/glimmer/libui/radio_buttons_proxy.rb +43 -0
  30. data/lib/glimmer/libui/separator_menu_item_proxy.rb +37 -0
  31. data/lib/glimmer/libui/tab_item_proxy.rb +66 -0
  32. data/lib/glimmer/libui/vertical_box_proxy.rb +1 -1
  33. data/lib/glimmer/libui/window_proxy.rb +3 -3
  34. data/lib/glimmer-dsl-libui.rb +2 -0
  35. metadata +25 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 686f778cb2f5ec48ff536ba285ea078eaca725dbc9f244630c277de89698909c
4
- data.tar.gz: 232094e072370a3d9aa10902659a78ceb61195ad20c897894fc22dc9bdbbcb0b
3
+ metadata.gz: 602cf477d5809c99e64e46f2e51a66f1610364a28402b568cc6fe97cf5666115
4
+ data.tar.gz: 3a45bca62165d28c11d8f9ee9e0c281c986c499b9df9ffb889214cb4a2240974
5
5
  SHA512:
6
- metadata.gz: cb9a14df6b910961466bcc4ee970f186e13113991534853d7fdcad8bc4524d61cd0166016ff91f00a9e02d0bcd18708af719f6e3621db9c46d7a55e8867bda6d
7
- data.tar.gz: 9d38221eb5e1fe6446febb706b07fb3800e739fc4cf28f6580cb90163256710d78d235669d24c71551f5dc21cf2fa23a6eab556dbbcb11d75bc52cab48f9adab
6
+ metadata.gz: 696a6c43d9b75fa8692d74121d6674dc0b3a040cf47401721007ed6a4865372a67dc46df96bdf63d167a2b3b5187c3ca4139a365fa7942d537f85ed6287f8908
7
+ data.tar.gz: 1b9480211e41aa30fa51f3936d44b3597c5c30d535ccead178504bb7b9c3ed2f3dbc61ae838b81e2c6d2e3fe8a6e4d30a8406fdce81e800398972564699dff63
data/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.0.6
4
+
5
+ - Make listener block provide Ruby proxy object as optional argument (not Fiddle pointer)
6
+ - Handle `tab_item` scenario where it has an empty block or no block (auto-generate empty `horizontal_box` content as a smart default to avoid crashing)
7
+ - Support `non_wrapping_multiline_entry` propeties/operations via `LibUI.multiline_entry_*` methods (enhancing them to accept Ruby objects in addition to pointers)
8
+ - Support splatting `items` array for `radio_buttons`, `editable_combobox`, and `combobox` items
9
+ - Fix issue with `menu_item` `on_clicked` listeners crashing in examples/control_gallery.rb due to garbage collection
10
+
11
+ ## 0.0.5
12
+
13
+ - Support examples/control_gallery.rb
14
+ - Support `open_file` and `save_file`
15
+ - Support `quit_menu_item` with `on_clicked` listener
16
+ - Support `preferences_menu_item` and `about_menu_item`
17
+ - Support `check_menu_item` and `separator_menu_item`
18
+ - Support `enabled=` & `set_enabled` on all controls (making `enabled` property read/write by relying on `enable`/`disable` operations)
19
+ - Support `visible=` & `set_visible` on all controls (making `visible` property read/write by relying on `show`/`hide` operations)
20
+ - Support `horizontal_box` and `vertical_box` propeties (`padded`) & operations (`append`, `delete`) via `LibUI.box_*` methods
21
+ - Support `editable_combobox`, `radio_buttons`, and `group`
22
+ - Support `tab` and `tab_item`
23
+ - Fix issue with always setting menu item text to 'Version' (correctly set to passed argument instead)
24
+
25
+ ## 0.0.4
26
+
27
+ - Support examples/midi_player.rb
28
+ - Support `combobox` `items` attribute to append text value array declaratively
29
+ - Support `menu` and `menu_item` controls
30
+
31
+ ## 0.0.3
32
+
33
+ - Support examples/simple_notepad.rb
34
+
3
35
  ## 0.0.2
4
36
 
5
37
  - Support `vertical_box` and `horizontal_box`