author | mark <mark> | 2002-04-14 17:08:03 (UTC) |
---|---|---|
committer | mark <mark> | 2002-04-14 17:08:03 (UTC) |
commit | bfeb067c8acfb5f1797fdc886ac71ca1b10ccf57 (patch) (unidiff) | |
tree | ad77e90c90f4bfb598bbe93aa4b3e14b689c96f4 /noncore/games/kbill/Library.cc | |
parent | a0fe593db4e700989cc19e28b67a58f87823afeb (diff) | |
download | opie-bfeb067c8acfb5f1797fdc886ac71ca1b10ccf57.zip opie-bfeb067c8acfb5f1797fdc886ac71ca1b10ccf57.tar.gz opie-bfeb067c8acfb5f1797fdc886ac71ca1b10ccf57.tar.bz2 |
Import of kbill
Diffstat (limited to 'noncore/games/kbill/Library.cc') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/kbill/Library.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/noncore/games/kbill/Library.cc b/noncore/games/kbill/Library.cc new file mode 100644 index 0000000..bb1e548 --- a/dev/null +++ b/noncore/games/kbill/Library.cc | |||
@@ -0,0 +1,13 @@ | |||
1 | #include "objects.h" | ||
2 | |||
3 | void Library::load_pix() { | ||
4 | int i; | ||
5 | char *name[] = {"wingdows", "apple", "next", "sgi", "sun", "os2", | ||
6 | "bsd", "linux", "redhat", "hurd"}; | ||
7 | for (i=0; i <= NUM_OS; i++) { | ||
8 | os[i].load(name[i]); | ||
9 | if (i) cursor[i].load(name[i], cursor[i].OWN_MASK); | ||
10 | } | ||
11 | width = os[0].width; | ||
12 | height = os[0].height; | ||
13 | } | ||