home *** CD-ROM | disk | FTP | other *** search
/ C++ Games Programming / CPPGAMES.ISO / thx / demos / mfighter / build / ndisplay.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-16  |  530 b   |  26 lines

  1. #ifndef NDISPLAY_H
  2. #define NDISPLAY_H
  3. //-----------------------------------------------------------------
  4.  
  5. #include "perform.h"
  6.  
  7. class NumericDisplay : public Performer
  8.   {
  9. public:
  10.   NumericDisplay(Director*,char* lib,int initvalue,int maxdigits,int x,int y);
  11.   void update();   
  12.   void set(int value);
  13. private:
  14.   void initialize();
  15. private:
  16.   int init_flag;
  17.   int value;
  18.   int x,y;
  19.   int h,w;
  20.   int max;
  21.   char gfxlib[13];
  22.   };
  23.  
  24. //-----------------------------------------------------------------
  25. #endif
  26.