RE: [Plib-devel] Re: [PATCH] puListBox: don't use hard-coded colo rs
Brought to you by:
sjbaker
From: Fay J. F C. AAC/W. <joh...@eg...> - 2005-07-14 17:52:37
|
OK, I think you've settled the questions about the fonts. I fixed the "puListBox" color and mentioned that elsewhere. I actually work at two separate locations now, and the e-mails regarding "puSelectBox" and "puComboBox" are at the other location, so I can't get to them right now. I took a quick look at the "puComboBox" code and didn't see any colors mentioned, so I wasn't sure where to go with it. Perhaps we should simply change the "setColour" functions to flow the colors down to the subwidgets in the parent widget. John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 joh...@eg... -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Melchior FRANZ Sent: Thursday, July 14, 2005 12:15 PM To: pli...@li... Subject: [Plib-devel] Re: [PATCH] puListBox: don't use hard-coded colo rs Well, I wrote "It increases the space after j and f", and that's what it does. You can't decrease the space before a j and f, because, as one can easily see, they are already left aligned: { 3, 0, 0, 0, 64, 64, 64, 64, 64, 64,224, 64, 48, 0, 0, 0} ^^^ { 3,128, 64, 64, 64, 64, 64, 64, 64, 64, 64, 0, 64, 0, 0, 0} ^^^ I just increased the character width by one, thus introducing one zero bit at the right. (If the character would already have been 8 bits wide, then this would have meant to add 15 bytes per character. But why do you ask? All characters are left-aligned, and there's not enough gap after these two. I'd say the choice is somewhat limited. m. PS: what about the patch that this thread was originally about? The hardcoded puListBox colors. And, which color should we (ab)use for the puSelectBox and puComobBox input field? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ plib-devel mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-devel |