Creating hires version of Checkers.
PNGs are just scaled but should be replaced with crispier graphics from the original vector files.
@ -875,6 +875,8 @@ void make_pieces() {
|
||||
png[which++] = new Fl_PNG_Image(NULL, (const unsigned char *)pixmaps_white_checker_png, sizeof(pixmaps_white_checker_png));
|
||||
png[which++] = new Fl_PNG_Image(NULL, (const unsigned char *)pixmaps_black_checker_king_png, sizeof(pixmaps_black_checker_king_png));
|
||||
png[which++] = new Fl_PNG_Image(NULL, (const unsigned char *)pixmaps_white_checker_king_png, sizeof(pixmaps_white_checker_king_png));
|
||||
for (int i = 0; i < which; i++)
|
||||
png[i]->scale(png[i]->data_w()/2, png[i]->data_h()/2);
|
||||
}
|
||||
|
||||
#define ISIZE 62 // old: 56
|
||||
|
@ -26,7 +26,7 @@ comment {//
|
||||
//
|
||||
// Please report all bugs and problems to "fltk-bugs@fltk.org".
|
||||
//
|
||||
} {selected in_source in_header
|
||||
} {in_source in_header
|
||||
}
|
||||
|
||||
data pixmaps_black_checker_png {public local filename {pixmaps/black_checker.png}
|
||||
@ -35,7 +35,7 @@ data pixmaps_black_checker_png {public local filename {pixmaps/black_checker.png
|
||||
data pixmaps_white_checker_png {public local filename {pixmaps/white_checker.png}
|
||||
}
|
||||
|
||||
data pixmaps_black_checker_king_png {public local filename {pixmaps/black_checker_king.png}
|
||||
data pixmaps_black_checker_king_png {selected public local filename {pixmaps/black_checker_king.png}
|
||||
}
|
||||
|
||||
data pixmaps_white_checker_king_png {public local filename {pixmaps/white_checker_king.png}
|
||||
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 19 KiB |