Exemple #1
0
static void win_expose_bg(eHandle hobj, GuiWidget *wid, GalEventExpose *exp)
{
	//egal_set_foreground(exp->pb, 0);
	//egal_fill_rect(wid->drawable, exp->pb, exp->rect.x, exp->rect.y, exp->rect.w, exp->rect.h);
	egal_draw_image(wid->drawable, exp->pb, exp->rect.x, exp->rect.y, 
			image, exp->rect.x, exp->rect.y, exp->rect.w, exp->rect.h);
}
Exemple #2
0
static void win_expose_bg(eHandle hobj, GuiWidget *wid, GalEventExpose *exp)
{
	egal_draw_image(wid->drawable, exp->pb, exp->rect.x, exp->rect.y, 
			image, exp->rect.x, exp->rect.y, exp->rect.w, exp->rect.h);
}