Latest tip toolbar

5 posts / 0 new
Last post
atom
Offline
Last seen: 1 hour 1 min ago
Joined: 15 Feb 2007 - 10:36
Latest tip toolbar

There is something very wrong with rendering images in the latest tip. Notice the JUCE logo over one of the combos, this happens in my apps that uses button with custom Images, they are drawn in some weird greyscale mode and are placed all over the app window and are rescaled.

[attachment=0]juce_error.jpg[/attachment]

attachment: 
--------------------------- Ctrlr - http://ctrlr.org ---------------------------
Edited by: user1 on 15 Aug 2013 - 01:48
TheVinn
Offline
Last seen: 2 months 2 weeks ago
Joined: 29 Aug 2009 - 11:31
Re: Latest tip toolbar

1. What platform?

2. This is definitely a bug with the use of "pixelStride" in RenderingHelpers.h, it has all the signs

TheVinn
Offline
Last seen: 2 months 2 weeks ago
Joined: 29 Aug 2009 - 11:31
Re: Latest tip toolbar

Found it:

RenderingHelpers::TransformedImageFill was not updated to use pixelStride (sorry!)

Jules should I make the necessary changes and give you a link to the diff or do you want to do it? It's a fair bit of work, since it handles the various interpolation settings.

jules
Online
Last seen: 4 min 48 sec ago
Joined: 29 Apr 2013 - 18:37
Re: Latest tip toolbar

Quote:
Jules should I make the necessary changes and give you a link to the diff or do you want to do it?

If you could figure out a fix, that'd be great - I don't really have time to look at it myself right now.

TheVinn
Offline
Last seen: 2 months 2 weeks ago
Joined: 29 Aug 2009 - 11:31
Re: Latest tip toolbar

jules wrote:
If you could figure out a fix, that'd be great...

Here's the fix:

https://github.com/vinniefalco/JUCE/commit/95df8b55317e69adfe13f81515a029af3ae762c9

atom and others, any chance you could give this a test? It seems to work for me.

Thanks