glimmer-dsl-libui 0.2.23 → 0.3.2
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 +22 -0
- data/README.md +611 -93
- data/VERSION +1 -1
- data/bin/girb +0 -0
- data/examples/basic_image.rb +19 -0
- data/examples/basic_image2.rb +13 -0
- data/examples/basic_image3.rb +23 -0
- data/examples/basic_image4.rb +17 -0
- data/examples/basic_image5.rb +75 -0
- data/examples/basic_table_color.rb +1 -11
- data/examples/basic_table_color2.rb +39 -0
- data/examples/basic_table_image.rb +2 -14
- data/examples/basic_table_image2.rb +44 -0
- data/examples/basic_table_image_text.rb +2 -13
- data/examples/basic_table_image_text2.rb +44 -0
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/dsl/libui/control_expression.rb +1 -1
- data/lib/glimmer/libui/control_proxy/area_proxy.rb +1 -0
- data/lib/glimmer/libui/control_proxy/column.rb +2 -2
- data/lib/glimmer/libui/control_proxy/image_part_proxy.rb +0 -1
- data/lib/glimmer/libui/control_proxy/image_proxy.rb +159 -12
- data/lib/glimmer/libui/control_proxy/table_proxy.rb +15 -2
- data/lib/glimmer/libui/control_proxy/window_proxy.rb +1 -1
- data/lib/glimmer/libui/control_proxy.rb +7 -7
- data/lib/glimmer/libui/image_path_renderer.rb +30 -0
- data/lib/glimmer/libui.rb +1 -0
- metadata +27 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ed68bb2e66a4360184bea96a6fcfdfc4a13bdab5bb18861c536250b2e877a84
|
4
|
+
data.tar.gz: 5d17577d31c8d1ad76f7e1c05acfbfb92c02ba70371a25907ebce882a177a2d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 119b53a76cfe2c401087e8199b2625e527241911d04b6952ff161eae743e18dce8a7e4ea05ade7cb5ecb4753db8b48d7df7e5a52c09eb21e5eee186d1bccd833
|
7
|
+
data.tar.gz: 5236ce0bd94c52a1d25ea60587221e6ec8fe352f8a3e7e6abe48980b430fd1002256dd1b85ece3c6c6300a77955156e82445be58767197747fa1b82073b080e4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.3.2
|
4
|
+
|
5
|
+
- Fix issue with attempting to free `image` as an object from memory by mistake when used as a control (not an object for `table`)
|
6
|
+
|
7
|
+
## 0.3.1
|
8
|
+
|
9
|
+
- Support building `image_column` `image` objects in a `table` via `file` property (simplify through automation of use of `image_part` for `.png` image files given that `chunky_png` is now included in the gem)
|
10
|
+
- Support Web URL as `image` control `file` property
|
11
|
+
- Add `key_code` as alias to `key_value` in `area_key_event` `Hash`
|
12
|
+
- Fix issue with editing `text_color_column` in `table` having `editable true` property
|
13
|
+
- Fix issue with editing `checkbox_text_column` text in `table` having `editable true` or `editable_text true` property
|
14
|
+
|
15
|
+
## 0.3.0
|
16
|
+
|
17
|
+
- Upgrade to glimmer 2.4.1
|
18
|
+
- Add `chunky_png` gem to support `.png` images natively
|
19
|
+
- New `image` Glimmer custom control that can be nested under `area` to render an image (it is not part of LibUI, so it has some performance caveats, but is better than nothing and is fast with smaller image width/height)
|
20
|
+
|
21
|
+
## 0.2.24
|
22
|
+
|
23
|
+
- Support hex colors as `String` with `'#'` prefix (e.g. '#ffaa92')
|
24
|
+
|
3
25
|
## 0.2.23
|
4
26
|
|
5
27
|
- Improve examples/tetris.rb by having high score dialog pause the game if running and resume after closed
|