delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/14/14:36:35

From: "Jon" <lennier AT online DOT no>
Newsgroups: comp.os.msdos.djgpp
Subject: ASCII GUI
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Message-ID: <57n86.4082$wt2.26425@news1.oke.nextra.no>
Date: Sun, 14 Jan 2001 20:31:02 +0100
NNTP-Posting-Host: 130.67.203.21
X-Complaints-To: news-abuse AT nextra DOT no
X-Trace: news1.oke.nextra.no 979500609 130.67.203.21 (Sun, 14 Jan 2001 20:30:09 MET)
NNTP-Posting-Date: Sun, 14 Jan 2001 20:30:09 MET
Organization: Nextra Public Access
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm fairly new to programming, and have just started writing a program in
DJGPP which uses
an ASCII GUI. The problem is that, it redraws the GUI very slow. Even on my
850 MHZ Athlon, I can see the cursor drawing up the GUI. Currently I use the
gotoxy(); function and cprintf(); to draw the GUI.
But when doing big redraws, it just become too slow, like on another program
I made, I used the ASCII character 219 to form a word, which I moved across
the screen. This was also terrible slow.
So, do anyone know of a better way to draw up ASCII graphics without using
the gotoxy and cprintf?

Jon


- Raw text -


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