ImGradient isn't in README or example, so I guess it's not ready for use and very subject to change? I wanted to mess around with it anyway, but couldn't figure it out.
I assumed it would be a gradient editor like this one where you set key colors and it creates a gradient between each of them, but I could only get it to look like the top bar here:
You can slide the colors around (which changes their alpha value) and double click to add another one, but I don't see how you could edit any of them.
To give anyone else poking around a head start, I thought I'd share my (probably wrong) code.
ImGradient isn't in README or example, so I guess it's not ready for use and very subject to change? I wanted to mess around with it anyway, but couldn't figure it out.
I assumed it would be a gradient editor like this one where you set key colors and it creates a gradient between each of them, but I could only get it to look like the top bar here:
You can slide the colors around (which changes their alpha value) and double click to add another one, but I don't see how you could edit any of them.
To give anyone else poking around a head start, I thought I'd share my (probably wrong) code.
ImGradient Delegate implementation:
and it's invoked like this: