PDA

View Full Version : HiRes Constructor ??


Token User
03-01-2003, 01:32 PM
I am embarking on my first Clie app (programmed wireless comms using PalmVII and Visor in the past), but am unable to find anything that will allow me to build a Hires screen.

I use Codewarrior (currently on version 7.0 - targetting OS4/5 devices, so this should not be a problem).

The Constructor (1.8.1) only allows 160x160 screen size.

What about 320x320, or even better 320x480??

Do I need to (shudder) manually create the resource file? or are there tools that will allow me to do this via a GUI layout tool??

Help?:confused:

CliePet
03-10-2003, 06:26 PM
> ...The Constructor (1.8.1) only allows 160x160 screen size.

That's what you should do, lay it out in 160x160 resolution

When your program starts up, it will be in lores mode. Switch to hi-res mode, and the 160x160 resources will look correct.

You will lack the ability to layout control on odd number pixels, but I hope that isn't a problem ;->
---

Getting the extra 160 pixels of height for a 320x480 screen is more difficult (for a number of reasons). You should probably do this as special case dynamic code so you can handle the case when the Silk area is present or not.

Token User
03-10-2003, 06:33 PM
Actually, I was hoping to use the forms editor to layout a dialog box that extended beyond the standard 160x160 (or 320x320 in Hires mode - the smoother fonts do look good like that anyway), move into something targetted at the 320x480 screen resolution of the NR/NX/NZ devices without going down the hand coded resources route.

Existing dialogs for my app are looking good, I just have a form that I had to split into two because there were too many options on a single 160x160 display without looking over crowded, and making an "extended" form would have given me more than enough room to play with.

Such is life. All previous apps of mine were targetting OS 3.0, mono 160x160 displays. Hitting the N/NX/NZ is just a new beast for me to get my programming head around.