2#define FB_LOG_ENTRY_LIB_PRINTF
25 if(x < 0)
LogEntryFBLibPrintf(TRUE,
"TAP_Osd_PutFreeColorGd_Chk Warning: x(%d) < 0 @ %s", x, Comment);
26 if(y < 0)
LogEntryFBLibPrintf(TRUE,
"TAP_Osd_PutFreeColorGd_Chk Warning: y(%d) < 0 @ %s", y, Comment);
34 if(x >= RgnW)
LogEntryFBLibPrintf(TRUE,
"TAP_Osd_PutFreeColorGd_Chk Warning: x(%d) >= RgnW(%d) @ %s", x, RgnW, Comment);
35 if(y >= RgnH)
LogEntryFBLibPrintf(TRUE,
"TAP_Osd_PutFreeColorGd_Chk Warning: y(%d) >= RgnH(%d) @ %s", y, RgnH, Comment);
36 if((x + gd->width) > RgnW)
LogEntryFBLibPrintf(TRUE,
"TAP_Osd_PutFreeColorGd_Chk Warning: (x(%d) + gd->width(%d)) > RgnW(%d) @ %s", x, gd->width, RgnW, Comment);
37 if((y + gd->height) > RgnH)
LogEntryFBLibPrintf(TRUE,
"TAP_Osd_PutFreeColorGd_Chk Warning: (y(%d) + gd->height(%d)) > RgnH(%d) @ %s", y, gd->height, RgnH, Comment);
42 if(Comment && ret)
LogEntryFBLibPrintf(TRUE,
"TAP_Osd_PutFreeColorGd_Chk Warning: TAP_Osd_PutFreeColorGd() returned %d @ %s", ret, Comment);
word GetOSDRegionHeight(word Region)
word GetOSDRegionWidth(word Region)
void LogEntryFBLibPrintf(bool Console, char *format,...)
int TAP_Osd_PutFreeColorGd_Chk(char *Comment, word rgn, int x, int y, TYPE_GrData *gd, bool sprite, dword FilterColor)
int TAP_Osd_PutFreeColorGd(word rgn, int x, int y, TYPE_GrData *gd, bool sprite, dword FilterColor)