neutrino: bring epgview code closer to tuxbox codebase

* if epg title needs 2 lines, expand header downwards to make
 sure that we don't draw outside of the framebuffer
* if USE_SPACE_EFFICIENTLY is defined, do not resize the EPG window
 if the font size is switched but always paint the "big" window

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@227 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 808f965e7e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-01-30 (Sat, 30 Jan 2010)

Origin message was:
------------------
neutrino: bring epgview code closer to tuxbox codebase

* if epg title needs 2 lines, expand header downwards to make
 sure that we don't draw outside of the framebuffer
* if USE_SPACE_EFFICIENTLY is defined, do not resize the EPG window
 if the font size is switched but always paint the "big" window

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@227 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2010-01-30 17:28:38 +00:00
parent 06c801d682
commit f6af5b9035
2 changed files with 73 additions and 83 deletions

View File

@@ -73,7 +73,7 @@ class CEpgData
int textCount;
std::vector<std::string> epgText;
int topheight,topboxheight;
int botheight,botboxheight;
int buttonheight,botboxheight;
int medlineheight,medlinecount;
void GetEPGData(const t_channel_id channel_id, unsigned long long id, time_t* startzeit, bool clear = true );
@@ -84,7 +84,6 @@ class CEpgData
bool hasFollowScreenings(const t_channel_id channel_id, const std::string & title);
int FollowScreenings(const t_channel_id channel_id, const std::string & title);
void showTimerEventBar(bool show);
void showHead(const t_channel_id channel_id);
public: