source: svn/newcon3bcm2_21bu/dst/app/src/kview/OSD/App_OSD_Main.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_MAIN_H__
3#define __APP_OSD_MAIN_H__
4
5
6#define MENU_MAX_UNIT 10
7#define MENU_LANG 3
8#define MENU_DEPTH1_NUM 4
9#define D4_ICON_MAX_ROWS 5
10
11#define ID_DEF -1
12
13
14
15typedef struct {
16        UINT8 id; //index, 0-256
17        UINT8 bactive:1; //state 0: normal, 1:active, 2:inactive
18        UINT8 bselected:1; //¼±ÅÃµÈ °Í.
19        UINT8 type:3; // bit 0:text(0), image(1), bit 1: default(0), sub-info(1), bit 2: additional OSD(on:1, off:0)
20        UINT8 bleaf:1; //leaf ¿©ºÎ
21        UINT8 link; //¼±ÅÃÀ» ´­·¶À» ¶§ À̵¿ÇÒ frame id.
22        char *ptext[MENU_LANG];
23        UINT8 *pimg[3];
24} tApp_MmUnit;
25
26
27typedef struct {
28        UINT8 id;
29        UINT8 depth;
30        BOOL bactive;
31        UINT8 num_unit;
32        UINT8 cur_unit;
33        UINT8 parent; //parent link..
34        tApp_MmUnit units[MENU_MAX_UNIT];
35} tApp_MmFrame;
36
37void AppO_BackupMainBG(void);
38        // Main MenuÀÇ ¹è°æÀ» Backup
39       
40tApp_MmFrame *AppO_GetFrameInfo(int fid);
41        //ÇØ´ç fidÀÇ ±¸Á¶Ã¼¸¦ ¸®ÅÏÇÔ.
42
43void AppO_DrawMainMenu(int fid);
44        // ÇØ´ç fid¸¦ È­¸é¿¡ ±×¸².
45
46void AppO_UpdateMainMenu(int fid, int uid);
47        //ÇØ´ç fid, uid °ªÀ¸·Î Á¤º¸¸¦ ¾÷µ¥ÀÌÆ®ÇÔ
48        //  ±âÁ¸ fid, uid´Â inactive¸¦, »õ·Î¿î fid, uid´Â active·Î º¯°æ
49        //¾÷µ¥ÀÌÆ®µÈ ³»¿ëÀ» È­¸é¿¡ ±×¸²
50       
51void AppO_EraseMainMenu(int fid);
52        //ÇØ´ç fidÀÇ ¸Þ´º¸¦ Áö¿ò
53       
54int AppO_GetCurFrame(void);
55        //ÇöÀç activeµÈ frame Á¤º¸¸¦ ¸®ÅÏÇÔ.
56
57void AppO_SetCurFrame(int fid);
58        //ÇØ´ç fid¸¦ ÇöÀç frameÀ¸·Î ¼³Á¤ÇÔ.
59
60void AppO_DrawMainMenuBg(int mode);
61        //¸ÞÀÎ ¸Þ´º bg¸¦ ±×¸²..
62
63void AppO_EraseMainMenuBg(int mode);
64        // ¸ÞÀÎ ¸Þ´º bg¸¦ Áö¿ò..
65
66void AppO_SetSignalLevelBar(int level);
67        // ½ÅÈ£ °¨µµÀÇ levelÀ» ¼³Á¤ÇÏ´Â ÇÔ¼ö
68
69void AppO_UpdateSignalLevelBar(int sigLevel);
70        // ¾÷µ¥ÀÌÆ®µÈ ½ÅÈ£ °¨µµÀÇ levelÀ» ±×·ÁÁÖ´Â ÇÔ¼ö
71       
72void AppO_DrawSignalLevelBar(int sigLevel);
73        // ½ÅÈ£ °¨µµÀÇ levelÀ» ±×·ÁÁÖ´Â ÇÔ¼ö
74
75void AppO_DrawMainReset(int mode, char *str1, char *str2);
76
77void AppO_UpdateMainReset(int mode);
78
79
80
81#endif /* __APP_OSD_MAIN_H__ */
Note: See TracBrowser for help on using the repository browser.