資源簡介
韋東山電子相冊代碼!?。。。。。。。。。。。。。。?!

代碼片段和文件信息
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
/*?digitpic??*/
int?main(int?argc?char?**argv)
{
int?iError;
/*?初始化調(diào)試模塊:?可以通過“標準輸出“也可以通過“網(wǎng)絡“打印調(diào)試信息
?*?因為下面馬上就要用到DBG_PRINTF函數(shù)?所以先初始化調(diào)試模塊
?*/
/*?注冊調(diào)試通道?*/
DebugInit();
/*?初始化調(diào)試通道?*/
InitDebugChanel();
if?(argc?!=?2)
{
DBG_PRINTF(“Usage:\n“);
DBG_PRINTF(“%s?\n“?argv[0]);
return?0;
}
/*?注冊顯示設備?*/
DisplayInit();
/*?可能可支持多個顯示設備:?選擇和初始化指定的顯示設備?*/
SelectAndInitDefaultDispDev(“fb“);
/*?
?*?VideoMem:?為加快顯示速度我們事先在內(nèi)存中構(gòu)造好顯示的頁面的數(shù)據(jù)
?????????????(這個內(nèi)存稱為VideoMem)
?*???????????顯示時再把VideoMem中的數(shù)據(jù)復制到設備的顯存上
?*?參數(shù)的含義就是分配的多少個VideoMem
?*?參數(shù)可取為0?這意味著所有的顯示數(shù)據(jù)都是在顯示時再現(xiàn)場生成然后寫入顯存
?*/
AllocVideoMem(5);
????/*?注冊輸入設備?*/
InputInit();
????/*?調(diào)用所有輸入設備的初始化函數(shù)?*/
AllInputDevicesInit();
????/*?注冊編碼模塊?*/
????EncodingInit();
????/*?注冊字庫模塊?*/
iError?=?FontsInit();
if?(iError)
{
DBG_PRINTF(“FontsInit?error!\n“);
}
????/*?設置freetype字庫所用的文件和字體尺寸?*/
iError?=?SetFontsDetail(“freetype“?argv[1]?24);
if?(iError)
{
DBG_PRINTF(“SetFontsDetail?error!\n“);
}
????/*?注冊圖片文件解析模塊?*/
????PicFmtsInit();
????/*?注冊頁面?*/
PagesInit();
????/*?運行主頁面?*/
Page(“main“)->Run(NULL);
return?0;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????7045??2012-11-11?02:34??14.digial_photo_fr
?????文件?????????66??2012-11-11?02:34??14.digial_photo_fr
?????文件??????10440??2012-11-11?02:34??14.digial_photo_fr
?????文件???????1416??2012-11-11?02:34??14.digial_photo_fr
?????文件??????15927??2012-11-11?02:34??14.digial_photo_fr
?????文件???????6769??2012-11-11?02:34??14.digial_photo_fr
?????文件?????????38??2012-11-11?02:34??14.digial_photo_fr
?????文件???????3845??2012-11-11?02:34??14.digial_photo_fr
?????文件???????9393??2013-02-22?18:36??14.digial_photo_fr
?????文件????????111??2012-11-11?02:34??14.digial_photo_fr
?????文件???????3080??2012-11-11?02:34??14.digial_photo_fr
?????文件???????3079??2012-11-11?02:34??14.digial_photo_fr
?????文件???????5150??2012-11-11?02:34??14.digial_photo_fr
?????文件??????12817??2013-03-06?19:40??14.digial_photo_fr
?????文件?????????15??2012-11-11?02:34??14.digial_photo_fr
?????文件?????102928??2012-11-11?02:34??14.digial_photo_fr
?????文件???????6157??2012-11-11?02:34??14.digial_photo_fr
?????文件???????5058??2012-11-11?02:34??14.digial_photo_fr
?????文件???????3878??2012-11-11?02:34??14.digial_photo_fr
?????文件?????????81??2012-11-11?02:34??14.digial_photo_fr
?????文件????????412??2012-11-11?02:34??14.digial_photo_fr
?????文件???????6441??2012-11-11?02:34??14.digial_photo_fr
?????文件???????9296??2012-11-11?02:34??14.digial_photo_fr
?????文件??????10356??2013-02-22?18:37??14.digial_photo_fr
?????文件???????4855??2012-11-11?02:34??14.digial_photo_fr
?????文件???????6860??2012-11-11?02:34??14.digial_photo_fr
?????文件???????4319??2012-11-11?02:34??14.digial_photo_fr
?????文件???????8723??2012-11-11?02:34??14.digial_photo_fr
?????文件???????3894??2012-11-11?02:34??14.digial_photo_fr
?????文件????????914??2012-11-11?02:34??14.digial_photo_fr
............此處省略43個文件信息
評論
共有 條評論