home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / w / wgt3_ex.zip / MENUS.PRJ (.txt) < prev    next >
Borland C/C++ Project  |  1992-09-14  |  6KB  |  91 lines

  1. Turbo C Project File 
  2. C:\TC\BIN
  3. C:\TC\INCLUDE
  4. C:\TC\LIB
  5. d:\sb\voxkit\hello.voc d:\mod\hello.sam
  6. ~GREP
  7. -n+ $MEM(64) $NOSWAP $PROMPT $CAP MSG(GREP2MSG)void *.c 
  8. ~Turbo Assembler
  9. C:\TASM\TASM.EXE
  10. /ZI /O $TASM /M2
  11. Turbo ~Debugger
  12.  $EXENAME
  13. Turbo ~Profiler
  14. tprof
  15.  $EXENAME
  16. WGT3.LIB
  17. WGT\EXAMPLES\MENU\WGT3.LIB
  18. WGTMENU.LIB
  19. \EXAMPLES\MENU\WGTMENU.LIB
  20. MENUS.C
  21. WWGT\EXAMPLES\MENU\MENUS.C
  22. ..\..\..\INCLUDE\WGTMENU.H
  23. ..\..\..\INCLUDE\WGT.H
  24. MENUS.C
  25. FILESEL.H
  26. WGT.H
  27. ..\..\..\INCLUDE\DOS.H
  28. ..\..\..\INCLUDE\CONIO.H
  29. ..\..\..\INCLUDE\STDIO.H
  30. FILESEL.C
  31. ..\..\..\INCLUDE\WGTMENU.H
  32. ..\..\..\INCLUDE\WGT.H
  33. MENUS.C
  34. FILESEL.H
  35. WGT.H
  36. ..\..\..\INCLUDE\DOS.H
  37. ..\..\..\INCLUDE\CONIO.H
  38. ..\..\..\INCLUDE\STDIO.H
  39. FILESEL.C
  40.  same,incr,ctr,ctr2;
  41. int bb,i;
  42. long int same2,incr2;
  43. int rte;
  44. orig=ptr;
  45. ptr2=ptr;
  46.      width=wgetblockwidth(ptr2);
  47.      height=wgetblockheight(ptr2);
  48.   if (sx>ex) { i=sx; sx=ex; ex=i; }
  49.      incr=(float)(ex-sx+1)/width*2000;
  50. //     incr2=(float)(y2-y+1)/height*2000;
  51.      if (ex>bx)  lx=bx; else lx=ex;
  52.      if (sx<tx)  fx=tx; else fx=sx;
  53.      ctr=0;
  54.      same=0;
  55.      xx=sx;
  56.      ctr2=0;
  57.      same2=0;
  58.      base=0;
  59.      bb=0;
  60.      ptr2=orig+(base*width+4);
  61.      while (xx<=lx) {
  62.      if (xx>=tx)
  63.      {
  64.      hres[xx]=bb;
  65.      bb=0;
  66.      }
  67.      xx++;
  68.      ctr+=2000;
  69.      same+=incr;
  70.      if (incr<2000)
  71.      while (same<ctr) {
  72.        same+=incr;
  73.        ptr2++;
  74.      bb++;
  75.      } else
  76.      while ((same-ctr>999) & (xx<=lx)) {
  77.         if ((xx>=tx) & (yy>=ty) )
  78.        {
  79.         hres[xx]=bb;
  80.         bb=0;
  81.         }
  82.         xx++;
  83.         ctr+=2000;
  84.      ptr2++;
  85.      bb++;
  86.      }
  87.      xx=sx;
  88.      base=0;
  89.      ptr2=ptr;
  90.      for (xx=sx; xx<=ex; xx++)
  91.