glimmer-dsl-libui 0.2.3 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -1
- data/README.md +550 -21
- data/VERSION +1 -1
- data/examples/basic_draw_text.rb +35 -37
- data/examples/basic_draw_text2.rb +68 -0
- data/examples/basic_table_color.rb +39 -0
- data/examples/custom_draw_text.rb +106 -0
- data/examples/custom_draw_text2.rb +120 -0
- data/glimmer-dsl-libui.gemspec +0 -0
- data/icons/glimmer.png +0 -0
- data/lib/glimmer/libui/attributed_string.rb +90 -4
- data/lib/glimmer/libui/control_proxy/color_button_proxy.rb +2 -1
- data/lib/glimmer/libui/control_proxy/column/background_color_column_proxy.rb +38 -0
- data/lib/glimmer/libui/control_proxy/column/checkbox_text_color_column_proxy.rb +82 -0
- data/lib/glimmer/libui/control_proxy/column/image_text_color_column_proxy.rb +50 -0
- data/lib/glimmer/libui/control_proxy/column/text_color_column_proxy.rb +50 -0
- data/lib/glimmer/libui/control_proxy/combobox_proxy.rb +18 -0
- data/lib/glimmer/libui/control_proxy/editable_column.rb +1 -0
- 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/table_proxy.rb +31 -11
- data/lib/glimmer/libui/control_proxy/text_proxy.rb +20 -5
- data/lib/glimmer/libui/control_proxy/triple_column.rb +45 -0
- data/lib/glimmer/libui.rb +1 -1
- metadata +14 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33e2f34a434ea4036e788ae6fee9b2329220f53b002357c5447cdf6d2421959b
|
4
|
+
data.tar.gz: d38442e11122157bb2aa1db6a7881a3bc0e353c40842ccfdc823a357cdf9a16e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0c9657f2d68852873bdbf8a294816a2bc684e5ca902e8c9c1d43d43ed0e313850ef127176470b29df0c000a4fe65465cc58948c0cfcdc182eef569c978fd72a
|
7
|
+
data.tar.gz: b13df322764b9bd8e4fd2259992d2eff0abe2ed1f4e7e144deb8d15d56ddaccd6eaaa78fa40715eaff89dddbd201a4a9f2f6d77fd9ab8692cbf325043161510e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,34 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.2.7
|
4
|
+
|
5
|
+
- New examples/basic_table_color.rb
|
6
|
+
- Support `background_color_column` for `table`
|
7
|
+
- Support `text_color_column` for `table`
|
8
|
+
- Support `checkbox_text_color_column` for `table`
|
9
|
+
- Support `image_text_color_column` for `table`
|
10
|
+
|
11
|
+
## 0.2.6
|
12
|
+
|
13
|
+
- Support `string` control property: `open_type_features`
|
14
|
+
- Auto-free attributed string objects from memory
|
15
|
+
|
16
|
+
## 0.2.5
|
17
|
+
|
18
|
+
- Support attributed `string` `underline_color` property (built-in enum symbols and custom color)
|
19
|
+
|
20
|
+
## 0.2.4
|
21
|
+
|
22
|
+
- Support examples/custom_draw_text.rb
|
23
|
+
- Support stable `text` control nestable under `area`
|
24
|
+
- Support `string` control property: `background`
|
25
|
+
- Support `string` control property: `font`
|
26
|
+
- Support `string` control property: `underline`
|
27
|
+
- Enhance `combobox` to accept `String` value for `selected` item instead of just `Integer` index
|
28
|
+
- Add `selected_item` read-only property to `combobox` to return selected item `String` value
|
29
|
+
- Fix `color` property support for `string` to accept 255-based rgb values
|
30
|
+
- Fix issue with alternating string colors in examples/basic_draw_text.rb
|
31
|
+
|
3
32
|
## 0.2.3
|
4
33
|
|
5
34
|
- Update examples/midi_player.rb to read sounds locally from gem
|
@@ -7,7 +36,7 @@
|
|
7
36
|
- Support dynamic `text` control to be called in `area` `on_draw` listener
|
8
37
|
- Support `text` control `default_font` property
|
9
38
|
- Support `string` control nestable under `text` to represent an attributed/unattributed string (depending on nestable properties)
|
10
|
-
- Support `string` control property `color`
|
39
|
+
- Support `string` control property: `color`
|
11
40
|
- Support enum symbols for `align` property of `text` control
|
12
41
|
- Support enum symbols for `:italic` font descriptor key (in addition to numbers)
|
13
42
|
- Support enum symbols for `:stretch` font descriptor key (in addition to numbers)
|