blob: eda2fcf27ee013855340016887831aba8988d61e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef LIBRARY_H
#define LIBRARY_H
#include "Picture.h"
#include "MCursor.h"
class Library { /* global structure of all OSes */
public:
static const int WINGDOWS = 0; /* OS 0 is wingdows */
static const int OFF = -1; /* OS -1 means the computer is off */
static const int PC = 5; /* OS >= PC means the OS is a PC OS */
static const int NUM_OS = 9; /* The number of OSes (not Wingdows) */
int width, height; /* size of OS picture*/
Picture os[NUM_OS+1]; /* array of OS pictures*/
MCursor cursor[NUM_OS+1]; /* array of OS cursors (drag/drop) */
void load_pix();
};
#endif
|