At 11:00 AM 11/18/2002 -0500, Blake Winton wrote:
The hard-core Linux guys will hate me for this, but I think that's a pretty good idea. There aren't any TBMP editors on the P.C. (I looked while trying to figure out how to do this and test it.) My effort to build a test one came across with wavy horizontal lines through it... even though the source BMP is 4-color (Windows minimum) 16 w x 9 h.> Another option would be to directly use TBmp's inline, such as > big_icon_inline=\000\040\000\040\000\004\000\.. > small_icon_inline=\000\017\000\011\000\... > and then just add an extra "if" condition after the > "get_icon" function in PQAAppInfo.py of the > Python parser to check to see if there is a value for > big_icon_inline. If there is, use the > big_icon_inline value, else use the default icon. > > Any others want to weigh in their thoughts during the design stage?Sure, what the hell. ;) Perhaps we could have something in the .ini file that looked more like the icon itself? Something in the pbitm format from pilrc? I envision something like this: big_icon_inline: << END ------------#######------------- ----------###########----------- ---------#############---------- --------###############--------- -------#################-------- ------###################------- ------###################------- -----#####################------ -----#####################------ -----#####################------ -----#####################------ -----#####################------ -----#####################------ -----#####################------ ------###################------- ------###################------- -------#################-------- --------###############--------- ---------#############---------- ----------###########----------- ------------#######------------- -------------------------------- -------------------------------- -------------------------------- -------------------------------- -------------------------------- -------------------------------- -------------------------------- -------------------------------- -------------------------------- -------------------------------- -------------------------------- END (The "<< END" and "END" are just there because I don't know how to do multi-line attributes in .ini files.) It should be fairly obvious to even a Windows user what the icon that that picture generates will look like. ( ;) )
On the flip side, just because their mono now doesn't mean they always will be. All the application icons on my Palm IIIc except Plucker, Address, and Graffiti, are color. So an encoded binary is probably more portable and future-safe.
I had never used the icon feature until doing some testing this morning and am having trouble finding it documented in the Plucker docs. Sure, Desktop makes it easy to use, but...
1. Is the icon converted by Plucker or converted by Desktop prior to handing off to Plucker? (i.e. does PlkrData have to convert it if the source is non-TBMP?)
2. Why doesn't the custom document icon show in the Plucker library? It's showing (wavy lines not-withstanding) in the App Manager.
3. Is there some sanity checking I can do on the file format, assuming that the file should be saved as TBMP (i.e. assuming that the conversion is currently done by Desktop rather than by Plucker)?
-Tony McNamara-
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
