File: Library.cc

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 (13 lines) | stat: -rw-r--r-- 327 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "objects.h"

void Library::load_pix() {
	int i;
        char *name[] = {"wingdows", "apple", "next", "sgi", "sun", "os2",
		"bsd", "linux", "redhat", "hurd"};
	for (i=0; i <= NUM_OS; i++) {
		os[i].load(name[i]);
		if (i) cursor[i].load(name[i], cursor[i].OWN_MASK);
	}
	width = os[0].width;
	height = os[0].height;
}