source: svn/newcon3bcm2_21bu/dst/app/src/kview/OSD/App_OSD_Epg2.h

Last change on this file was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

  • Property svn:executable set to *
File size: 1.9 KB
Line 
1
2#ifndef __APP_OSD_EPG2_H__
3#define __APP_OSD_EPG2_H__
4
5
6
7#define EPG_EVENT_X     199   // EPG event line X position (event Áß °¡Àå ¸Ç À§ ÇÑÁÙ)
8#define EPG_EVENT_Y     121   // EPG event line Y position (event Áß °¡Àå ¸Ç À§ ÇÑÁÙ)
9#define EPG_EVENT_W     409   // EPG event line width   (ÇÑÁÙ Àüü ³Êºñ)
10#define EPG_EVENT_H     33    // EPG event line height (ÇÑÁÙ Àüü ³ôÀÌ)
11
12
13#define MAX_EPG_STR 52
14#define MAX_EPG_CELL 60 //ÃÖ´ë 60°³ ±îÁö¸¸ Áö¿øÇÔ.
15#define MAX_NUM_EPG_LINE 7
16#define MAX_ETT_LEN 512
17
18
19typedef struct {
20        BOOL bexist;
21        SINT32 prgm_start; //ÇÁ·Î±×·¥ÀÇ ½ÇÁ¦ ½ÃÀÛ ½Ã°£
22        UINT32 prgm_length; //ÇÁ·Î±×·¥ÀÇ ½ÇÁ¦ ±æÀÌ, ÇÏ·ç°¡ ³Ñ¾î°¥ ¼öµµ ÀÖÀ½.
23        UINT16 str[MAX_EPG_STR]; //maximum 52ÀÚ±îÁö¸¸ Áö¿øÇÔ
24} tApp_EpgCell; //76 bytes
25
26
27typedef struct {
28        int uid;
29        UINT16 major, minor;
30        BOOL baudio_only; //audio only ä³Î
31        UINT8 video_type;
32        UINT8 vct_flag;
33        UINT16 ch_name[8]; //ä³Î Á¤º¸
34       
35        SINT16 cur_idx; //cur prgm idx.
36        SINT16 start_idx; //start prgm idx.
37        SINT16 num_cell;
38       
39        tApp_EpgCell cell_list[MAX_EPG_CELL];
40       
41        UINT16 ett_text[MAX_ETT_LEN];
42       
43} tApp_EpgInfo; //1024+20+76*128=¾à 11K Á¤µµ.
44
45
46typedef struct {
47        SINT16 cur_idx;
48        SINT16 view_lines;  // ÇÑ È­¸é¿¡ º¸¿©ÁÙ line ¼ö
49        SINT16 num_lines;
50} tApp_ScrollInfo;
51
52
53void AppOsd_GetDetailTextBoxSize(int* width, int* height);
54
55void AppOsd_DrawEpgBg(BOOL binit);
56
57void AppOsd_DrawEpg(tApp_EpgInfo *pepg_info);
58
59void AppOsd_UpdateEpg(tApp_EpgInfo *pepg_info, int prev_cell);
60
61void AppOsd_DrawEpgInfo(tApp_EpgInfo *pepg_info);
62
63void AppOsd_DrawEpgArrow(tApp_EpgInfo *pepg_info);
64
65void AppOsd_DrawEpgDetail(tApp_EpgInfo *pepg_info, UINT16 *ptext, BOOL bexist);
66
67void AppOsd_DrawEpgDetailWithScroll(tApp_EpgInfo* pepg_info, tApp_ScrollInfo* pett_info, DMG_STR_RowInfo_t* pett_row_info, UINT16* ptext);
68
69void AppOsd_EraseEpg(void);
70
71void AppOsd_EraseEpgDetail(void);
72
73
74#endif
Note: See TracBrowser for help on using the repository browser.