Re: [Plib-devel] Re: [PATCH] puListBox: don't use hard-coded colo rs
Brought to you by:
sjbaker
From: Melchior F. <mf...@us...> - 2005-09-15 18:58:25
|
On Thu, Sep 15, 2005 at 11:56:36AM -0500, Fay John F Contr AAC/WMG wrote: > The "PUCOL_MAX" is used for an array > dimension and as such is not available to be a separate color. lol ... I know, of course. I just mentioned it because it shows that the system is prepared to have further colors added. :-) > We could presumably increase it from six to seven and add a > new PUCOL constant ("PUCOL_INPUTAREA"?) That's what I had in mind as the clean solution, but wasn't sure if it would be OK, because ... > without breaking any backward compatibility. Not if you use this only for the combo and the select box. But, to be consistent, you'd also have to use it for the input box. And then it /does/ break compatibility. Hence my concerns. Or could we add the new color constant as /additional/ input field color for the input object (and possibly depreciate the old one after a while)? m. |