comparison gsm-fw/include/condat/font_bitmaps.h @ 662:a712c95b60c1

gsm-fw/include/condat: import of TI's g23m/condat/com/include custom.h, pwr.h and rtc.h taken from TCS211 version, the others are the versions from LoCosto
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 28 Sep 2014 01:14:48 +0000
parents
children
comparison
equal deleted inserted replaced
661:c36fe9d1da7e 662:a712c95b60c1
1 /*
2 +-----------------------------------------------------------------------------
3 | Project :
4 | Modul : display
5 +-----------------------------------------------------------------------------
6 | Copyright 2002 Texas Instruments Berlin, AG
7 | All rights reserved.
8 |
9 | This file is confidential and a trade secret of Texas
10 | Instruments Berlin, AG
11 | The receipt of or possession of this file does not convey
12 | any rights to reproduce or disclose its contents or to
13 | manufacture, use, or sell anything it may describe, in
14 | whole, or in part, without the specific written consent of
15 | Texas Instruments Berlin, AG.
16 +-----------------------------------------------------------------------------
17 | Purpose :
18 +-----------------------------------------------------------------------------
19 */
20 #ifndef FONT_BITMAPS_H
21 #define FONT_BITMAPS_H
22
23
24 typedef struct{
25
26 USHORT code;
27 UBYTE format;
28 UBYTE height;
29 UBYTE width;
30 UBYTE bitmapSize;
31 char* bitmap;
32 }t_font_bitmap;
33
34 enum {
35 /*---------------------------USE VALUES BETWEEN -1 TO 254------------------------------*/
36 NO_FONT=-1,
37 //Currently we only support this font for smaller displays
38 #ifndef LSCREEN
39 DEFAULT_8x6=0,
40 #endif
41 //We need only support this font on larger displays
42 #ifdef LSCREEN
43 CHANTICLE_PROP15 = 1,
44 #if 0 //Using Arial-type may be problematic - disable
45 ARIAL_PROP15 = 2,
46 #endif
47
48 #endif
49 LAST_FONT
50 /*---------------------------USE VALUES BETWEEN -1 TO 254-------------------------------*/
51 };
52
53
54 t_font_bitmap* get_bitmap(USHORT selected_code);
55 USHORT font_setFont(USHORT font);
56 USHORT font_getFont(void);
57 USHORT font_getCharWidth(USHORT selected_code);
58 void font_initFont( int defaultFont );
59 /* SPR#1983 - SH - Get list of all ascii font widths in array */
60 void font_getAllAsciiWidths(UBYTE *width);
61
62 #endif