diff options
| author | manuel <manuel@nc8430.lan> | 2009-05-01 20:18:51 +0200 |
|---|---|---|
| committer | manuel <manuel@nc8430.lan> | 2009-05-01 20:18:51 +0200 |
| commit | b9ce1555b2baf9be209775dbd4c8b217db5cd735 (patch) | |
| tree | 9c4b74f4a3f9e323e6d799313f9f59dd7b940fb4 /ue2/imgsynth2/test | |
| parent | 6431d84ffec82db10030d918cfed8e791e62f42c (diff) | |
| download | ooprog-b9ce1555b2baf9be209775dbd4c8b217db5cd735.tar.gz ooprog-b9ce1555b2baf9be209775dbd4c8b217db5cd735.tar.bz2 ooprog-b9ce1555b2baf9be209775dbd4c8b217db5cd735.zip | |
rewrote pixmap::read to do more sanity checks
Diffstat (limited to 'ue2/imgsynth2/test')
| -rw-r--r-- | ue2/imgsynth2/test/input_yellow_man1_indexed8 | 6 | ||||
| -rw-r--r-- | ue2/imgsynth2/test/yellow_man1_indexed8_in.xpm | 4 | ||||
| -rw-r--r-- | ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/ue2/imgsynth2/test/input_yellow_man1_indexed8 b/ue2/imgsynth2/test/input_yellow_man1_indexed8 index 997cd4f..c0385c3 100644 --- a/ue2/imgsynth2/test/input_yellow_man1_indexed8 +++ b/ue2/imgsynth2/test/input_yellow_man1_indexed8 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #in: test/yellow_man1_xpm_in.xpm | 1 | #in: test/yellow_man1_indexed8_in.xpm |
| 2 | #out: test/yellow_man1_xpm_out.xpm | 2 | #out: test/yellow_man1_indexed8_out.xpm |
| 3 | #ref: test/yellow_man1_xpm_ref.xpm | 3 | #ref: test/yellow_man1_indexed8_ref.xpm |
| 4 | 4 | ||
| 5 | read(XPM, test/yellow_man1_indexed8_in.xpm) | 5 | read(XPM, test/yellow_man1_indexed8_in.xpm) |
| 6 | 6 | ||
diff --git a/ue2/imgsynth2/test/yellow_man1_indexed8_in.xpm b/ue2/imgsynth2/test/yellow_man1_indexed8_in.xpm index 6e5fa2c..bd11b48 100644 --- a/ue2/imgsynth2/test/yellow_man1_indexed8_in.xpm +++ b/ue2/imgsynth2/test/yellow_man1_indexed8_in.xpm | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* XPM */ | 1 | /* XPM */ |
| 2 | static char * yellow_man1_default_xpm[] = { | 2 | static char * yellow_man1_default_xpm[] = { |
| 3 | "9 17 2 1 0 0 XPMEXT", | 3 | "9 17 2 1 0 0 XPMEXT", |
| 4 | ". c #000000", | 4 | ". c #000000 g4 #000000", |
| 5 | "# c #FFF200", | 5 | "# c #FFF200", |
| 6 | ".........", | 6 | ".........", |
| 7 | ".........", | 7 | ".........", |
| @@ -19,7 +19,7 @@ static char * yellow_man1_default_xpm[] = { | |||
| 19 | "...#.#...", | 19 | "...#.#...", |
| 20 | "...#.#...", | 20 | "...#.#...", |
| 21 | ".........", | 21 | ".........", |
| 22 | "........." | 22 | ".........", |
| 23 | "XPMEXT ext1 data1", | 23 | "XPMEXT ext1 data1", |
| 24 | "XPMEXT ext2", | 24 | "XPMEXT ext2", |
| 25 | "data2_1", | 25 | "data2_1", |
diff --git a/ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm b/ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm index 57db73d..bd3beb4 100644 --- a/ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm +++ b/ue2/imgsynth2/test/yellow_man1_indexed8_ref.xpm | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* XPM */ | 1 | /* XPM */ |
| 2 | static char * yellow_man1_rgb24_ref_xpm[] = { | 2 | static char * yellow_man1_default_xpm[] = { |
| 3 | "9 17 4 1", | 3 | "9 17 4 1 0 0 XPMEXT", |
| 4 | ". c #000000", | 4 | ". c #000000", |
| 5 | "# c #FFF200", | 5 | "# c #FFF200", |
| 6 | "+ c #00FF00", | 6 | "+ c #00FF00", |
