Thanks a bunch, I just omitted PG_SIZE and PG_SZMODE altogether and its rocking everywhere (: I hope something working tommorow, using another guys csv parser for now (GPL AFAIR, the license text in the file is same as pgui files), used in cvs2pdb and added one function to increase re-usability. His returns argv, argc style array of a single line of csv formatted text, I added which takes a filename and returns array of all its text. I hope no one tries to open a DNS server's name resolution list on a PDA ;) there's where I love GPL, I AM NOT RESPONSIBLE! even if it burns your truck. -tasnim -- Original Message -- From: Micah Dowty <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Send: 07:40 AM Subject: Re: [Pgui-devel] Pseudo-functional eye candy for PicoGUI On Mon, 13 August 2001, "Tasnim Ahmed" wrote: > > As I started coding a spreadsheet app during the weekend this is a cool help > that I'll get to my eyes trying to look at 160x160 (helio) with X running > under 1152 x862 or something close. > > 2x would be cool, can't wait to reach home :) If you need more than 2x, you should be able to modify one of the skins to use a 'scale' value greater than 2. > Tommorow is a national holiday and I plan getting the first version out. But > scrolling is giving too many segfaults :( and if horizontal scrolling is > planned for the near future... I will not put any hack to it rite now. I'm about to implement horizontal scrolling, and I'll make the scrollbars automatically disappear when they're not needed. This way we can just feel free to toss scrollbars onto everything and watch our apps remain useful at 64x64 or some other odd resolution :) Oh, and I think I know where the segfaults are coming from, so I'll try to clean that up too. > > I tried to use FontSize to use PG_SZMODE_PIXEL for adjusting row heights but > it always returned 13 ( my guess was PGDEFAULT as font ) so I tried getting > font from widget but failed too... aslo PG_WP_FONT while creating widgets > but failed too :( so I am just hitting helio for the time being. Can you give me an example of what you were trying? Since containers can automatically size now, I don't think it should be necessary to set the size explicitely. But, if you want to anyway it might be best to use the height of a button. You can retrieve that with "pgThemeLookup(PGTH_O_BUTTON,PGTH_P_HEIGHT)" > > -tasnim > > ----- Original Message ----- > From: Micah Dowty <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, August 13, 2001 12:04 PM > Subject: [Pgui-devel] Pseudo-functional eye candy for PicoGUI > > > > Quoting from the new README.skins: > > > > ------8<------ > > PicoGUI's SDL driver supports 'skins', configurations that make PicoGUI > > appear and act as if it is running on a handheld computer or other > embedded > > system. To use skins, you must have skin support for the sdlfb driver > > compiled in. Also, because the supplied skins use JPEG bitmaps you must > have > > the JPEG loader compiled in. All the *.conf files in the 'skin' directory > > are skin configuration files. To try the Agenda VR3 skin, for example: > > > > pgserver -nc skin/vr3.conf > > > > Currently skins only make pgserver look neat and help you design your > > application with an LCD's color constraints in mind. Skins already > simulate > > the backlight, and soon they will have support for the hardware buttons > and > > silkscreen area that many handhelds have. > > ------>8------ > > > > Currently pgserver has the following skins: > > - vr3 > > - vr3_large > > - helio > > - helio_large > > - chipslice > > > > The '_large' versions have a higher-res bitmap and 2x scaling. I didn't > bother with a chipslice_large, as that would be too big for most people's > monitors. Even vr3_large is a little unweildy at 1024x768 or less. > > > > Enjoy! > > > > > > -- > > Only you can prevent creeping featurism! > > > > > > _______________________________________________ > > Pgui-devel mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/pgui-devel > > -- Only you can prevent creeping featurism! ___________________________________ _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/pgui-devel
