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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -0
- data/README.md +837 -27
- data/VERSION +1 -1
- data/examples/basic_entry.rb +1 -1
- data/examples/control_gallery.rb +184 -0
- data/examples/midi_player.rb +90 -0
- data/examples/simple_notepad.rb +15 -0
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/dsl/libui/control_expression.rb +1 -3
- data/lib/glimmer/dsl/libui/dsl.rb +1 -1
- data/lib/glimmer/dsl/libui/file_expression.rb +33 -0
- data/lib/glimmer/dsl/libui/open_file_expression.rb +33 -0
- data/lib/glimmer/dsl/libui/save_file_expression.rb +33 -0
- data/lib/glimmer/dsl/libui/tab_item_expression.rb +35 -0
- data/lib/glimmer/libui/about_menu_item_proxy.rb +37 -0
- data/lib/glimmer/libui/box.rb +4 -0
- data/lib/glimmer/libui/check_menu_item_proxy.rb +37 -0
- data/lib/glimmer/libui/combobox_proxy.rb +43 -0
- data/lib/glimmer/libui/control_proxy.rb +75 -22
- data/lib/glimmer/libui/editable_combobox_proxy.rb +43 -0
- data/lib/glimmer/libui/group_proxy.rb +35 -0
- data/lib/glimmer/libui/horizontal_box_proxy.rb +1 -1
- data/lib/glimmer/libui/menu_item_proxy.rb +41 -0
- data/lib/glimmer/libui/multiline_entry_proxy.rb +35 -0
- data/lib/glimmer/libui/non_wrapping_multiline_entry_proxy.rb +32 -0
- data/lib/glimmer/libui/preferences_menu_item_proxy.rb +37 -0
- data/lib/glimmer/libui/quit_menu_item_proxy.rb +62 -0
- data/lib/glimmer/libui/radio_buttons_proxy.rb +43 -0
- data/lib/glimmer/libui/separator_menu_item_proxy.rb +37 -0
- data/lib/glimmer/libui/tab_item_proxy.rb +66 -0
- data/lib/glimmer/libui/vertical_box_proxy.rb +1 -1
- data/lib/glimmer/libui/window_proxy.rb +3 -3
- data/lib/glimmer-dsl-libui.rb +2 -0
- metadata +25 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 602cf477d5809c99e64e46f2e51a66f1610364a28402b568cc6fe97cf5666115
|
4
|
+
data.tar.gz: 3a45bca62165d28c11d8f9ee9e0c281c986c499b9df9ffb889214cb4a2240974
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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`
|