nanogui: banner code fragments
Subject:
banner code fragments
From:
sai baba ####@####.####
Date:
20 Jan 2006 06:57:49 +0000
Message-Id: <20060120065744.40234.qmail@web35911.mail.mud.yahoo.com>
hi greg
thanks for u reply
i m sending my banner code fragments
image_id = GrLoadImageFromFile(filename,0);
image_id1 = GrLoadImageFromFile(filename1,0);
GrGetImageInfo(image_id, &image1);
GrGetImageInfo(image_id1, &image2);
p1 = GrNewPixmap(info.width + info1.width + 2, h, 0);
GrDrawImageToFit(p1, gc,0,0,image1.width,h, image_id);
GrDrawImageToFit(p1, gc,info.width,0,image2.width,h,
image_id1);
i = w;
while( 1 ) {
GrCopyArea(w1, gc, i,0,info.width + info1.width
+2,h,
p1,0,0,MWROP_SRCCOPY);
i--;
micro_delay(speed);
if ( i < -(info.width + info1.width) )
i = w;
}
whenever you are free see this code and comment on
this code
BEST OF LUCK for you biz trip
thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com