Browse Source

Added a new OS

tags/1.1
Gethyn ThomasQuail 6 years ago
parent
commit
1b0bc9c2f5
6 changed files with 242 additions and 7 deletions
  1. +3
    -3
      Makefile.in
  2. +2
    -2
      OS.c
  3. +11
    -0
      bitmaps/openbsd.xbm
  4. +3
    -2
      gtk.c
  5. BIN
      pixmaps/distros.xcf
  6. +223
    -0
      pixmaps/openbsd.xpm

+ 3
- 3
Makefile.in View File

@@ -42,7 +42,7 @@ XPMS = pixmaps/about.xpm pixmaps/billA_0.xpm \
pixmaps/bsdcpu.xpm pixmaps/bucket.xpm pixmaps/arch.xpm \
pixmaps/icon.xpm pixmaps/centos.xpm pixmaps/logo.xpm \
pixmaps/maccpu.xpm pixmaps/debian.xpm pixmaps/nextcpu.xpm \
pixmaps/gentoo.xpm pixmaps/os2cpu.xpm \
pixmaps/gentoo.xpm pixmaps/openbsd.xpm pixmaps/os2cpu.xpm \
pixmaps/palm.xpm pixmaps/palmcpu.xpm pixmaps/mandriva.xpm \
pixmaps/spark_0.xpm pixmaps/slackware.xpm pixmaps/suse.xpm \
pixmaps/spark_1.xpm pixmaps/ubuntu.xpm pixmaps/suncpu.xpm \
@@ -50,8 +50,8 @@ XPMS = pixmaps/about.xpm pixmaps/billA_0.xpm \

XBMS = bitmaps/arch.xbm bitmaps/bsd.xbm bitmaps/bucket.xbm bitmaps/centos.xbm \
bitmaps/debian.xbm bitmaps/gentoo.xbm bitmaps/hand_down.xbm \
bitmaps/hand_down_mask.xbm bitmaps/hand_up.xbm \
bitmaps/hand_up_mask.xbm bitmaps/initfail.xbm bitmaps/mandriva.xbm \
bitmaps/hand_down_mask.xbm bitmaps/hand_up.xbm bitmaps/hand_up_mask.xbm \
bitmaps/initfail.xbm bitmaps/mandriva.xbm bitmaps/openbsd.xbm \
bitmaps/slackware.xbm bitmaps/suse.xbm bitmaps/ubuntu.xbm



+ 2
- 2
OS.c View File

@@ -7,8 +7,8 @@
#define MIN_PC 6 /* OS >= MIN_PC means the OS is a PC OS */

static const char *osname[] = { "initfail", "arch", "bsd", "centos", "debian",
"gentoo", "mandriva", "slackware", "suse",
"ubuntu"};
"gentoo", "mandriva", "openbsd", "slackware",
"suse", "ubuntu"};
#define NUM_OS (sizeof(osname) / sizeof(osname[0]))

static Picture *os[NUM_OS]; /* array of OS pictures*/


+ 11
- 0
bitmaps/openbsd.xbm View File

@@ -0,0 +1,11 @@
#define openbsd_width 28
#define openbsd_height 24
static unsigned char openbsd_bits[] = {
0x00, 0x08, 0x25, 0x00, 0x00, 0xfa, 0x2e, 0x00, 0x00, 0x4c, 0x1c, 0x00,
0x80, 0x06, 0x60, 0x00, 0xc0, 0x91, 0x50, 0x04, 0xc0, 0xa0, 0xd8, 0x03,
0xf0, 0x54, 0x00, 0x03, 0x20, 0x00, 0x70, 0x01, 0xa0, 0x04, 0x80, 0x02,
0xb8, 0x00, 0xe8, 0x05, 0x21, 0x00, 0x20, 0x07, 0x36, 0x01, 0xc0, 0x04,
0x19, 0x00, 0x88, 0x0f, 0x82, 0x00, 0x82, 0x05, 0x04, 0x5a, 0xc8, 0x06,
0x24, 0x08, 0xa0, 0x04, 0x14, 0x2c, 0x84, 0x04, 0x5c, 0x11, 0x90, 0x06,
0x64, 0x50, 0x62, 0x03, 0x40, 0x04, 0x00, 0x01, 0x80, 0x0b, 0x79, 0x03,
0x00, 0x5e, 0x61, 0x00, 0x00, 0xfa, 0x9c, 0x00, 0x00, 0xaa, 0x0b, 0x00 };

+ 3
- 2
gtk.c View File

@@ -171,6 +171,7 @@ timer_tick(gpointer arg) {
#include "bitmaps/debian.xbm"
#include "bitmaps/gentoo.xbm"
#include "bitmaps/mandriva.xbm"
#include "bitmaps/openbsd.xbm"
#include "bitmaps/slackware.xbm"
#include "bitmaps/suse.xbm"
#include "bitmaps/ubuntu.xbm"
@@ -195,8 +196,8 @@ typedef struct cursormap {
static cursormap cursors[] = {
CURSOR_ADD(arch), CURSOR_ADD( bsd), CURSOR_ADD(centos),
CURSOR_ADD(debian), CURSOR_ADD(gentoo), CURSOR_ADD(mandriva),
CURSOR_ADD(slackware), CURSOR_ADD(suse), CURSOR_ADD(ubuntu),
CURSOR_ADD(bucket),
CURSOR_ADD(openbsd), CURSOR_ADD(slackware), CURSOR_ADD(suse),
CURSOR_ADD(ubuntu), CURSOR_ADD(bucket),
CURSOR_ADD_MASKED(hand_up), CURSOR_ADD_MASKED(hand_down),
{NULL, 0, 0, NULL, NULL},
};


BIN
pixmaps/distros.xcf View File


+ 223
- 0
pixmaps/openbsd.xpm View File

@@ -0,0 +1,223 @@
/* XPM */
static char * openbsd_xpm[] = {
"28 24 196 2",
" c None",
". c #FFFFFF",
"+ c #000000",
"@ c #E7F7FF",
"# c #6B708E",
"$ c #A5ADB5",
"% c #88888C",
"& c #8C90BD",
"* c #000021",
"= c #000042",
"- c #FFCE00",
"; c #B5C6EF",
"> c #BDBDB5",
", c #292321",
"' c #392900",
") c #FFFF00",
"! c #FFDE00",
"~ c #6B5A00",
"{ c #FFFF39",
"] c #FFFF31",
"^ c #FFFF18",
"/ c #291000",
"( c #000008",
"_ c #999FAF",
": c #D6E7FF",
"< c #000018",
"[ c #210800",
"} c #EFD610",
"| c #BDA529",
"1 c #FFFF63",
"2 c #C0AA33",
"3 c #A79126",
"4 c #DECE42",
"5 c #E7C631",
"6 c #D6B529",
"7 c #A98C00",
"8 c #FFFF08",
"9 c #081042",
"0 c #080010",
"a c #291800",
"b c #FFE708",
"c c #8C8418",
"d c #C6B539",
"e c #736B21",
"f c #948C29",
"g c #FFFF73",
"h c #4A4A18",
"i c #A59831",
"j c #FFFF52",
"k c #CEB531",
"l c #393108",
"m c #BD7300",
"n c #C6DEFF",
"o c #B5BDC6",
"p c #969999",
"q c #180800",
"r c #1E234C",
"s c #FFFF29",
"t c #FFFF4A",
"u c #FFFF7B",
"v c #FFF752",
"w c #101810",
"x c #A5A539",
"y c #ADAD42",
"z c #FFFF5A",
"A c #524A08",
"B c #837122",
"C c #A58400",
"D c #5A3100",
"E c #080821",
"F c #313121",
"G c #FFFF84",
"H c #5A5A18",
"I c #181810",
"J c #FFFF6B",
"K c #C6BD42",
"L c #B5A531",
"M c #A58421",
"N c #263489",
"O c #E7E752",
"P c #EFEF52",
"Q c #737729",
"R c #C6C64A",
"S c #212108",
"T c #8C7B18",
"U c #3D4929",
"V c #E7AD00",
"W c #9C5A00",
"X c #B5CEFF",
"Y c #FFFF21",
"Z c #D6CE4A",
"` c #ADA939",
" . c #B5B54A",
".. c #EFEF5A",
"+. c #735200",
"@. c #D6E752",
"#. c #100000",
"$. c #FFBD00",
"%. c #737B8C",
"&. c #212100",
"*. c #7B6300",
"=. c #8C8C31",
"-. c #C6CECE",
";. c #5273A5",
">. c #CED6FF",
",. c #D6D652",
"'. c #949431",
"). c #21315E",
"!. c #A1AFDC",
"~. c #FFA500",
"{. c #631800",
"]. c #A4C5FF",
"^. c #080C7B",
"/. c #423900",
"(. c #F7F75A",
"_. c #EFEF63",
":. c #DED64A",
"<. c #C6AD00",
"[. c #F7A500",
"}. c #98ADF3",
"|. c #210000",
"1. c #FFEF10",
"2. c #BDBD4A",
"3. c #ADA931",
"4. c #101021",
"5. c #FFFF42",
"6. c #9C9C39",
"7. c #CED652",
"8. c #9C9C42",
"9. c #FFDE42",
"0. c #4A5208",
"a. c #C6D618",
"b. c #101008",
"c. c #7B3100",
"d. c #6B6321",
"e. c #E7DE4A",
"f. c #7F8431",
"g. c #393110",
"h. c #293110",
"i. c #6B6310",
"j. c #631000",
"k. c #CEC642",
"l. c #FFFF8C",
"m. c #422100",
"n. c #FFDE18",
"o. c #FFE742",
"p. c #CECE52",
"q. c #211000",
"r. c #FFFF9C",
"s. c #EFFF6B",
"t. c #735A08",
"u. c #FF9C00",
"v. c #E7C600",
"w. c #873900",
"x. c #080800",
"y. c #9C9C31",
"z. c #211800",
"A. c #F7DE42",
"B. c #6B3908",
"C. c #44474C",
"D. c #BDCEFF",
"E. c #DEDE5A",
"F. c #EFC629",
"G. c #7B5A00",
"H. c #BD6B00",
"I. c #420000",
"J. c #52576A",
"K. c #7B88C6",
"L. c #C6BD39",
"M. c #62601B",
"N. c #081000",
"O. c #A58477",
"P. c #DECE21",
"Q. c #C6B531",
"R. c #B5AD39",
"S. c #D6BD39",
"T. c #F7C629",
"U. c #9C7B08",
"V. c #4A3900",
"W. c #635200",
"X. c #F7DB2B",
"Y. c #EFDE4A",
"Z. c #421000",
"`. c #080000",
" + c #4A294A",
".+ c #523900",
"++ c #524200",
"@+ c #AD9C21",
"#+ c #6B5A08",
"$+ c #947300",
"%+ c #DEAD08",
"&+ c #08215A",
"*+ c #4A5A94",
"=+ c #6B5200",
"-+ c #FFEF00",
";+ c #081010",
". . . . . . . . . . . + . . . @ + @ # $ . % . . . . . . ",
". . . . . . . . . + . + & * = + - + + & ; + . . . . . . ",
". . . . . . . . . > , ' ) ! ~ { ] ^ / + ( . . . . . . . ",
". . . . . . . _ : < [ } | 1 2 3 4 5 6 7 8 + 9 . . . . . ",
". . . . . . , 0 a b c d e f g h i 1 j k l m + n . o p . ",
". . . . . . q r s t j u v w 1 x y v z A B C D ( q + . . ",
". . . . E a F a G g H 1 I z H J J K z J L j M ^ + N . . ",
". . . . . + ^ J u O P G Q z u g g R 1 1 S T U V W X . . ",
". . . . . N Y ( Z ` + 1 g g J Q J ...g z +.@.#.$.+ . . ",
". . . %.+ &.*.f =.u ` g g J 1 J g J J Q u + + + D -.+ . ",
";.. . . >.+ j J z u y ,...'.x 1 J y g J g + . . + ).!.. ",
"~.{.].. ^./.'...+ y J J g J (.1 _.g ,.:.z <.+ + [.}.+ . ",
"|.$.m N ^.1.z g g ..g J Z J J J J 2.3.H J j Y + + + + 4.",
". + $.5.z 1 J h g z u u x 6.7.G u =.:.8.J 1 9.+ 0.a.b.. ",
". ].c.Y t d.e.f.x g.u h.i.1 j.G .(.k.d.J 1 / w l.0.m.. ",
". . + ) n.+ o.u G p.u q.r.r.s.G 1 g _.v 1 B 6 t.z u m.. ",
". . ).u.B !.v.J i k.+ w.v x.,.y.g (.z.J z A.j B.0.{ + . ",
". . C.+ D.>.+ 1 x.J g f.+ E.g =.g J J R h 5 F.G.H.I.# . ",
". . C.. . J.K.J L.l.,.J f.u S u K g.J 1 M.M N.! c.+ . . ",
". . . . . . O.C P.Q.h R.u Z K J J k.S.d o.T.U.~.+ n . . ",
". . . . . . . + K.V.5.W.X.Y.j j ( L t T W.Z.`.n + J.. . ",
". . . . . . . _ . ++ + .+t ++@+#+X.$+%+) &++ . . . . . ",
". . . . . . . . . + . U *++ + =+) -++ [ + . o C.. . . . ",
". . . . . . . . . ;+. r . O.: < + + !.F . . . . . . . . "};

Loading…
Cancel
Save