delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/09/09:51:44

From: wdhwang AT ms4 DOT hinet DOT net ()
Newsgroups: comp.os.msdos.djgpp
Subject: [Allegro3.0]Graphic question?
Date: 9 Jun 1998 13:39:11 GMT
Organization: DCI HiNet
Lines: 32
Message-ID: <6ljdtv$en7@netnews.hinet.net>
NNTP-Posting-Host: ms4.hinet.net
NNTP-Posting-User: wdhwang
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

    I am new user for Allegro 3.0. And I met some problems that
I cannot solve. Could someone help me to solve these?
    1. I set up graphic mode by using 
       set_gfx_mode(GFX_AUTODETECT, 640,480,640,960);
       I use (0,0) to (639,479) is display page. 
       And (0,480) to (639,959) is active page.
       But after I use VIRTUAL_H to check the virtual screen.
       The value of VIRTUAL_H is 1638, which is not equal 960.
       I don't know what happen???

    2. I have somewhere need use dash line, but I don't know
       how to draw it by use Allegro 3.0 ?
    3. I want reverse some display area, eg:
       original: foreground-yellow, background-black
       after reversing:
                 foreground-yellow, background-lightred color

    I hope some can give some suggestions.
    Thanks in advance !


--

						Sincerely yours
						Wen-Dwo Hwang 
==================================
Wen-Dwo Hwang
E-mail :
wdhwang AT ms4 DOT hinet DOT net
wdhwang AT csie DOT nctu DOT edu DOT tw
==================================

- Raw text -


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