glimmer-dsl-libui 0.1.4 → 0.1.5
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 +15 -0
- data/README.md +684 -215
- data/VERSION +1 -1
- data/examples/area_gallery.rb +36 -38
- data/examples/area_gallery2.rb +90 -92
- data/examples/area_gallery3.rb +39 -41
- data/examples/area_gallery4.rb +96 -98
- data/examples/basic_area2.rb +1 -1
- data/examples/basic_transform.rb +27 -0
- data/examples/dynamic_area.rb +1 -1
- data/examples/histogram.rb +119 -0
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/libui/arc.rb +1 -1
- data/lib/glimmer/libui/area_proxy.rb +21 -11
- data/lib/glimmer/libui/box.rb +1 -1
- data/lib/glimmer/libui/color_button_proxy.rb +67 -15
- data/lib/glimmer/libui/control_proxy.rb +4 -12
- data/lib/glimmer/libui/form_proxy.rb +1 -1
- data/lib/glimmer/libui/grid_proxy.rb +1 -1
- data/lib/glimmer/libui/matrix_proxy.rb +145 -0
- data/lib/glimmer/libui/parent.rb +36 -0
- data/lib/glimmer/libui/path_proxy.rb +14 -17
- data/lib/glimmer/libui/shape.rb +8 -9
- data/lib/glimmer/libui/transformable.rb +72 -0
- data/lib/glimmer/libui/window_proxy.rb +8 -1
- data/lib/glimmer/libui.rb +50 -0
- data/lib/glimmer-dsl-libui.rb +1 -0
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56c014bad471f47e7af8a1a36bd6e1642f613c5c5ff0371e16ccd037401831a0
|
4
|
+
data.tar.gz: adcbb03e5e80604fac25a6c167aefca3b451f6b5a9bc29bbc2679a6e19fce4fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65003a4c358b09c6ec0d2f5215245808af2f6510ea2901067b33363e918ee9b9713005546d0baf925a16ccb1ad490229217f1ed4ae8ec375085bb6d3770c1b5a
|
7
|
+
data.tar.gz: d2c5824d177dc82351857efe565f151711f34034b8522bef1045224728b805c3e9645f4098a448458564f3417981eab3c354c6d61299d8a96cf97bf56fa4a776
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,20 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.1.5
|
4
|
+
|
5
|
+
- Support examples/histogram.rb
|
6
|
+
- Support `color_button` `color=`/`set_color` setter
|
7
|
+
- Switch `color_button` `color` API to return a hash of `{:r, :g, :b, :a}` instead of an array for consistency with other libui APIs (like fill and stroke brush)
|
8
|
+
- Implement `color_button` fine-grained setters (e.g. `cg.red = 144`)
|
9
|
+
- Support hex colors in `color_button` (by passing an Integer 0xFFBBAA or String hex 'ffbbaa') and `path` `fill` and `stroke` (with `:color` key)
|
10
|
+
- Eliminate need for passing `area_draw_params` to `path` when declared underneath `area` `on_draw` listener
|
11
|
+
- Support `path` `transform` property for building `matrix` objects (either through `path { transform {operations} }` directly or through `m1 = matrix {operations}; path { transform m1 }` to reuse a matrix)
|
12
|
+
- Support `area` `transform` property for building `matrix` objects (either through `area { transform {operations} }` directly or through `m1 = matrix {operations}; area { transform m1 }` to reuse a matrix)
|
13
|
+
- Ensure `matrix` `rotate` method accepts degrees (not radians)
|
14
|
+
- Support `matrix` `multiply` method that accepts a `Glimmer::LibUI::MatrixProxy` object
|
15
|
+
- Support `matrix` `invertible?` property that returns a Boolean
|
16
|
+
- Automatically reparent an `area` that is added directly under `window` with `vertical_box`. This fixes issue with display of `area` added directly under `window` in Linux.
|
17
|
+
|
3
18
|
## 0.1.4
|
4
19
|
|
5
20
|
- Update examples/basic_table_progress_bar.rb with a listener
|