Okay, that's what I thought. But it never hurts to ask anyway. ;)
Here goes:
diff --git a/Rakefile b/Rakefile
index 8995240..fa16c59 100644
--- a/Rakefile
+++ b/Rakefile
@@ -23,6 +23,10 @@ unless ENV['MSVC'] or ENV['DDKBUILDENV']
ENV['MSVC'] = ENV['MSVCDir']
elsif ENV['VS71COMNTOOLS']
ENV['MSVC'] = File.expand_path("../../Vc7", ENV['VS71COMNTOOLS'])
+ elsif ENV['VS80COMNTOOLS']
+ ENV['MSVC'] = File.expand_path("../../Vc", ENV['VS80COMNTOOLS'])
+ elsif ENV['VS90COMNTOOLS']
+ ENV['MSVC'] = File.expand_path("../../Vc", ENV['VS90COMNTOOLS'])
elsif ENV['VCToolkitInstallDir']
ENV['MSVC'] = ENV['VCToolkitInstallDir']
end
diff --git a/shoes/ruby.c b/shoes/ruby.c
index a9c83b9..3ed4297 100644
--- a/shoes/ruby.c
+++ b/shoes/ruby.c
@@ -894,10 +894,14 @@ shoes_image_remove(VALUE self)
SETUP(shoes_##type, REL_CANVAS, \
(imw = cairo_image_surface_get_width(surf)), \
(imh = cairo_image_surface_get_height(surf))); \
+ double r = 0.; \
+ r = ATTR2(dbl, self_t->attr, radius, 0.); \
if (RTEST(actual)) \
{ \
cairo_save(canvas->cr); \
cairo_translate(canvas->cr, place.ix + place.dx, place.iy + place.dy);
\
+ shoes_cairo_rect(canvas->cr, 0, 0, place.iw, place.ih, r); \
+ cairo_clip(canvas->cr); \
shoes_apply_transformation(canvas, self_t->tf, place.ix + place.dx,
place.iy + place.dy, \
place.iw, place.ih, self_t->mode); \
if (place.iw != imw || place.ih != imh) \
That's it.
Basically:
* Rakefile: added support for the Visual Studio 2005 and Visual Studio 2008
environments
* ruby.c: image will now take :radius styling into account
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phlip
Sent: woensdag 7 mei 2008 23:05
To: [email protected]
Subject: SPAM-HIGH: Re: Some small changes
Tom Adriaenssen wrote:
> Can I get those changes into the current revision, and how would I do
that?
make sure you have the latest source
add your two changes
git diff >myshoe.txt
paste myshoe.txt into a post
post it here!