/*****************************************************************************
*   Program to draw EE diagrams.					     *
*									     *
* This module print some status information.				     *
*									     *
* Written by:  Gershon Elber			IBM PC Ver 1.0,	Nov. 1989    *
*****************************************************************************/

#include <alloc.h>
#include <stdio.h>
#include "Program.h"
#include "EEStatus.h"

IntrCursorShapeStruct Cursor;

/*****************************************************************************
* Routine to print memory left in system.				     *
*****************************************************************************/
void PrintMemoryFree(void)
{
    char s[LINE_LEN];

    sprintf(s, "Core left = %ld", coreleft());

    Cursor.CursorType = INTR_CURSOR_ARROW;
    IntrQueryContinue(s, EEPopUpFrameColor, EEPopUpBackColor,
    		      EEPopUpForeColor, EEPopUpXorColor,
                      EEWindowsFrameWidth, &Cursor, INTR_WNDW_PLACE_CENTER);

}
