TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Andrew Clarke
from: Frank Adam
date: 1996-08-25 06:16:04
subject: Bars anyone ?

G'Day Andrew,
 
-=> Quoting Andrew Clarke to Frank Adam <=-
 AC> 21 Aug 96 08:53, Frank Adam wrote to All:
 
 > This is one cute way of making a progress bar and handling sequential 
 > data, probably the least recommended way too, as it's rather hungry :-)

 AC> Here's another -  have fun!  :-)
Did i mention i wrote mine left handed ? ;-)
And yes, i am having fun with the library.:) 

I've gone back to doing the window lib in C now. Happy to say i'm passed 
Mikko's hangup. 
Wannasee ?? It still needs a lot of work and optimizing :-) 
So far it supports: max,min,writebehind,move,hide,show. Basically it's 
almost ready as a message window library.

Attractions to come: resize,user input,scroll bars,menu bar, godknows.
  
Made an extra function for vioImage too , it's just a realloc version of 
init.

int vioImageResize(VIOIMAGE * v, char width, char height)
{
 v->image = (char*) realloc(v->image,(width * height * 2));

 if (v->image)
 {
  v->width = width;
  v->height = height;
  return 1;
  }
 else
 {
  return 0;
  }
}

Actually that should use a dummy first, so if realloc fails the original 
remains intact, so the window could just get told to stay as is.

I hate to say, but by the time i'm finished there may be a few functions 
added to vidmgr, which(if you don't like them) may make my code 
incompatible.

  L8r Frank (fadam{at}ozemail.com.au).
  
___ Blue Wave/DOS v2.21

--- Maximus 3.01
* Origin: The Software Parlour (3:635/544)
SEEN-BY: 50/99 620/243 623/630 632/349 635/503 544 727 711/401 409 410 413
SEEN-BY: 711/430 808 809 932 934 712/515 713/888 714/906 800/1
@PATH: 635/544 50/99 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.