Paint won't accept a palette file
Pages: 1 2
Andy S (2979) 504 posts |
I’m fairly certain it only looks at the primary colours. OK, there’s something seriously weird going on with the translation table in Paint then. It’s annoyingly hard to pin down, as it’s only apparent as an after-effect of this bug where Edit Palette was changing two of the colours. For example:
This all seems to go away when I fix the bug that changes two colours in the palette instead of one. It’s just weird and annoying that the translation table should end up with different colours at index 255 when the palette shouldn’t have changed between calls. I’ll stop obsessing about it too much. There are more important things to do. P.S. the forum seems to screw with square bracketed indices even inside a “pre” tag! Edit: Just corrected the first translation table value. I wrote this post in a hurry! |
Andy S (2979) 504 posts |
It’s just weird and annoying that the translation table should end up with different colours at index 255 when the palette shouldn’t have changed between calls. Causality is no longer being violated and the spacetime continuum is safe! It makes perfect sense now. RISC_OSLib’s dboxtcol colour picker calls the supplied event handler, Paint’s Apply_Colour() function, before RISC_OSLib alters the value at the colour pointer. So the palette did change between calls. Another case of insufficient coffee. :) |
Rick Murray (539) 13850 posts |
That’s where you’re going wrong. Everything is better with tea. ;)
|
Dave Higton (1515) 3534 posts |
Er, no. I discovered 30-odd years ago that the stuff makes me ill. I’ve been fuelled by coffee ever since. Aldershot… |
Andy S (2979) 504 posts |
Aldershot… |
Pages: 1 2