File: Library.h

package info (click to toggle)
xbill 2.0-9
  • links: PTS
  • area: main
  • in suites: slink
  • size: 528 kB
  • ctags: 339
  • sloc: cpp: 1,803; makefile: 38; sh: 21
file content (19 lines) | stat: -rw-r--r-- 586 bytes parent folder | download | duplicates (5)
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