[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] XaAES Gradients
On 08/09/2010 01:58 PM, Paul Wratt wrote:
>> This sounds like a real hack. Why go to all this trouble? it will only
>> make it impossible for atleast 95% of all users to modify the gradients
>> themselves.
>>
>> I have not studied how the gradients works in XaAES, but how complex can
>> it be? A gradient consists of a starting colour, a finishing colour and
>> a direction. That's it. It can easily be defined in xaaes.cnf if necessary.
>>
>> Jo Even
>>
> this is the point of why the gradients should added
No, this is why they shouldn't at this stage. Configuration by
copy/paste in source files is... well.. a hack. If the gradients can be
defined in xaaes.cnf (or perhaps a separate configuration file), you
won't have to add any gradients at all.
Something like this:
default_gradient = {500,100,100,1000,500,500}
v_slider_gradient = {1000,1000,1000,500,500,500}
h_slider_gradient = {500,500,500,1000,1000,1000}
button_gradient = {500,500,1000,500,500,500}
form_background_gradient = button_gradient
etc...
Quite crude, but this is just an example. The user defines the gradients
in a configuration file, and XaAES generates the actual gradients.
Jo Even