From 5cbc18c2c391e7cbf00ecc28d5ae91d6d5df122d Mon Sep 17 00:00:00 2001
From: Lars Kanis <kanis@comcard.de>
Date: Thu, 16 Feb 2012 13:42:15 +0100
Subject: [PATCH] Add quality parameter to FXJPGImage and FXJPGIcon

---
 rdoc-sources/FXJPGIcon.rb  | 3 ++-
 rdoc-sources/FXJPGImage.rb | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/rdoc-sources/FXJPGIcon.rb b/rdoc-sources/FXJPGIcon.rb
index 4fa3b2f..68587ea 100755
--- a/rdoc-sources/FXJPGIcon.rb
+++ b/rdoc-sources/FXJPGIcon.rb
@@ -31,8 +31,9 @@ module Fox
     # +opts+::	options [Integer]
     # +width+::	width [Integer]
     # +height+::	height [Integer]
+    # +quality+:: JPEG image quality [Integer]
     #
-    def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1) # :yields: theJPGIcon
+    def initialize(a, pix=nil, clr=0, opts=0, width=1, height=1, quality=75) # :yields: theJPGIcon
     end
   end
   #
diff --git a/rdoc-sources/FXJPGImage.rb b/rdoc-sources/FXJPGImage.rb
index ce8bae3..eb5a66e 100755
--- a/rdoc-sources/FXJPGImage.rb
+++ b/rdoc-sources/FXJPGImage.rb
@@ -30,8 +30,9 @@ module Fox
     # +opts+::	options [Integer]
     # +width+::	width [Integer]
     # +height+::	height [Integer]
+    # +quality+:: JPEG image quality [Integer]
     #
-    def initialize(a, pix=nil, opts=0, width=1, height=1) # :yields: theJPGImage
+    def initialize(a, pix=nil, opts=0, width=1, height=1, quality=75) # :yields: theJPGImage
     end
   end
 end
-- 
GitLab