LAF for Tables broken in develop branch?
-
@UrsBollhalder And you're using the new_layout branch?
-
@d-healey Yes... I got it to compile with the develop branch a couple of days ago. But not anymore since I've been switching to the new_layout!
-
@UrsBollhalder said in LAF for Tables broken in develop branch?:
But not anymore since I've been switching to the new_layout!
Right, we're talking about the new_layout branch
-
@d-healey Yes!!
-
@d-healey said in LAF for Tables broken in develop branch?:
I think so, although there has been some posts that exporting plugins isn't working.
Good to know. I'll give it a whirl.
-
plugin export should work now, tables and waveforms can be customized (still need to update the docs though).
-
@Christoph-Hart Thank you sir! Great stuff :)
-
@Casey-Kolb Have you played around with the LAF for waveforms yet?
-
@UrsBollhalder Just about to! Will report back.
-
@UrsBollhalder Seems to be working great so far. Looks like Christoph made a lot of improvements to waveform drawing in general. Thumbs up!
-
@Casey-Kolb How do you get it to gradient? I love gradients!!!
I mean how do you draw the actual waveform in the LAF function?PS: Have you checked the new color vec4 options as well?
-
@UrsBollhalder Gradients are definitely the way to go :) This is all you have to do:
laf.registerFunction("drawThumbnailPath", function(g, obj) { var a = obj.area; g.setGradientFill([0xCC0000FF, a[0], a[1], 0xCC00FF00, a[2], a[3]]); g.fillPath(obj.path, obj.area); });
PS: Have you checked the new color vec4 options as well?
Not yet but sounds intriguing!
-
@Casey-Kolb Thanks Casey... Weird... I tried the fillPath-thingie, but didn't get it to work this morning... Well... Thanks a lot! This is awesome!
-
@Casey-Kolb Casey thanks for the Code,
Wondering if the Tiny border is removable?
i just don't like the White line :/ -
@Natan I think these are the options you can use LAF with:
drawThumbnailBackground drawThumbnailText drawThumbnailPath drawThumbnailRange drawThumbnailRuler
You might also have to try
drawPath
inside thedrawThumbailPath
function? -
drawThumbnailBackground drawThumbnailText drawThumbnailPath drawThumbnailRange drawThumbnailRuler
@Casey-Kolb Is this available in old Master branch or only in the latest Develop branch?
-
Thanks a Lot @Casey-Kolb
Will give it a try now -
@DabDab No! it is Only Available on the new Layout Branch
-
@Natan That's correct. Christoph just added it a few days ago.
-
@Casey-Kolb going back to tables, and for audio waveforms too, do you use a method to differentiate between tables or are they all the same? i.e do an 'if (obj.text == myawesometable1)', else 'if (obj.text == myawesometable2)' etc
I never got it to work for tables...