Re: [fpc-devel] CreateGrayScalePalette exception

2008-06-29 Thread Vincent Snijders
Michael Van Canneyt schreef: On Fri, 27 Jun 2008, Paul Ishenin wrote: Hello, FPC developers' list. CreateGrayScalePalette raises an exception. The problem is that palette is created with count = 0 and every color assigment increase color count. I dont know why it is done so but as result

Re: [fpc-devel] CreateGrayScalePalette exception

2008-06-29 Thread Michael Van Canneyt
On Sun, 29 Jun 2008, Vincent Snijders wrote: Michael Van Canneyt schreef: On Fri, 27 Jun 2008, Paul Ishenin wrote: Hello, FPC developers' list. CreateGrayScalePalette raises an exception. The problem is that palette is created with count = 0 and every color assigment

Re: [fpc-devel] CreateGrayScalePalette exception

2008-06-27 Thread Michael Van Canneyt
On Fri, 27 Jun 2008, Paul Ishenin wrote: Hello, FPC developers' list. CreateGrayScalePalette raises an exception. The problem is that palette is created with count = 0 and every color assigment increase color count. I dont know why it is done so but as result you cannot assign palette

[fpc-devel] CreateGrayScalePalette exception

2008-06-26 Thread Paul Ishenin
Hello, FPC developers' list. CreateGrayScalePalette raises an exception. The problem is that palette is created with count = 0 and every color assigment increase color count. I dont know why it is done so but as result you cannot assign palette colors from highier indexes to lower. It is not