Im working on project in which i have to draw rectangle with other reactangles in it every 3 seconds. I have a problem because function
PgDrawIRect() draws it in currect graphics content. I want to draw it always in the same graphics context. I mage GUI in appBuilder inserted there background widget and i want it to be the graphics content for my reactange.
I read that PgDrawIRectCx() may be usefull but i dont have any idea on how pass first argument
int PgDrawIRectCx( void *dc,
int ulx, int uly,
int lrx, int lry,
unsigned int flags );
thank you very much for help.