home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / GRAPHICS / MISC / EEDRW23S.ZIP / EESTATUS.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-13  |  1.0 KB  |  31 lines

  1. /*****************************************************************************
  2. *   Program to draw EE diagrams.                         *
  3. *                                         *
  4. * This module print some status information.                     *
  5. *                                         *
  6. * Written by:  Gershon Elber            IBM PC Ver 1.0,    Nov. 1989    *
  7. *****************************************************************************/
  8.  
  9. #include <alloc.h>
  10. #include <stdio.h>
  11. #include "Program.h"
  12. #include "EEStatus.h"
  13.  
  14. IntrCursorShapeStruct Cursor;
  15.  
  16. /*****************************************************************************
  17. * Routine to print memory left in system.                     *
  18. *****************************************************************************/
  19. void PrintMemoryFree(void)
  20. {
  21.     char s[LINE_LEN];
  22.  
  23.     sprintf(s, "Core left = %ld", coreleft());
  24.  
  25.     Cursor.CursorType = INTR_CURSOR_ARROW;
  26.     IntrQueryContinue(s, EEPopUpFrameColor, EEPopUpBackColor,
  27.                   EEPopUpForeColor, EEPopUpXorColor,
  28.                       EEWindowsFrameWidth, &Cursor, INTR_WNDW_PLACE_CENTER);
  29.  
  30. }
  31.