copy api changes from spark to generic

Origin commit data
------------------
Branch: master
Commit: 4e4dd50bb8
Author: martii <m4rtii@gmx.de>
Date: 2013-05-31 (Fri, 31 May 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-05-31 13:27:04 +02:00
parent 2dfbaf80b8
commit ff1d1acfef
4 changed files with 98 additions and 0 deletions

View File

@@ -211,7 +211,11 @@ void cVideo::SetVideoMode(analog_mode_t)
{
}
#ifdef MARTII
void cVideo::ShowPicture(const char *fname, bool)
#else
void cVideo::ShowPicture(const char *fname)
#endif
{
lt_info("%s(%s)\n", __func__, fname);
if (access(fname, R_OK))
@@ -326,7 +330,11 @@ int cVideo::getBlank(void)
return 0;
}
#ifdef MARTII
void cVideo::Pig(int x, int y, int w, int h, int /*osd_w*/, int /*osd_h*/, int /*startx*/, int /*starty*/, int /*endx*/, int /*endy*/)
#else
void cVideo::Pig(int x, int y, int w, int h, int, int)
#endif
{
pig_x = x;
pig_y = y;