www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/25/09:39:06

Message-Id: <m104n20-000S2UC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: "Leonidas Papadopoulos" <leonidas AT freemail DOT gr>, djgpp AT delorie DOT com
Date: Mon, 25 Jan 1999 11:36:16 +0000
MIME-Version: 1.0
Subject: Re: TVISION
In-reply-to: <78ejo4$975$1@medousa.forthnet.gr>
X-mailer: Pegasus Mail for Windows (v2.54)
Reply-To: djgpp AT delorie DOT com

"Leonidas Papadopoulos" <leonidas AT freemail DOT gr> wrote:

> How can i set a differrent screen resolution in tvision?

1) If you start the program in a text mode (for example 132x60) the 
application will remain at this resolution.
2) From inside:

TProgram::application->setScreenMode(mode);

and then redraw the screen:

    TProgram::deskTop->setState(sfVisible,True);
    TProgram::deskTop->redraw();
    TProgram::application->redraw();

(other ways can be used, that's one).

mode could be one of the following:

                   new TSItem("8~0~x25",  // 0x003 8/9x16 VGA
                   new TSItem("80x~2~8",  // 0x103        VGA+scanlines
                   new TSItem("~8~0x35",  // 0x203
                   new TSItem("80x~4~0",  // 0x303
                   new TSItem("80x4~3~",  // 0x403 8x8
                   new TSItem("80x~5~0",  // 0x503 8/9x8
                   new TSItem("80x30",    // 0x703 8x16   VGA+tweaked
                   new TSItem("80x34",    // 0x803 8x14
                   new TSItem("90x30",    // 0x903 8x16
                   new TSItem("90x34",    // 0xA03 8x14
                   new TSItem("94x30",    // 0xB03 8x16
                   new TSItem("94x34",    // 0xC03 8x14
                   new TSItem("82x25",    // 0xD03 8x16 fonts
 
Or a BIOS mode, just test to see the results.

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://welcome.to/SetSoft
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019