ImageShowUI
1
void ImageShowUI(void)
2
{
3
DrawBmpIdEx(0, 0, BID_ImageKeyBK, NULL, DSPM_TranspMid);
4
DrawBmpIdEx(0, 239, BID_ImageKeyBK, NULL, DSPM_TranspMid);
5
//WindowSendMessage(WindowGetChildByID(pImageWin, WID_ButtonReturn), WM_SetActive, 1, NULL);
6
DrawBmpIdEx(11, 240, BID_Common_Back1, NULL, DSPM_TranspMid);
7
if (ImageSlidShowFlag)
8
{
9
DrawBmpIdEx(240, 240, BID_Common_Play1, NULL, DSPM_TranspMid);
10
return;
11
}
12
if (ImageFileInfo.ImageType = IMAGE_TYPE_GIF)
13
{
14
DrawBmpIdEx(191, 240, BID_Calen_PageUp1, NULL, DSPM_TranspMid);
15
DrawBmpIdEx(240, 240, BID_Common_Play1, NULL, DSPM_TranspMid);
16
DrawBmpIdEx(289, 240, BID_Calen_PageDown1, NULL, DSPM_TranspMid);
17
}
18
else
19
{
20
DrawBmpIdEx(191, 240, BID_Calen_PageUp1, NULL, DSPM_TranspMid);
21
DrawBmpIdEx(240, 240, BID_Common_Play1, NULL, DSPM_TranspMid);
22
DrawBmpIdEx(289, 240, BID_Calen_PageDown1, NULL, DSPM_TranspMid);
23
DrawBmpIdEx(0, 145, BID_ImageTouchRotateLeft_1, NULL, DSPM_TranspMid);
24
DrawBmpIdEx(0, 194, BID_ImageTouchRotateRight_1, NULL, DSPM_TranspMid);
25
if (ZoomCnt < 1)
26
DrawBmpIdEx(0, 243, BID_ImageTouchMax_1, NULL, DSPM_TranspMid);
27
if (ZoomCnt > -1)
28
DrawBmpIdEx(0, 292, BID_ImageTouchMin_1, NULL, DSPM_TranspMid);
29
}
30
}
31
void ImageShowUI(void)2
{3
DrawBmpIdEx(0, 0, BID_ImageKeyBK, NULL, DSPM_TranspMid);4
DrawBmpIdEx(0, 239, BID_ImageKeyBK, NULL, DSPM_TranspMid);5
//WindowSendMessage(WindowGetChildByID(pImageWin, WID_ButtonReturn), WM_SetActive, 1, NULL);6
DrawBmpIdEx(11, 240, BID_Common_Back1, NULL, DSPM_TranspMid);7
if (ImageSlidShowFlag)8
{9
DrawBmpIdEx(240, 240, BID_Common_Play1, NULL, DSPM_TranspMid);10
return;11
}12
if (ImageFileInfo.ImageType = IMAGE_TYPE_GIF)13
{14
DrawBmpIdEx(191, 240, BID_Calen_PageUp1, NULL, DSPM_TranspMid);15
DrawBmpIdEx(240, 240, BID_Common_Play1, NULL, DSPM_TranspMid);16
DrawBmpIdEx(289, 240, BID_Calen_PageDown1, NULL, DSPM_TranspMid);17
}18
else19
{20
DrawBmpIdEx(191, 240, BID_Calen_PageUp1, NULL, DSPM_TranspMid);21
DrawBmpIdEx(240, 240, BID_Common_Play1, NULL, DSPM_TranspMid);22
DrawBmpIdEx(289, 240, BID_Calen_PageDown1, NULL, DSPM_TranspMid);23
DrawBmpIdEx(0, 145, BID_ImageTouchRotateLeft_1, NULL, DSPM_TranspMid);24
DrawBmpIdEx(0, 194, BID_ImageTouchRotateRight_1, NULL, DSPM_TranspMid);25
if (ZoomCnt < 1)26
DrawBmpIdEx(0, 243, BID_ImageTouchMax_1, NULL, DSPM_TranspMid);27
if (ZoomCnt > -1)28
DrawBmpIdEx(0, 292, BID_ImageTouchMin_1, NULL, DSPM_TranspMid);29
}30
} 31



浙公网安备 33010602011771号