[Oberon] Oberon.OpenDisplay

Jörg Straube joerg.straube at iaeth.ch
Sat May 17 06:37:18 CEST 2014


Peter

Read chapter 4.6 in
http://www.inf.ethz.ch/personal/wirth/ProjectOberon/PO.System.pdf

Standard Oberon display has a User track on the left and a System track on the right.
W0 is the width of the User track, DW-W0 is the width of the System track.

br, Jörg

> Am 16.05.2014 um 21:44 schrieb <peter at easthope.ca>:
> 
> When a display is wider than 640 pixels, Oberon.OpenDisplay 
> opens the left boundary of the displayed area a distance to the 
> right of the y axis.  Specifically, Oberon.Mod has    
>    W0 := DW DIV 8 * 5;
>    IF W0 < 400 THEN W0 := 0 END;
>    OpenDisplay(W0, DW - W0, DH);
> 
> For example, if  DW = 1024 and DH = 768
> then W0 = 640 and 
>    OpenDisplay(640, 380, 768);
> is executed.
> 
> Why not just
>    OpenDisplay(0, 1024, 768);
> or, in general,  
>    OpenDisplay(0, DW , DH);
> for any size of display?
> 
> There must be a sound reason but it escapes me at present.
> 
> Thanks,                         ... Peter E.
> 
> -- 
> 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
> Tel +1 360 639 0202  http://carnot.yi.org/  Bcc: peter at easthope. ca
> 
> 
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/oberon/attachments/20140517/65c97249/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2334 bytes
Desc: not available
Url : https://lists.inf.ethz.ch/pipermail/oberon/attachments/20140517/65c97249/attachment.bin 


More information about the Oberon mailing list