[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] SF.net SVN: supercollider:[8328] trunk/Source/app/SCView.M
Revision: 8328
http://supercollider.svn.sourceforge.net/supercollider/?rev=8328&view=rev
Author: ctrl-t
Date: 2008-12-29 21:27:51 +0000 (Mon, 29 Dec 2008)
Log Message:
-----------
fixed SCRangeSlider for relativeOrigin
Modified Paths:
--------------
trunk/Source/app/SCView.M
Modified: trunk/Source/app/SCView.M
===================================================================
--- trunk/Source/app/SCView.M 2008-12-29 21:05:38 UTC (rev 8327)
+++ trunk/Source/app/SCView.M 2008-12-29 21:27:51 UTC (rev 8328)
@@ -2257,11 +2257,12 @@
void SCRangeSlider::draw(SCRect inDamage)
{
calcRangeRect();
+ SCRect bounds = getDrawBounds();
CGContextRef cgc = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];
CGContextSaveGState(cgc);
- CGRect cgBounds = SCtoCGRect(mBounds);
+ CGRect cgBounds = SCtoCGRect(bounds);
if (mBackground) mBackground->draw(cgc, cgBounds);
if (mBackgroundImage)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/