[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] gradients,FreeMiNT 1.18



On Sat, Jul 30, 2011 at 7:21 AM, Peter Slegg <p.slegg@scubadivers.co.uk> wrote:
> On Fri, 29 Jul 2011 09:00:18 , "Helmut Karlowski" <helmut.karlowski@ish.de> wrote:
>> Jo Even Skarstein wrote:
>>
>> > > so simply speaking, you change gradients= to match the .GRD file
>> > > (compiled binary)
>> >
>> > How is the binary produced? From a C file?
>>
>> Yes. Actually it's an .o-file.
>>
>> > This sounds complex... It's been a while since I looked at the gradient
>> > stuff in XaAES, but IIRC each gradient is defined in a simple struct. So
>> > it doesn't have to be more complex than creating an external application
>> > to define the gradients, same them in a binary format and then load these
>> > in XaAES. It would be a direct replacement of the compiled-in struct.
>>
>> gcc!
>>
>> > > I think Helmut has a good/working alternate solution, if XaAES is
>> >
>> > I don't know how Helmut's solution works. But if it requires gcc and make
>>
>> You need gcc or pure-c, not nessecarily make.
>>
>> > to compile the gradients then I think it's overkill... The gradients could
>> > even be defined in a text file like the keyboard-tables, and compiled to
>> > binary format using mktbl.
>>
>> To me the c-files for gradients are a lot easier to edit than the
>> keyboard-source-files, so that would not help much apart of the additional work/error-source.
>>
>> -Helmut
>>
>>
>
> I asked about a XaAES visual preview tool that could show widgets and
> gradients, I wasn't at all interested in a tool that would generate
> new ones. Will many people be creating new ones ?
>
I will be.. as I would like a nice black'n'green one to use with GentooMiNT

> However, if I was choosing way of defining a gradient and then converting
> it to a binary format for Xaaes I might have chosen an xml format. In fact
> XaAES could load the xml and generate the gradients itself on more powerful
> hardware.
>
> Regards,
>
> Peter
>
remember that XaAES needs to create an initial set of gradients at
compile time..

Paul