Return to osdtest.c CVS log | Up to [DVB] / margi2 / testsuite |
initial public CVS release
#include "osdwrap.h" int main() { if (OSDInit("/dev/margi")!=NULL) { OSDOpen(0,0,702,576,8,10); OSDShow(); OSDSetColor(0,0,0,0,0); OSDSetColor(1,0,0,0,255); OSDSetColor(2,255,255,255,255); OSDFillBlock(100,100,200,200,2); printf("\n\nPress <Return> to continue...\n"); getc(stdin); OSDHide(); OSDExit(); } return 0; }