libui-ruby 1.0.0 → 1.0.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ext.rb +0 -24
  3. data/lib/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d137fc4cefa74b9f774b7de75a7396206f79f592
4
- data.tar.gz: a69ea2dc9859d08bf064c8821bfa3da485b1b6e8
3
+ metadata.gz: 43968892a429fc0229a79b390be599c0c9b81abc
4
+ data.tar.gz: c95ef90f3624e5d2f74421d8bcf2ab28f698f44b
5
5
  SHA512:
6
- metadata.gz: f2399a35758784a763c52bd79101d120aa55cda26bb933e8cd67fbe779ec5a83e82dd7bc9dd4011e5a93e9809c92fa859991983105ba160f44cc099ad6784426
7
- data.tar.gz: d458c29f873ec5cf468932a48498ca284d09df6adcf8822be373f46f8cc812cdf1d9f02fec3e8458d45cd1c75613e3ae3e0db35a45533f830bf42a3323670c2e
6
+ metadata.gz: a4c54bba0991c523a0f2268df862295e94c0fa108f3d3e65c25996c87b35557f57c3da3d8a239c4126ae0e1905c568bd6cd384496af2556ac2040d0952d00f8d
7
+ data.tar.gz: 9332621a0ab84a4dc4fa4245e1a776de7eea6ff6be9b95221fa58e10c1db2d8a7f8587588892286641ef67df77e94c6cd44b5aba6e13ddd238a152fa48a30b6c
data/lib/ext.rb CHANGED
@@ -463,19 +463,6 @@ module LibUI
463
463
  attach_function :uiDrawSave, [DrawContext], :void
464
464
  attach_function :uiDrawRestore, [DrawContext], :void
465
465
 
466
- attach_function :uiDrawListFontFamilies, [], FontFamilies
467
- attach_function :uiDrawFontFamiliesNumFamilies, [FontFamilies], :uintmax_t
468
-
469
- attach_function :uiDrawFontFamiliesFamily, [FontFamilies, :uintmax_t], :char
470
- attach_function :uiDrawFreeFontFamilies, [FontFamilies], :void
471
-
472
- # TODO example ...
473
- attach_function :uiDrawLoadClosestFont, [FontDescriptor], TextFont
474
- attach_function :uiDrawFreeTextFont, [TextFont], :void
475
- attach_function :uiDrawTextFontHandle, [TextFont], :uintptr_t
476
- attach_function :uiDrawTextFontDescribe, [TextFont, FontDescriptor], :void
477
- attach_function :uiDrawTextFontGetMetrics, [TextFont, FontMetrics], :void
478
-
479
466
  attach_function :uiDrawNewTextLayout, [
480
467
  :string, # text
481
468
  TextFont, # defaultFont
@@ -483,23 +470,12 @@ module LibUI
483
470
  ], TextLayout
484
471
 
485
472
  attach_function :uiDrawFreeTextLayout, [TextLayout], :void
486
- attach_function :uiDrawTextLayoutSetWidth, [TextLayout, :double], :void #width
487
473
  attach_function :uiDrawTextLayoutExtents, [
488
474
  TextLayout,
489
475
  :double, #width
490
476
  :double #height
491
477
  ], :void
492
478
 
493
- attach_function :uiDrawTextLayoutSetColor, [
494
- TextLayout,
495
- :intmax_t, #startChar
496
- :intmax_t, #endChar
497
- :double, #r
498
- :double, #g
499
- :double, #b
500
- :double, #a
501
- ], :void
502
-
503
479
  attach_function :uiDrawText, [
504
480
  DrawContext,
505
481
  :double, #x
@@ -1,3 +1,3 @@
1
1
  module LibUI
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libui-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Cook