Logo Search packages:      
Sourcecode: vdr-plugin-prefermenu version File versions  Download package

symbols.h

#ifndef __SYMBOLS_H
#define __SYMBOLS_H

/*
 * symbols.h: Prefer Channel Menu plugin for the Video Disk Recorder
 *                  Definition of the different symbols used.
 * See the README file for copyright information and how to reach the author.
 *
 * $Id$
 */

#include <vdr/font.h>

#define FWIDTH 22
#define FHEIGHT 26
#define STUCTSIZE 28 // FHEIGHT+2

#define NUMSYMBOLS 3

//struct tCharData {
//  tPixelData width, height;
//  tPixelData lines[1];
//};


cFont::tPixelData Symbols[][STUCTSIZE] = {
  {  // Up arrow
     FWIDTH, FHEIGHT,
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00001800,  // ..........**..........
     0x00003C00,  // .........****.........
     0x00007E00,  // ........******........
     0x0000FF00,  // .......********.......
     0x0001FF80,  // ......**********......
     0x0003FFC0,  // .....************.....
     0x0007FFE0,  // ....**************....
     0x000FFFF0,  // ...****************...
     0x001FFFF8,  // ..******************..
     0x003FFFFC,  // .********************.
     0x007FFFFE,  // **********************
     0x0000FF00,  // .......********.......
     0x0000FF00,  // .......********.......
     0x0000FF00,  // .......********.......
     0x0000FF00,  // .......********.......
     0x0000FF00,  // .......********.......
     0x0000FF00,  // .......********.......
     0x0000FF00,  // .......********.......
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
 },
 {   // Down arrow
     FWIDTH, FHEIGHT,
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x0000FF00,  // .......********.......
     0x0000FF00,  // .......********.......
     0x0000FF00,  // .......********.......
     0x0000FF00,  // .......********.......
     0x0000FF00,  // .......********.......
     0x0000FF00,  // .......********.......
     0x0000FF00,  // .......********.......
     0x007FFFFE,  // **********************
     0x003FFFFC,  // .********************.
     0x001FFFF8,  // ..******************..      
     0x000FFFF0,  // ...****************...
     0x0007FFE0,  // ....**************....
     0x0003FFC0,  // .....************.....
     0x0001FF80,  // ......**********......
     0x0000FF00,  // .......********.......
     0x00007E00,  // ........******........
     0x00003C00,  // .........****.........
     0x00001800,  // ..........**..........
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
 },
 {   // Heart
     FWIDTH, FHEIGHT,
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x000783C0,  // ....****.....****.....
     0x001FEFF0,  // ..********.********...
     0x003FEFF8,  // .*********.*********..
     0x003FFFF8,  // .*******************..
     0x001FFFF0,  // ..*****************...
     0x000FFFE0,  // ...***************....
     0x0007FFC0,  // ....*************.....
     0x0001FFC0,  // .....12345678901......
     0x0003FF80,  // ......123456789.......
     0x0000FE00,  // .......1234567........
     0x00007C00,  // ........12345.........
     0x00003800,  // .........123..........
     0x00001000,  // ..........1...........
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
     0x00000000,  // ......................
 },
};

#endif // __SYMBOLS_H

Generated by  Doxygen 1.6.0   Back to index