mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
scale fixes
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@674 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8c8c45e06a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-07-16 (Fri, 16 Jul 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -215,13 +215,13 @@ int EventList::exec(const t_channel_id channel_id, const std::string& channelnam
|
||||
neutrino_msg_t msg;
|
||||
neutrino_msg_data_t data;
|
||||
bool in_search = 0;
|
||||
|
||||
width = w_max (680, 20);
|
||||
height = h_max (560, 20);
|
||||
int fw = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getWidth();
|
||||
int fh = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight();
|
||||
width = w_max (75 * fw, 20);
|
||||
height = h_max (25 * fh, 20);
|
||||
|
||||
iheight = 30; // info bar height (see below, hard coded at this time)
|
||||
|
||||
int fh = g_Font[SNeutrinoSettings::FONT_TYPE_INFOBAR_SMALL]->getHeight();
|
||||
if(iheight < fh)
|
||||
iheight = fh;
|
||||
|
||||
|
Reference in New Issue
Block a user