Re: Print Preview Version 0.32.

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Thu,  6 Nov 2003 21:18:25 +0000, Brian Broker <bkb at cnw.com> wrote:

>Curious, why is the tutorial limited to 1024x768 and 800x600 
>resolutions?  Doesn't seem particularly flexible to me...

Because I don't know any better blink

I've written this "off my own bat"; there don't appear to be any
examples in the archives for this soft of thing.

tutorial.ew has hard-coded "dialog commands" such as:

	 {25,M_Move,630,200,499,158},

which move the cursor to a specific point ({630,200} if running
1024x76, and {499,158} if running 800x600).

The math don't seem to work. Eg 630*1024/800=492, above, much worse
with menus, so actually it does not work (probably) if you have
large/normal/small font settings, and other annoyances...

The source of tutorial.ew is there, if you can give me any
suggestions, as to how I can write it in a more flexible way.

If you need any info you don't appear to have, let me know. 

Thanks,
Pete

PS another example of the math not working for me is A4 wide. On my
15" screen, I reckon that A4 on 640x480 is 500 pixels wide, on 800x600
it is 618 pixels wide, and on 1024x768, it is 779 pixels wide.

But 779*800/1024=608, and 779*640/1024=486. 14 pixels at that
resolution (as does 10 at 800x600) misses the control completely.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu