libui 0.2.2-aarch64-linux → 0.3.0.pre-aarch64-linux
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/README.md +1 -5
- data/lib/libui/ffi.rb +9 -0
- data/lib/libui/version.rb +1 -1
- data/lib/libui.rb +4 -0
- data/vendor/libui.aarch64.so +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c574d66c9aed94a75cc4f6be9736d5dd7690a6cf2f782c0a4ef5f0da7e3665e7
|
|
4
|
+
data.tar.gz: fe67f24b496f5b5db00202e54a1414496a6f2997d9bbad250b686cb15a000b0b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4440a926c29fc84608e413e9a4bc1ce12cd399c948f0b514af7f201e2b94586c83b4155a088dd4cba4307522a1969b28c98eec5a68700a630c1f70bf0a274cf0
|
|
7
|
+
data.tar.gz: 6781e13639949e951110884515fb88f0f3124e8a1744b8e737c38c9bf2d6bf5fde2daec0ceaf87456ef8014669882bb8f729d5185fca8a274aa1c89db6a90a45
|
data/README.md
CHANGED
|
@@ -8,11 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
LibUI is a Ruby wrapper for libui family.
|
|
10
10
|
|
|
11
|
-
:rocket: [libui-ng](https://github.com/
|
|
12
|
-
|
|
13
|
-
:wrench: [libui-dev](https://github.com/petabyt/libui-dev) - Native UI library for C - with some extras
|
|
14
|
-
|
|
15
|
-
:radio_button: [libui](https://github.com/andlabs/libui) - Original version by andlabs.
|
|
11
|
+
:rocket: [libui-ng](https://github.com/kojix2/libui-ng) - A cross-platform portable GUI library
|
|
16
12
|
|
|
17
13
|
## Installation
|
|
18
14
|
|
data/lib/libui/ffi.rb
CHANGED
|
@@ -418,6 +418,7 @@ module LibUI
|
|
|
418
418
|
try_extern 'void uiDrawClip(uiDrawContext *c, uiDrawPath *path)'
|
|
419
419
|
try_extern 'void uiDrawSave(uiDrawContext *c)'
|
|
420
420
|
try_extern 'void uiDrawRestore(uiDrawContext *c)'
|
|
421
|
+
try_extern 'void uiDrawImage(uiDrawContext *c, uiImage *img, double x, double y, double width, double height)'
|
|
421
422
|
|
|
422
423
|
# uiAttribute
|
|
423
424
|
try_extern 'void uiFreeAttribute(uiAttribute *a)'
|
|
@@ -581,6 +582,14 @@ module LibUI
|
|
|
581
582
|
try_extern 'void uiFreeImage(uiImage *i)'
|
|
582
583
|
try_extern 'void uiImageAppend(uiImage *i, void *pixels, int pixelWidth, int pixelHeight, int byteStride)'
|
|
583
584
|
|
|
585
|
+
# uiImageView
|
|
586
|
+
try_extern 'uiImageView *uiNewImageView(void)'
|
|
587
|
+
try_extern 'void uiImageViewSetImage(uiImageView *iv, const uiImage *image)'
|
|
588
|
+
|
|
589
|
+
typealias 'uiImageViewContentMode', 'int'
|
|
590
|
+
|
|
591
|
+
try_extern 'void uiImageViewSetContentMode(uiImageView *iv, uiImageViewContentMode mode)'
|
|
592
|
+
|
|
584
593
|
# uiTable
|
|
585
594
|
try_extern 'void uiFreeTableValue(uiTableValue *v)'
|
|
586
595
|
|
data/lib/libui/version.rb
CHANGED
data/lib/libui.rb
CHANGED
data/vendor/libui.aarch64.so
CHANGED
|
Binary file
|