mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 10:21:10 +02:00
TTX subs menu, not ready yet, just backup of current code
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@184 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -1423,3 +1423,16 @@ void CFrameBuffer::showFrame(const std::string & filename)
|
||||
else
|
||||
videoDecoder->ShowPicture((iconBasePath + filename).c_str());
|
||||
}
|
||||
|
||||
bool CFrameBuffer::Lock()
|
||||
{
|
||||
if(locked)
|
||||
return false;
|
||||
locked = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
void CFrameBuffer::Unlock()
|
||||
{
|
||||
locked = false;
|
||||
}
|
||||
|
@@ -102,6 +102,7 @@ class CFrameBuffer
|
||||
unsigned int smem_start; /* as aquired from the fbdev, the framebuffers physical start address */
|
||||
volatile uint8_t *gxa_base; /* base address for the GXA's register access */
|
||||
#endif /* USE_NEVIS_GXA */
|
||||
bool locked;
|
||||
public:
|
||||
#ifndef FB_USE_PALETTE
|
||||
fb_pixel_t realcolor[256];
|
||||
@@ -199,6 +200,9 @@ class CFrameBuffer
|
||||
void ClearFrameBuffer();
|
||||
void showFrame(const std::string & filename);
|
||||
bool loadBackgroundPic(const std::string & filename, bool show = true);
|
||||
bool Lock(void);
|
||||
void Unlock(void);
|
||||
bool Locked(void) { return locked; };
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user