On Sat, 08 Nov 2008, Szak�ts Viktor wrote:

Hi Viktor,

> 2008-11-08 12:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
>   * source/rtl/gtwvt/gtwvt.c
>     * hb_gt_wvt_ResetWindowSize(): Not very good looking (or 
>       overly efficient) solution added for the windows 
>       resize/positioning problem in case the initally set size 
>       cannot fit on the screen (Windows desktop).

All this stuff with font/window resizing broke WINCE support.
It will have to be changed.
Probably we should start by adding support for scrollable window
view area. At startup we should calculate maximum console window
size for default font and change screen buffer to this size. On small
screens like in PocketPC current code seems to end choosing font
to small for OS and application crashes. The internal code for
resizing should be changed because now the same operations are
repeated many times at startup and on each setmode() call.
Just simply the original code was not designed for some operations
which was added later in a little bit dirty way to make it working.
Now we have all conditions which we should support and the main
algorithm should be redesigned for them.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to