[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] XaAES palette
Vincent Rivière, 23.01.2013 11:04:08:
On 23/01/2013 08:40, Helmut Karlowski wrote:
1) How can any palette affect the display in True Color modes?
It's the icons being in 8bit or less that have to match the palette.
Oh. This means that the icons inside .rsc files does not embed palette
information?
That would be the best, and it's supported by XaAES but I've never seen
any rsc-file that contains a palette.
It should always look the same, no matter what palette you select. Look
for remap_cicons and icn_pal_name in example.cnf, the wiki is quite
messy sometimes.
I'm a bit lost.
Actually, I would expect to see the right colors in the XaAES logo with
the default example.cnf. Currently it is blue with some white pixels,
this looks wrong.
I don't know how it's supposed to look.
Adding "palette = nvdi" seemed to fix the problem, but looking at the
other options you indicated, I don't know what is the right fix.
That should be ok in most cases, but if an icon was designed for a
different palette you can inform XaAES to remap the icon from the palette
given by icn_pal_name to the system-palette.
The effect can be seen here:
http://wiki.sparemint.org/images/Widgets1.gif
The window-widgets are obviously designed for NVDI, but in use was gem,
and not remapped, so it looks wrong.
Another good example is gemclip, that wants NVDI-palette, so it needs
app_options=icn_pal_name = nvdi.
icn_pal_name should contain the palette of the rsc-file, when both are
equal nothing will be done.
This also allows you to use any custom-palette as system-palette in 8bit
and below and the icons still look good.
Only the background-image is not remapped, that needs to be fixed.
I think some icons in XaAES are designed for gem, the taskmanager-icons
for example.
--
Helmut Karlowski