libui 0.0.1.alpha → 0.0.2.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libui/ffi.rb +24 -0
- data/lib/libui/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09456751242352f4fe59f4b7ddd7bf6edd03678a07a5dc8ec8be329315c1e8c8'
|
4
|
+
data.tar.gz: a3607f0af3721ff11af7701d788752a22aa9a27051d23c7217da7429372e6cfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c62aa930687976948eb9ae1320a07cd6cbd55cdc8b672a169b7edf40b80b9f510ec8ccc48f3382be9ceaa6cc97d5d463151d3a263608c3f1174cbcba1edc0b77
|
7
|
+
data.tar.gz: 304c0a45435553228fc459668e30d7404f0ac5353a1224ca1280ef25bbd748d56da7381ab8003030fdac42ee20f6419d20c9c0ec1275d60f646879371f039e83
|
data/lib/libui/ffi.rb
CHANGED
@@ -214,5 +214,29 @@ module LibUI
|
|
214
214
|
extern 'char *uiSaveFile(uiWindow *parent)'
|
215
215
|
extern 'void uiMsgBox(uiWindow *parent, const char *title, const char *description)'
|
216
216
|
extern 'void uiMsgBoxError(uiWindow *parent, const char *title, const char *description)'
|
217
|
+
|
218
|
+
# uiArea
|
219
|
+
extern 'void uiAreaSetSize(uiArea *a, int width, int height)'
|
220
|
+
extern 'void uiAreaQueueRedrawAll(uiArea *a)'
|
221
|
+
extern 'void uiAreaScrollTo(uiArea *a, double x, double y, double width, double height)'
|
222
|
+
extern 'void uiAreaBeginUserWindowMove(uiArea *a)'
|
223
|
+
typealias 'uiWindowResizeEdge', 'char' # FIXME: uint8
|
224
|
+
extern 'void uiAreaBeginUserWindowResize(uiArea *a, uiWindowResizeEdge edge)'
|
225
|
+
extern 'uiArea *uiNewArea(uiAreaHandler *ah)'
|
226
|
+
extern 'uiArea *uiNewScrollingArea(uiAreaHandler *ah, int width, int height)'
|
227
|
+
|
228
|
+
#
|
229
|
+
|
230
|
+
# uiFontButton
|
231
|
+
extern 'void uiFontButtonFont(uiFontButton *b, uiFontDescriptor *desc)'
|
232
|
+
extern 'void uiFontButtonOnChanged(uiFontButton *b, void (*f)(uiFontButton *, void *), void *data)'
|
233
|
+
extern 'uiFontButton *uiNewFontButton(void)'
|
234
|
+
extern 'void uiFreeFontButtonFont(uiFontDescriptor *desc)'
|
235
|
+
|
236
|
+
# uiColorButton
|
237
|
+
extern 'void uiColorButtonColor(uiColorButton *b, double *r, double *g, double *bl, double *a)'
|
238
|
+
extern 'void uiColorButtonSetColor(uiColorButton *b, double r, double g, double bl, double a)'
|
239
|
+
extern 'void uiColorButtonOnChanged(uiColorButton *b, void (*f)(uiColorButton *, void *), void *data)'
|
240
|
+
extern 'uiColorButton *uiNewColorButton(void)'
|
217
241
|
end
|
218
242
|
end
|
data/lib/libui/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2.alpha
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kojix2
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 1.3.1
|
104
104
|
requirements: []
|
105
|
-
rubygems_version: 3.
|
105
|
+
rubygems_version: 3.1.4
|
106
106
|
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: Ruby bindings to libui
|