• R/O
  • HTTP
  • SSH
  • HTTPS

ruby-gtk3: Commit

Ruby GTK3移行後のメインリポジトリ


Commit MetaInfo

Revision3b5d90541a6836f38e064f0373072e8ef4f32a12 (tree)
Time2019-01-04 20:09:30
AuthorShyouzou Sugitani <shy@user...>
CommiterShyouzou Sugitani

Log Message

Prepare for Release of 5.0.8

Change Summary

Incremental Difference

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
11 Fri January 4 2019 Shyouzou Sugitani <shy@users.osdn.me>
2+ * バージョン5.0.8リリース.
23 * Ruby移植時のミスなどを修正した.
34 * 描画処理の負荷低減を「猫どりふ」、「きのこ」、"easyballoon"
45 まで拡大した.
--- a/lib/ninix/pix.rb
+++ b/lib/ninix/pix.rb
@@ -20,15 +20,14 @@ module Pix
2020
2121 def self.surface_to_region(surface)
2222 region = Cairo::Region.new()
23- data = surface.data
2423 width = surface.width
25- pix_na = NArray.to_na(data, NArray::BYTE)
24+ pix_na = NArray.to_na(surface.data, NArray::BYTE)
2625 pix_na.reshape!(4, pix_na.size / 4)
2726 alpha = pix_na[3, true]
2827 curr_y = -1
2928 start_x = -1
3029 end_x = -1
31- (alpha.ne 0).where.each {|i|
30+ alpha.where.each {|i|
3231 y = (i / width)
3332 x = (i % width)
3433 if start_x != -1
--- a/lib/ninix/version.rb
+++ b/lib/ninix/version.rb
@@ -18,7 +18,7 @@ module Version
1818 bindtextdomain("ninix-aya")
1919
2020 def self.NUMBER
21- '5.0.7'
21+ '5.0.8'
2222 end
2323
2424 def self.CODENAME
Show on old repository browser