Just wanted to find out if this is something I did wrong in the build options, or an actual bug:
On OS X the order of color components specified in XML files is RRAABBGG, instead of AARRGGBB.
It is not a very noticeable bug, because I have only found one place it causes any trouble:
In 'TaharezLook.looknfeel' the text color for Tooltips is specified as FF000000, which displays as red with an alpha of zero, i.e. it doesn't show, after a lot of bug hunting I found the order thing, so it works fine as 00FF0000, which displays correctly as black.
Is this a bug, or just a bad compile option? Is it specific to OS X?
Any thoughts would be welcome.
Thanks,
SwiftCoder
Possible Bug: wrong color ordering on OS X
Moderators: CEGUI MVP, CEGUI Team
- SwiftCoder
- Just popping in
- Posts: 3
- Joined: Sat Sep 17, 2005 16:48
- Location: US Virgin Islands
Possible Bug: wrong color ordering on OS X
Here's to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes, the ones who see things differently.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Possible Bug: wrong color ordering on OS X
Hi
Sounds to me like some kind of endian related bug
Sounds to me like some kind of endian related bug
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Possible Bug: wrong color ordering on OS X
yes, there is a bug somewhere with the colours
when i try to set the same color from the xml and from the code, the result on the screen is not the same, and thats often not what it should be.
i had a lot of irl problems so i stopped to work on this (and also on the new xcode project) but i will try to find where is the error soon (by trying the same things on macosx and linux)
when i try to set the same color from the xml and from the code, the result on the screen is not the same, and thats often not what it should be.
i had a lot of irl problems so i stopped to work on this (and also on the new xcode project) but i will try to find where is the error soon (by trying the same things on macosx and linux)
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 4 guests