more than 16 colours on graphics.h in C++ in Ubuntu 12.04

289 Views Asked by At

I was just wondering if there is way to output more than 16 colours in graphics.h? I am using Ubuntu 12.04, and currently I can only output 16 colours. I have been trying to find a way to do it, but have not been able to do so. I feel it has something to do with the parameters passed to the initgraph function. I would like to be able to draw 8 bit and even 24 or even 32 bit per pixel bitmaps in graphics.h in C++ in Ubuntu 12.04.

0

There are 0 best solutions below