home *** CD-ROM | disk | FTP | other *** search
- /* ************************************************************ */
- /* Demo4.c For QuickC */
- /* */
- /* Rcar was created by saving the image as QC Constant */
- /* from Raster Master. */
- /* ************************************************************ */
-
- #include <graph.h>
- #include <stdio.h>
-
- void main()
- {
- /* QuickC, Width= 28 Height= 16 Colors= 16 */
-
- char Rcar[260] = {
- 0x1C,0x00,0x10,0x00,0xFF,0xC3,0xFF,0xFF,0x00,0x00,0x00,0x00,
- 0x00,0x3C,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x80,0xFF,0xFF,
- 0x00,0x00,0x00,0x00,0x00,0x7F,0x00,0x00,0x00,0x3F,0x00,0x00,
- 0x9F,0x01,0xFF,0xFF,0x00,0x01,0x80,0x00,0x60,0xC1,0x80,0x00,
- 0x00,0x40,0x00,0x00,0x8E,0x00,0xFF,0xFF,0x00,0x00,0xC0,0x00,
- 0x71,0x80,0xC0,0x00,0x00,0x80,0x00,0x00,0xE4,0x00,0x7F,0xFF,
- 0x00,0x00,0x60,0x00,0x1B,0x80,0x60,0x00,0x01,0x00,0x00,0x00,
- 0xE0,0x00,0x3F,0xFF,0x00,0x00,0x30,0x00,0x1F,0xC0,0x30,0x00,
- 0x01,0x80,0x00,0x00,0xC0,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,
- 0x3F,0xFF,0xFF,0x00,0x1C,0x00,0x00,0x00,0x80,0x10,0x00,0x3F,
- 0x00,0x10,0x00,0x00,0x7F,0xFF,0xFF,0xC0,0x3F,0x8F,0xEF,0x00,
- 0x00,0x00,0x00,0x5F,0x00,0x00,0x00,0x40,0xFF,0xFF,0xFF,0xE0,
- 0x71,0xDF,0xF0,0x80,0x80,0x00,0x00,0x6F,0x80,0x00,0x00,0x60,
- 0xF1,0xFF,0xF8,0xF0,0x60,0xDF,0xF0,0x00,0x80,0x00,0x00,0x2F,
- 0x80,0x00,0x00,0x20,0xE0,0xFF,0xF0,0x70,0x40,0x5F,0xE0,0x00,
- 0x04,0x00,0x02,0x0F,0x04,0x00,0x02,0x00,0xC4,0x7F,0xE2,0x30,
- 0x04,0x1F,0xC2,0x00,0x0A,0x00,0x05,0x0F,0x0A,0x00,0x05,0x00,
- 0xCA,0x7F,0xE5,0x30,0x0E,0x00,0x07,0x00,0xC4,0x7F,0xE2,0x3F,
- 0x04,0x00,0x02,0x00,0x04,0x00,0x02,0x00,0x04,0x00,0x02,0x00,
- 0xE0,0xFF,0xF0,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x00,0x00,0x00,0xF1,0xFF,0xF8,0xFF,0x00,0x00,0x00,0x00,
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
-
- _setvideomode(_MRES16COLOR); /* _MRES256COLOR for 256 color images */
- _setcolor(1);
- _rectangle(_GFILLINTERIOR,0,0,319,199);
- _putimage(0,0,Rcar,_GPSET);
- getch();
- _setvideomode(_DEFAULTMODE);
- }
-