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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26cb6f0a4c335c4c9f931abf064dbffff73fb8243e2220ccc6b592218bd29582
4
- data.tar.gz: 2ef6c15d482a526f8526c69b7594e3623a962de67be653bf141f38755606072a
3
+ metadata.gz: '09456751242352f4fe59f4b7ddd7bf6edd03678a07a5dc8ec8be329315c1e8c8'
4
+ data.tar.gz: a3607f0af3721ff11af7701d788752a22aa9a27051d23c7217da7429372e6cfe
5
5
  SHA512:
6
- metadata.gz: 2628a7dc6419399749a04384f211dafafa135917a54b98578b400c666d552cb698a5177a2bce5b6f5af4ce19c7ca982f72a44096f25946703220a18ec764fbf2
7
- data.tar.gz: 373ded59492ba9268635c96f0232f00a2c82f42f96c96e57d11ad54af357bc34170ab9cd66249f8937983ac20aa0a70e3dba4626f7009b88b97fd17de7013635
6
+ metadata.gz: c62aa930687976948eb9ae1320a07cd6cbd55cdc8b672a169b7edf40b80b9f510ec8ccc48f3382be9ceaa6cc97d5d463151d3a263608c3f1174cbcba1edc0b77
7
+ data.tar.gz: 304c0a45435553228fc459668e30d7404f0ac5353a1224ca1280ef25bbd748d56da7381ab8003030fdac42ee20f6419d20c9c0ec1275d60f646879371f039e83
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LibUI
4
- VERSION = '0.0.1.alpha'
4
+ VERSION = '0.0.2.alpha'
5
5
  end
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.1.alpha
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.0.3
105
+ rubygems_version: 3.1.4
106
106
  signing_key:
107
107
  specification_version: 4
108
108
  summary: Ruby bindings to libui