I have had this class around for ages and in fact stopped using it a while back, opting instead for more minimalist approach to styling, but I noticed the topic popped up again on the newsgroups and in skype chat so figured it was worth a share!
- It requires that you are using ABC. It shouldn’t be hard to decouple from the WindowComponent, it’s just a convenience for simple implementation!
- You would probably also want to add the correct link/dll flags if you are going to use it in a multi-dll scenario.
- It does not do everything but was sufficient for my needs at the time, hopefully it is useful to someone!
</disclaimer>
- Pull Requests welcomed!!! (repo is linked below)
Implementation is dead simple:
Gradient.Init(SELF, GRADIENT_FILL_RECT_H, 000b5f8h, 0bbeafch)
That’s it!
Result is:
Mmmm…
Classes are found in the Fushnisoft ClarionClasses github repo.
- Example solution is in the \GradientExample sub directory.
- Classes are found in the \_classes sub directory.
- Your best bet is to clone the whole repo and go from there.