#include <lib/gdi/erect.h>
#include <lib/gdi/gpixmap.h>
#include <lib/gdi/region.h>
#include <lib/gdi/erect.h>
#include <lib/gdi/gpixmap.h>
#include <lib/gdi/region.h>
- void submit(const gOpcode &o)
- {
- static int collected=0;
- queue.enqueue(o);
- collected++;
-// if (o.opcode==gOpcode::end||o.opcode==gOpcode::shutdown)
- {
- queuelock.unlock(collected);
-#ifdef SYNC_PAINT
- thread();
-#endif
- collected=0;
- }
- }
+ void submit(const gOpcode &o);
+
+ Signal0<void> notify;
void blit(gPixmap *pixmap, ePoint pos, const eRect &what=eRect(), int flags=0);
void setPalette(gRGB *colors, int start=0, int len=256);
void blit(gPixmap *pixmap, ePoint pos, const eRect &what=eRect(), int flags=0);
void setPalette(gRGB *colors, int start=0, int len=256);