LAF for Tables broken in develop branch?
-
@Christoph-Hart Any chance we could get a fix for table LAF and also add waveform LAF? :folded_hands: :folded_hands: :folded_hands:
That would save me from needing to hard code it in the HISE files.
-
@Casey-Kolb I think the LAF was fixed already - https://github.com/christophhart/HISE/commit/9625f193544bf2fdf6716ffffbef9865f344b5c5
It's just the colour properties that aren't working when LAF is being used.
-
@d-healey Ah I see. I was looking at the develop branch. Is the new_layout branch production safe? I'm getting confused again with the branches
-
@Casey-Kolb said in LAF for Tables broken in develop branch?:
Is the new_layout branch production safe
I think so, although there has been some posts that exporting plugins isn't working.
-
@d-healey said in LAF for Tables broken in develop branch?:
@Casey-Kolb said in LAF for Tables broken in develop branch?:
Is the new_layout branch production safe
I think so, although there has been some posts that exporting plugins isn't working.
Nope... At least not on my system...
-
@UrsBollhalder said in LAF for Tables broken in develop branch?:
Nope... At least not on my system...
Are you on a Mac?
-
@d-healey erm... yes...
-
@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!