亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? gfx_drawlib.c.svn-base

?? sigmadesign smp8623 gui source code ,bingo
?? SVN-BASE
?? 第 1 頁 / 共 5 頁
字號(hào):
//	//	rect.x = obj->x + xOrigen + scaleoffset + dialwidth * obj->stepnumber + dialwidth;//	//	rect.y = obj->y + yOrigen + (obj->height - rctext.height) / 2;//		rect.width = CLIP(scalewidth - dialwidth * obj->stepnumber - 1, 2, scalewidth);//		printf("steps: %d width: %d start: %lu width: %lu\n",obj->stepnumber, scalewidth, rect.x, rect.width);//	//	rect.height = rctext.height;//		gfxDrawRect(pRua, rect.x, rect.y, rect.width, rect.height - SLIDER_BORDER_OFFSET + SLIDER_BORDER, obj->backgroundcolor);//	}//}RMstatus gfxDrawOSDMenu(struct RUA *pRua, RMTVList* tvList){	RMuint16 i, count;	GFXLib_rect rect;	Prop prop;	RMstatus status = SetOutputSurfaceBuffer(pRua, gdata.backBuffer.baseAddr, gdata.osdWidth);	//	status = SetOutputSurface(pRua);	if (RMFAILED(status))		return status;	prop.trunc = TRUNC_NONE;	RMMemset(&prop, 0, sizeof(Prop));	//RMCopyAscii(prop.text, "ABC");	prop.bgColor = 0xffffffff;	prop.fgColor = 0x00FFFFFF;	prop.alignment = ALIGN_LEFT;	prop.scale = 20;	gfxDrawRect(pRua, 400, 40, 250, 400, 0xBB000000); //hardcoded position	for (i = tvList->firstvisible, count = 0; count < tvList->numItemsPerPage; i++, count++)	{		if (i == tvList->nbItems)			i = 0;		rect.y = 40 + count * 400 / tvList->numItemsPerPage;		rect.x = 400;		rect.width = 250;		rect.height = 400 / tvList->numItemsPerPage;		if (i == tvList->current)			gfxDrawRect(pRua, rect.x, rect.y, rect.width, rect.height, 0xBB444444);		rect.x += 20;		sprintf(prop.text, "%.2d. %s", (RMuint16) tvList->items[i].number, tvList->items[i].name);		//RMCopyAscii(prop.text, tvList->items[i].name);		gfxTTDrawString(pRua, &rect, &prop, NULL);		rect.x -= 20;	}	return BitBlt(pRua);}RMstatus gfxHideSlider(struct RUA *pRua, RMPageObject *page, RMSliderObject *obj){	GFXLib_rect rect;	RMstatus status;	rect.x = 0;	rect.y = 0;	rect.width = gdata.osdWidth;	rect.height = gdata.osdHeight;	status = SetOutputSurfaceBuffer(pRua, gdata.backBuffer.baseAddr, gdata.osdWidth);	//	status = SetOutputSurface(pRua);	if (RMFAILED(status))		return status;	if (page == NULL)		BlankRect(pRua, &rect);	else		DrawPageRect(pRua, page, &rect);	BitBlt(pRua);	subs.osd = FALSE;	return RM_OK;}RMstatus gfxBlankRect(struct RUA *pRua, RMuint16 x, RMuint16 y, RMuint16 width, RMuint16 height){	GFXLib_rect rect;	RMstatus status;	rect.x = x;	rect.y = y;	rect.width = width;	rect.height = height;	status = SetOutputSurfaceBuffer(pRua, gdata.backBuffer.baseAddr, gdata.osdWidth);	//	status = SetOutputSurface(pRua);	if (RMFAILED(status))		return status;	BlankRect(pRua, &rect);	BitBlt(pRua);	//	status = SetOutputSurface(pRua);	return RM_OK;}RMstatus gfxGetBitmapDimensions(struct RUA *pRua, RMBitmapObject *obj, RMuint16 *width, RMuint16 *height){	RMstatus status = RM_OK;	RMuint8 bmpindex;	status = GetBitmapIndex(pRua, obj->file, &bmpindex, FALSE);	if (RMFAILED(status))		return status;	*width = GetBmpWidth(bmpindex);	*height = GetBmpHeight(bmpindex);	return RM_OK;}RMstatus gfxDrawPicture(struct RUA *pRua, RMascii *path, GFXLib_scaletype stype, RMuint32 msDelay){	GFXLib_rect rect;	RMstatus status;	RMuint32 bmpsize = 0;	gdata.pictureMode = TRUE;	// init bitmap array and reset buffer	// here we reset buffer to use the whole base buffer, ignoring what	// was allocated for the drawing buffer	ResetBmpBuffers();	ResetBaseBuffer(&gdata.baseBuffer);	SetBmpPicture(path);	status = LoadImage(pRua, 0, &bmpsize);	if (RMFAILED(status))		return status;	if (msDelay)		Wait(msDelay);	// no more pictures	if (gdata.pictureMode == FALSE)		return RM_OK;	rect.x = 0;	rect.y = 0;	rect.width = gdata.osdWidth;	rect.height = gdata.osdHeight; // NEEDS CHANGE!!!!!	// clear screen	BlankRect(pRua, &rect);	return DrawPicture(pRua, stype);}extern RMcriticalsection g_cs_media;void DrawMediaControls(struct RUA *pRua, RMPlayControls* play/*RMPanelObject** panels, RMuint8 nPanels, RMButtonObject** buttons, RMuint8 nButtons,		RMSliderObject** sliders, RMuint8 nSliders, RMbool tv*/){	RMuint8 bmpindex[3];	RMuint8 i;	RMstatus status;	subs.osd = TRUE;	status = SetOutputSurfaceBuffer(pRua, gdata.backBuffer.baseAddr, gdata.osdWidth);	if (RMFAILED(status))		return;	if(play->page)	{		GFXLib_rect rect;		rect.x = rect.y = 0;		rect.width = gdata.osdWidth;		rect.height = gdata.osdHeight;		LoadPageBackground(pRua, play->page->file);		DrawPageRect(pRua, play->page, &rect);	}	else	{		Fill(pRua, 0, 0, gdata.osdWidth, gdata.osdHeight, 0x00FFFFFF);	}	RMEnterCriticalSection(g_cs_media);	for (i = 0; i < play->nPanels; i++)	{		if (play->tv)		{			if (play->panels[i]->visible)				if (play->panels[i]->file)				{					status = GetBitmapIndex(pRua, play->panels[i]->file, &bmpindex[i], TRUE);					if (RMSUCCEEDED(status))					{						if(play->page)							DrawBitmap(pRua, play->panels[i]->x, play->panels[i]->y, 0, FALSE, 0, bmpindex[i], TRUE, 0);						else							DrawBitmap(pRua, play->panels[i]->x, play->panels[i]->y, 0, FALSE, 0, bmpindex[i], FALSE, 0);					}				}		}		else if (play->panels[i]->file)		{			status = GetBitmapIndex(pRua, play->panels[i]->file, &bmpindex[i], TRUE);			if (RMSUCCEEDED(status))			{				if(play->page)					DrawBitmap(pRua, play->panels[i]->x, play->panels[i]->y, 0, FALSE, 0, bmpindex[i], TRUE, 0);				else					DrawBitmap(pRua, play->panels[i]->x, play->panels[i]->y, 0, FALSE, 0, bmpindex[i], FALSE, 0);			}		}	}	{		RMBitmapObject bmp;		bmp.x = 0;		bmp.y = 0;		bmp.file = play->page->file;	for (i = 0; i < play->nSliders; i++)	{		if(play->page)		{			gfxDrawSlider(pRua, 0, 0, play->sliders[i], &bmp);		}		else			gfxDrawSlider(pRua, 0, 0, play->sliders[i], NULL);	}	}	for (i = 0; i < play->nButtons; i++)	{		DrawButton(pRua, 0, 0, play->buttons[i], 0);		//gfxDrawButton(pRua, buttons[i]);	}	if(play->file)	{		RMuint8 bmpindex_play;		status = GetBitmapIndex(pRua, play->file, &bmpindex_play, TRUE);		if (RMSUCCEEDED(status))		{			if(play->page)				DrawBitmap(pRua, play->x, play->y, 0, FALSE, 0, bmpindex_play, TRUE, 0);			else				DrawBitmap(pRua, play->x, play->y, 0, FALSE, 0, bmpindex_play, FALSE, 0);		}		if(play->name && play->artist)		{			Prop prop;			GFXLib_rect rctext;			GFXLib_rect rect;			prop.trunc = TRUNC_NONE;			RMMemset(&prop, 0, sizeof(Prop));			prop.bgColor = 0xFFFFFFFF;			prop.fgColor = 0x00ffffff;			prop.alignment = ALIGN_LEFT;			prop.scale = 18;			RMCopyAscii(prop.text, "ABC");			gfxGetTextExtents(pRua, &prop, &rctext);			rect.x = play->x + GetBmpWidth(bmpindex_play) + 20; //hack text with shadow is wider then gfxGetTextExents returns			rect.y = play->y + 20;			rect.width = gdata.osdWidth - 2 * play->y;			rect.height = rctext.height;			RMCopyAscii(prop.text, play->artist);			gfxTTDrawStringBorder(pRua, &rect, &prop, NULL);			rect.y += rect.height * 1.5;			RMCopyAscii(prop.text, play->name);			gfxTTDrawStringBorder(pRua, &rect, &prop, NULL);		}	}	RMLeaveCriticalSection(g_cs_media);	BitBlt(pRua);}RMstatus gfxDrawPageWithBitmaps(struct RUA *pRua, RMPageObject *obj, RMBitmapObject **bitmaps, RMuint8 nbitmaps,		RMButtonObject **buttons, RMuint8 nbuttons){	RMstatus status;	RMuint8 bmpindex;	RMuint8 i, j, index;	GFXLib_objectdata objdata[MAX_BITMAPS];	RMuint8 count = 0;	RMuint16 l1, t1, r1, b1;	RMuint16 l2, t2, r2, b2;	RMbool drawn, bkgnddrawn;	//	RMbool bkgnddrawn;	RMuint8 lastbmpindex;	RMuint8 lastbtnindex;	RMbool reset = FALSE;	if (obj->visible == FALSE)		return RM_OK;	gdata.pictureMode = FALSE;	bkgnddrawn = FALSE;	// init bitmap array and reset buffer	ResetBmpBuffers();	// restore drawing buffer offset	gdata.baseBuffer.offset = gdata.drawBuffer.size;	ResetBaseBuffer(&gdata.baseBuffer);	AllocateBuffer(&gdata.drawBuffer, gdata.drawBuffer.size, TRUE);	//AllocateBuffer(&gdata.backBuffer, gdata.backBuffer.size, TRUE);	status = LoadPageBackground(pRua, obj->file);	if (RMFAILED(status))		return status;	status = SetOutputSurfaceBuffer(pRua, gdata.backBuffer.baseAddr, gdata.osdWidth);	if (RMFAILED(status))		return status;	lastbmpindex = 0;	lastbtnindex = 0;	do	{		count = 0;		reset = FALSE;		// load bitmaps		for (i = lastbmpindex; i < nbitmaps; i++)		{			status = GetBitmapIndex(pRua, bitmaps[i]->file, &bmpindex, FALSE);			if (status == RM_FATALOUTOFMEMORY && i > 0)			{				lastbmpindex = i;				reset = TRUE;				break;			}			objdata[count].type = TYPE_BITMAP;			objdata[count].index = i;			objdata[count].zindex = bitmaps[i]->zIndex;			objdata[count].loadindex = bmpindex;			count++;		}		for (i = lastbtnindex; i < nbuttons; i++)		{			objdata[count].is3state = FALSE;			objdata[count].containstext = FALSE;			if (buttons[i]->file != 0)			{				if (buttons[i]->selectedFile == 0)				{					objdata[count].is3state = TRUE;					status = GetBitmapIndex(pRua, buttons[i]->file, &bmpindex, FALSE);				}				else				{					if (buttons[i]->state == STATE_SELECTED)						status = GetBitmapIndex(pRua, buttons[i]->selectedFile, &bmpindex, FALSE);					else						status = GetBitmapIndex(pRua, buttons[i]->file, &bmpindex, FALSE);				}				if (status == RM_FATALOUTOFMEMORY && i > 0)				{					lastbtnindex = i;					reset = TRUE;					break;				}			}			else				objdata[count].containstext = TRUE;			objdata[count].type = TYPE_BUTTON;			objdata[count].index = i;			objdata[count].zindex = buttons[i]->zIndex;			objdata[count].loadindex = bmpindex;			count++;		}		// Sort list		qsort(objdata, count, sizeof(GFXLib_objectdata), CompFunc);		// draw background		if (bkgnddrawn == FALSE)		{			// fix tv ratio			DoTVRatio(pRua, gdata.tvType);			status = DrawBitmap(pRua, 0, 0, 0, 0, 0xff, 0, FALSE, 0);			if (RMFAILED(status))				return status;			// give some time for the page to be loaded before any blending			Wait(10);			bkgnddrawn = TRUE;			gdata.osdOn = TRUE;		}		// draw all other bitmaps		for (i = 0; i < count; i++)		{			index = objdata[i].index;			if (objdata[i].type == TYPE_BUTTON)			{				if (objdata[i].containstext == FALSE)				{					drawn = FALSE;					l1 = buttons[index]->x;					t1 = buttons[index]->y;					r1 = l1 + GetBmpWidth(objdata[i].loadindex);					b1 = t1 + GetBmpHeight(objdata[i].loadindex);					// check for bitmaps under button					for (j = 0; j < i; j++)					{						if (objdata[j].type == TYPE_BITMAP)						{							l2 = bitmaps[objdata[j].index]->x;							t2 = bitmaps[objdata[j].index]->y;							r2 = l2 + GetBmpWidth(objdata[j].loadindex);							b2 = t2 + GetBmpHeight(objdata[j].loadindex);							if (CheckRectsIntersect(l1, t1, r1, b1, l2, t2, r2, b2))							{								gfxUpdateButton(pRua, obj, bitmaps[objdata[j].index], 1, buttons[index]);								drawn = TRUE;							}						}					}					if (drawn == FALSE)					{						if (objdata[i].is3state == FALSE)						{							DrawBitmap(pRua, buttons[index]->x, buttons[index]->y, buttons[index]->transparentcolor,									buttons[index]->usetransparentcolor, 0x80, objdata[i].loadindex, TRUE, 0);						}						else						{							DrawBitmappedButton(pRua, buttons[index], objdata[i].loadindex, TRUE);						}					}				}				else				{					// text button					DrawButton(pRua, 0, 0, buttons[index], 0);				}			}			else if (objdata[i].type == TYPE_BITMAP)			{				DrawBitmap(pRua, bitmaps[index]->x, bitmaps[index]->y, bitmaps[index]->transparentcolor,						bitmaps[index]->usetransparentcolor, 0x80, objdata[i].loadindex, FALSE, 0);			}		}		// force clearing of global bitmap buffer from index 1 (after background)		if (reset)		{			ResetNonBackgroundBuffers();		}	} while (reset);	return BitBlt(pRua);}RMstatus gfxUpdateButton(struct RUA *pRua, RMPageObject *obj, RMBitmapO

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人av电影免费观看| 欧美一区日韩一区| 国产精品自产自拍| 亚洲一二三专区| 精品久久免费看| 欧美在线高清视频| 粉嫩av一区二区三区粉嫩| 午夜天堂影视香蕉久久| 中文字幕一区二区在线播放| 91精品国产综合久久久久久久久久| 成人毛片视频在线观看| 亚洲最快最全在线视频| 亚洲欧洲三级电影| 久久久亚洲国产美女国产盗摄 | 99天天综合性| 成人国产免费视频| 亚洲444eee在线观看| 亚洲色图清纯唯美| 久久久综合网站| 日韩免费视频一区二区| 欧美午夜精品一区二区三区| 国产成人精品免费网站| 日韩va欧美va亚洲va久久| 有码一区二区三区| 亚洲欧美影音先锋| 久久理论电影网| 欧美一区二区国产| 88在线观看91蜜桃国自产| 日本韩国精品在线| 国产成人精品亚洲日本在线桃色 | 夜夜嗨av一区二区三区四季av| 国产精品国产三级国产有无不卡| 国产精品麻豆一区二区| 亚洲丝袜精品丝袜在线| 亚洲国产综合视频在线观看| 婷婷亚洲久悠悠色悠在线播放| 日韩精品三区四区| 国产成人精品一区二区三区四区 | 99久久婷婷国产综合精品| 91视频免费播放| 欧美精品久久天天躁| 亚洲自拍偷拍麻豆| 九九**精品视频免费播放| 国产中文一区二区三区| 91丨九色丨蝌蚪富婆spa| 欧美日韩一级二级三级| 久久日一线二线三线suv| 亚洲视频一区二区免费在线观看| 舔着乳尖日韩一区| 成人av综合一区| 日韩一区二区高清| 一区二区三区精密机械公司| 偷拍一区二区三区| 成人免费视频国产在线观看| 777久久久精品| 亚洲欧美激情小说另类| 国产九色精品成人porny| 欧美日韩中文字幕一区二区| 中文字幕av资源一区| 激情文学综合插| 日韩欧美国产一区在线观看| 亚洲亚洲人成综合网络| 99re亚洲国产精品| 国产精品久久一级| 高清国产一区二区三区| 精品卡一卡二卡三卡四在线| 午夜精品国产更新| 欧美日韩国产中文| 亚洲激情六月丁香| 一本久道久久综合中文字幕| 国产精品久久久久久久久快鸭| 麻豆91在线观看| 精品sm捆绑视频| 国产综合色产在线精品| 欧美精品一区二区三区视频 | 韩国精品免费视频| 久久久久一区二区三区四区| 免播放器亚洲一区| 26uuu另类欧美亚洲曰本| 日韩影院免费视频| 日韩视频免费观看高清完整版| 日韩成人免费看| 久久综合九色综合欧美就去吻| 九九视频精品免费| 久久久噜噜噜久久人人看 | 精品一区二区三区在线播放| 日韩一区二区三| 精品一区二区三区免费| 欧美精品一区二区三区在线播放| 玖玖九九国产精品| 久久久www成人免费无遮挡大片| 精品在线你懂的| 国产精品国产三级国产专播品爱网| 成人在线视频首页| 青青草视频一区| 1区2区3区国产精品| 欧美色综合天天久久综合精品| 青娱乐精品视频在线| 久久精品亚洲精品国产欧美| 国产99久久久国产精品潘金| 中文字幕视频一区二区三区久| 91网址在线看| 久久99久久99小草精品免视看| 国产亚洲精品资源在线26u| 99re这里只有精品6| 三级欧美在线一区| 亚洲三级理论片| 日韩精品中文字幕一区| 99久久国产综合精品麻豆| 水蜜桃久久夜色精品一区的特点 | 日韩一区二区三区视频| 成人97人人超碰人人99| 久88久久88久久久| 日韩**一区毛片| 青青草精品视频| 午夜精品久久久久久久| 亚洲在线观看免费视频| 亚洲免费色视频| 国产精品三级av在线播放| 久久久综合视频| 欧美不卡在线视频| 日韩一区二区在线观看视频 | 欧美男生操女生| 91黄色免费观看| 91丨九色porny丨蝌蚪| www.欧美亚洲| a4yy欧美一区二区三区| 国产成人综合精品三级| 裸体在线国模精品偷拍| 日韩主播视频在线| 亚洲欧美乱综合| 亚洲444eee在线观看| 亚洲国产中文字幕| 亚洲女与黑人做爰| 亚洲自拍另类综合| 偷拍与自拍一区| 日本麻豆一区二区三区视频| 一区二区三区四区蜜桃| 秋霞午夜av一区二区三区| 国产一区二区看久久| 99re视频精品| 欧美日韩亚洲综合在线 | 亚洲成在线观看| 国产一区二区三区四区五区入口| 国产精品主播直播| 成人av高清在线| 91精品一区二区三区久久久久久| 欧美一二三区在线观看| 久久中文字幕电影| 亚洲三级在线免费| 美女视频免费一区| 国产suv精品一区二区6| 色哟哟国产精品免费观看| 日韩欧美亚洲国产另类| 亚洲欧洲日本在线| 久久福利资源站| 色婷婷av一区二区三区软件 | 欧美电影免费观看高清完整版在线观看| 国产亚洲va综合人人澡精品| 亚洲在线中文字幕| 久久精品国产77777蜜臀| 欧美在线小视频| 中文一区在线播放| 午夜av一区二区| 94色蜜桃网一区二区三区| 精品美女在线观看| 午夜精品福利在线| 91麻豆精品91久久久久同性| 亚洲欧美日韩一区二区| 91视频国产资源| 中文字幕精品一区| 久久成人久久鬼色| 欧美色中文字幕| www激情久久| 激情综合五月婷婷| 日韩一区二区免费在线电影| 一区二区三区中文字幕| 99久久亚洲一区二区三区青草 | 色噜噜狠狠一区二区三区果冻| 日韩一区二区三区免费看 | 一本大道综合伊人精品热热| 国产精品人人做人人爽人人添| 成人一区二区三区视频| 亚洲欧美日韩国产手机在线| 一本到三区不卡视频| 无吗不卡中文字幕| 精品久久久久久久久久久久包黑料| 精品亚洲国产成人av制服丝袜| 久久久一区二区三区| 成人免费毛片app| 午夜精品久久久久久久99樱桃| 日韩欧美综合在线| 国产99久久久国产精品潘金| 欧美极品美女视频| 99r国产精品| 免费亚洲电影在线| 中文一区一区三区高中清不卡| 狠狠色丁香久久婷婷综| 国产日产欧美一区二区视频| 91精品婷婷国产综合久久性色 |