~ubuntu-branches/ubuntu/lucid/mythtv/lucid

« back to all changes in this revision

Viewing changes to libs/libmythtv/osdtypeteletext.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Dave Walker (Daviey), Jamie Bennett, Mario Limonciello, Dave Walker (Daviey)
  • Date: 2010-03-23 19:32:33 UTC
  • mfrom: (1.1.49 upstream)
  • Revision ID: james.westby@ubuntu.com-20100323193233-5sv9djoxtlmwt3ca
Tags: 0.23.0+fixes23789-0ubuntu1
[ Jamie Bennett ]
* Fix FTBFS on armel (LP: #537714)

[ Mario Limonciello ]
* mythtv-{common,backend}.{config,templates,postinst}: (LP: #483748)
  - Simplify debconf questions by avoiding showing the generated pw
  - Don't warn about mythtv group.
  - Don't notify about running mythtv-setup.  This is optional (but
    of course encouraged!)
* Set version to include a "+" delimitter.
* Restore libfaad-dev dependency. (LP: #546552)

[ Dave Walker (Daviey) ]
* New snapshot (r23789), based from 0.23-fixes.
* debian/control:
  - mythtv-frontend set to Conflict with mythflix, as it's dropped
    upstream. (LP: #544521)
  - Remove unnecessary and potentially problematic use of Pre-Depends.
  - Set the debug package to Priority extra.
  - Change *-perl Section's from libs to perl
  - add ${shlibs:Depends} for mythtv-common Depends field
  - Minor spelling fix.
  - Fixes the long description for one of the packages, ensuring the
    description doesn't exceed 80 characters.
  - Vcs-* set to -fixes, rather than -trunk.
* debian/rules:
  - Use debconf-updatepo to update translations when required
  - Ensure license files are not included in the binary packages, except 
    for debian/copyright.
  - Fixes the permissions of certain files in the packaging.
* debian/copyright:
  - updated to reflect that mythtv is GPL-2 only.
  - inserted better licence statement and Copyright reference.
* debian/mythtv-*.templates
  - Simplified strings; removed verbosity and improved readability.
* Prevent the maintainer scripts from failing in case any questions 
  can't be displayed.
* Added holding debian/mythtv-frontend.config, mainly to appease lintian.
* debian/mythtv-frontend.menu: Changed section to Applications/Graphics.
* debian/mythtv-backend.postinst: Load debconf libraries.
* debian/source.lintian-overrides: Removes the unecessary override of the 
  binNMU warnings.
* Fix perl binding installation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
214
214
        for (uint j = 8; j < 40; j++)
215
215
            ttpage->data[0][j] = m_bitswap[buf[j]];
216
216
    }
217
 
    else 
 
217
    else
218
218
    {
219
219
        memcpy(ttpage->data[0]+0, buf, 40);
220
220
    }
221
 
    
222
 
    if ( !(ttpage->flags & TP_INTERRUPTED_SEQ)) 
 
221
 
 
222
    if ( !(ttpage->flags & TP_INTERRUPTED_SEQ))
223
223
    {
224
224
        memcpy(m_header, ttpage->data[0], 40);
225
225
        HeaderUpdated(ttpage->data[0],ttpage->lang);
229
229
/**
230
230
 *  \brief Adds Teletext Data from TeletextDecoder
231
231
 */
232
 
void OSDTypeTeletext::AddTeletextData(int magazine, int row, 
 
232
void OSDTypeTeletext::AddTeletextData(int magazine, int row,
233
233
                                      const uint8_t * buf, int vbimode)
234
234
{
235
235
    OSDUpdateLocker locker(&m_lock, this);
252
252
            {
253
253
                for (uint j = 0; j < 40; j++)
254
254
                    ttpage->data[row][j] = m_bitswap[buf[j]];
255
 
            } 
256
 
            else 
 
255
            }
 
256
            else
257
257
            {
258
258
                memcpy(ttpage->data[row], buf, 40);
259
259
            }
352
352
 
353
353
/**
354
354
 *  \brief Updates the header (given in page with language lang)
355
 
 * 
 
355
 *
356
356
 *  \param page Pointer to the header which should be displayed
357
357
 *  \param lang Language of the header
358
358
 *
384
384
 *
385
385
 *  \param page Page number
386
386
 *  \param direction find page before or after the given page
387
 
 *  \return TeletextPage (NULL if not found) 
 
387
 *  \return TeletextPage (NULL if not found)
388
388
 */
389
389
const TeletextPage *OSDTypeTeletext::FindPageInternal(
390
390
    int page, int direction) const
437
437
 *  \param subpage Subpage number (if set to -1, find the first subpage)
438
438
 *  \param direction find page before or after the given page
439
439
 *         (only if Subpage is not -1)
440
 
 *  \return TeletextSubPage (NULL if not found) 
 
440
 *  \return TeletextSubPage (NULL if not found)
441
441
 */
442
442
const TeletextSubPage *OSDTypeTeletext::FindSubPageInternal(
443
443
    int page, int subpage, int direction) const
548
548
            newSubPage = -1;
549
549
            m_curpage_showheader = true;
550
550
            break;
551
 
        } 
 
551
        }
552
552
 
553
553
        case TTKey::kPrevPage:
554
554
        {
842
842
}
843
843
 
844
844
/** \fn OSDTypeTeletext::DrawCharacter(OSDSurface*,int,int,QChar,int) const
845
 
 *  \brief Draws a character at posistion x, y 
 
845
 *  \brief Draws a character at posistion x, y
846
846
 *
847
847
 *  \param x X position (40 cols)
848
848
 *  \param y Y position (25 rows)