00001 #ifndef LIBRARY_H 00002 #define LIBRARY_H 00003 00004 #include "Picture.h" 00005 #include "MCursor.h" 00006 00007 class Library { /* global structure of all OSes */ 00008 public: 00009 static const int WINGDOWS = 0; /* OS 0 is wingdows */ 00010 static const int OFF = -1; /* OS -1 means the computer is off */ 00011 static const int PC = 5; /* OS >= PC means the OS is a PC OS */ 00012 static const int NUM_OS = 9; /* The number of OSes (not Wingdows) */ 00013 int width, height; /* size of OS picture*/ 00014 Picture os[NUM_OS+1]; /* array of OS pictures*/ 00015 MCursor cursor[NUM_OS+1]; /* array of OS cursors (drag/drop) */ 00016 void load_pix(); 00017 }; 00018 00019 #endif
1.4.2