Hi
It would be nice if we could access an array of the effective colors of the widget with my colors.
Cheers
Monte
my colors
my colors
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: my colors
@monte: This is quite a neat idea for now, until we sort out 'themeing' properly. I wonder if we need to be a little cleverer here, remembering that you can set a pattern or a color... The Canvas API unifies patterns, colors and gradients in a paint concept. A 'my colors' array is one option - however, I wonder if individual accessors would make more sense:
This would be quite a simple addition I think - and would be consistent with the idea of 'my font'.
Code: Select all
my text paint
my foreground paint
etc.
Re: my colors
Great! I think it would be a quite helpful addition and save having a diverse range of property names for things like text color and maintaining inheritance is always nice.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: my colors
@monte: This is implemented in PR: https://github.com/livecode/livecode/pull/3686
Re: my colors
Yay!
Your message contains 4 characters. The minimum number of characters you need to enter is 10.
Your message contains 4 characters. The minimum number of characters you need to enter is 10.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/