ImageShowUI

 

 1void ImageShowUI(void)
 2{
 3    DrawBmpIdEx(00, BID_ImageKeyBK, NULL, DSPM_TranspMid);
 4    DrawBmpIdEx(0239, BID_ImageKeyBK, NULL, DSPM_TranspMid);
 5    //WindowSendMessage(WindowGetChildByID(pImageWin, WID_ButtonReturn), WM_SetActive, 1, NULL);
 6    DrawBmpIdEx(11240, BID_Common_Back1, NULL, DSPM_TranspMid);
 7    if (ImageSlidShowFlag)
 8    {
 9        DrawBmpIdEx(240240, BID_Common_Play1, NULL, DSPM_TranspMid);
10        return;
11    }

12    if (ImageFileInfo.ImageType = IMAGE_TYPE_GIF)
13    {
14        DrawBmpIdEx(191240, BID_Calen_PageUp1, NULL, DSPM_TranspMid);
15        DrawBmpIdEx(240240, BID_Common_Play1, NULL, DSPM_TranspMid);
16        DrawBmpIdEx(289240, BID_Calen_PageDown1, NULL, DSPM_TranspMid);
17    }

18    else
19    {
20        DrawBmpIdEx(191240, BID_Calen_PageUp1, NULL, DSPM_TranspMid);
21        DrawBmpIdEx(240240, BID_Common_Play1, NULL, DSPM_TranspMid);
22        DrawBmpIdEx(289240, BID_Calen_PageDown1, NULL, DSPM_TranspMid);
23        DrawBmpIdEx(0145, BID_ImageTouchRotateLeft_1, NULL, DSPM_TranspMid);
24        DrawBmpIdEx(0194, BID_ImageTouchRotateRight_1, NULL, DSPM_TranspMid);
25        if (ZoomCnt < 1)
26            DrawBmpIdEx(0243, BID_ImageTouchMax_1, NULL, DSPM_TranspMid);
27        if (ZoomCnt > -1)
28            DrawBmpIdEx(0292, BID_ImageTouchMin_1, NULL, DSPM_TranspMid);
29    }

30}
    
31

 

posted @ 2009-07-09 09:51  Junuh  阅读(148)  评论(0编辑  收藏  举报