glimmer-dsl-libui 0.2.2 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/README.md +559 -16
- data/VERSION +1 -1
- data/examples/basic_draw_text.rb +65 -0
- data/examples/basic_draw_text2.rb +68 -0
- data/examples/custom_draw_text.rb +106 -0
- data/examples/custom_draw_text2.rb +120 -0
- data/examples/midi_player.rb +1 -1
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/dsl/libui/control_expression.rb +0 -1
- data/lib/glimmer/dsl/libui/property_expression.rb +3 -1
- data/lib/glimmer/dsl/libui/string_expression.rb +48 -0
- data/lib/glimmer/libui/attributed_string.rb +176 -0
- data/lib/glimmer/libui/control_proxy/area_proxy.rb +1 -1
- data/lib/glimmer/libui/control_proxy/color_button_proxy.rb +2 -1
- data/lib/glimmer/libui/control_proxy/combobox_proxy.rb +18 -0
- data/lib/glimmer/libui/control_proxy/font_button_proxy.rb +3 -3
- data/lib/glimmer/libui/control_proxy/open_type_features_proxy.rb +53 -0
- data/lib/glimmer/libui/control_proxy/open_type_tag_proxy.rb +59 -0
- data/lib/glimmer/libui/control_proxy/path_proxy.rb +0 -2
- data/lib/glimmer/libui/control_proxy/text_proxy.rb +173 -0
- data/lib/glimmer/libui.rb +15 -5
- metadata +11 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c673025a7a4676538178064f6fb3db7c98eb35f2c2b8c0bf7eb75627d4810309
|
4
|
+
data.tar.gz: b3c7a7c67edc0566e542cbdad854a5340cba70c61ac36611a5279095b7710248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49254ae087358b968b0479dd4ccc1909e03e532e8ad3671432dedd96079d7487f9fb7bdfd3f3f20edd53475389e0553b4676f7fceacd04b130444914254afcd9
|
7
|
+
data.tar.gz: f40187fed7f069bf214c16b287b87848e9815a79c72ddb78dd47f9df567d40ceef432dc800ba74ee7247d6f1a0a32e81b65d863e860f2ccec7ea6c20d11a97eb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,39 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.2.6
|
4
|
+
|
5
|
+
- Support `string` control property: `open_type_features`
|
6
|
+
- Auto-free attributed string objects from memory
|
7
|
+
|
8
|
+
## 0.2.5
|
9
|
+
|
10
|
+
- Support attributed `string` `underline_color` property (built-in enum symbols and custom color)
|
11
|
+
|
12
|
+
## 0.2.4
|
13
|
+
|
14
|
+
- Support examples/custom_draw_text.rb
|
15
|
+
- Support stable `text` control nestable under `area`
|
16
|
+
- Support `string` control property: `background`
|
17
|
+
- Support `string` control property: `font`
|
18
|
+
- Support `string` control property: `underline`
|
19
|
+
- Enhance `combobox` to accept `String` value for `selected` item instead of just `Integer` index
|
20
|
+
- Add `selected_item` read-only property to `combobox` to return selected item `String` value
|
21
|
+
- Fix `color` property support for `string` to accept 255-based rgb values
|
22
|
+
- Fix issue with alternating string colors in examples/basic_draw_text.rb
|
23
|
+
|
24
|
+
## 0.2.3
|
25
|
+
|
26
|
+
- Update examples/midi_player.rb to read sounds locally from gem
|
27
|
+
- Support examples/basic_draw_text.rb
|
28
|
+
- Support dynamic `text` control to be called in `area` `on_draw` listener
|
29
|
+
- Support `text` control `default_font` property
|
30
|
+
- Support `string` control nestable under `text` to represent an attributed/unattributed string (depending on nestable properties)
|
31
|
+
- Support `string` control property: `color`
|
32
|
+
- Support enum symbols for `align` property of `text` control
|
33
|
+
- Support enum symbols for `:italic` font descriptor key (in addition to numbers)
|
34
|
+
- Support enum symbols for `:stretch` font descriptor key (in addition to numbers)
|
35
|
+
- Support enum symbols for `:weight` font descriptor key (in addition to numbers)
|
36
|
+
|
3
37
|
## 0.2.2
|
4
38
|
|
5
39
|
- Automatically add `vertical_box` parent to `area` if it did not have a box parent (otherwise, it seems not to show up on Linux, even when directly under `grid`)
|