Re: Stellar Project
- Posted by gwalters Nov 19, 2012
- 1521 views
DerekParnell said...
gwalters said...
This code opens a blank window but If I understand how creatDIB works I should get an object in the window. Any help would be appreciated.
You don't need a DIB (bitmap), just create a Pixmap the same size as your window then draw on the Pixmap, and on your window's Paint event, bitblt the pixmap onto your window. This is a very fast way of updating an animated display.
Thanks, having never done any graphics, I need a little more help. How do you draw to a Pixmap? I understand the rest of what you said.