Fix for virtual zap; Fix for png icon paint from getSize; TTX national tables from actual tux cvs; Starting to test ttx sub remember/autostart

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@322 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
focus
2010-02-12 13:10:06 +00:00
parent 6b5a84b950
commit baa6d3bfdd
10 changed files with 616 additions and 355 deletions

View File

@@ -480,7 +480,8 @@ int CFrameBuffer::setMode(unsigned int /*nxRes*/, unsigned int /*nyRes*/, unsign
#endif
);
memset(getFrameBufferPointer(), 0, stride * yRes);
//memset(getFrameBufferPointer(), 0, stride * yRes);
paintBackground();
if (ioctl(fd, FBIOBLANK, FB_BLANK_UNBLANK) < 0) {
printf("screen unblanking failed\n");
}
@@ -945,6 +946,8 @@ bool CFrameBuffer::paintIcon(const std::string & filename, const int x, const in
icon_cache.insert(std::pair <std::string, rawIcon> (filename, tmpIcon));
//printf("Cached %s, cache size %d\n", newname.c_str(), cache_size);
}
if(!paint)
return true;
goto _display;
}
@@ -1485,7 +1488,8 @@ void CFrameBuffer::switch_signal (int signal)
void CFrameBuffer::Clear()
{
memset(getFrameBufferPointer(), 0, stride * yRes);
paintBackground();
//memset(getFrameBufferPointer(), 0, stride * yRes);
}
void CFrameBuffer::showFrame(const std::string & filename)