source: svn/trunk/zasc/app_c/DST_UserInterface.h @ 60

Last change on this file since 60 was 60, checked in by phkim, 10 years ago
  1. phkim
  2. 금강방송
  3. 변경 내용
    • 서경방송 채널 편집 기능 병합
    • 채널 편집 기능 추가, 기존 검색 방법 변경 (RF,Program number ) -> (major, minor)
    • 채널편집 항목중 추가 -> 시청 으로 문구 변경, 가이드 문구 색상 변경
    • 사용장 키 입력 후 플래시 저장 속도 1초 -> 5초 로 변경
    • UI 동작에 대한 시나리오 통일



File size: 3.3 KB
Line 
1#ifndef __DST_USERINTERFACE_H__
2#define __DST_USERINTERFACE_H__
3
4#include "DST_Common.h"
5#include "DST_CCTask.h"
6
7#define BANNER_NORMAL    0
8#define BANNER_DIGIT     1
9
10#define ASPECT_RATIO_WIDE    0
11#define ASPECT_RATIO_NORMAL 1
12#define ASPECT_RATIO_ZOOM    2
13
14#define SM_GOOD_SIGNAL                  0
15#define SM_WAIT_SIGNAL                  1
16#define SM_WEAK_SIGNAL                  2
17#define SM_NO_PROGRAM                   3
18#define SM_AUDIO_ONLY                   4
19
20typedef enum
21{
22        MN_AUTO_SCAN,
23        MN_MANUAL_SCAN,
24        MN_SIGNAL_METER,
25        MN_AV_DISPLAY_MODE,
26        MN_AV_AUDIO_PREF,
27#if SUPPORT_CHANNEL_EDIT
28        MN_CHANNEL_EDIT,
29#endif
30        MN_AV_VI,
31        MN_CC_DISPLAY,
32        MN_SLEEP_TIMER,
33        MN_AV_PREFERRED_CONN,
34        MN_FACTORY_RESET,
35        MN_STB_INFO,
36        MN_MAX_NUM
37}       MainMenuLists;
38
39typedef enum
40{
41        DISPLAY_MODE_WIDE,
42        DISPLAY_MODE_NORMAL,
43        DISPLAY_MODE_ZOOM,
44        DISPLAY_MODE_MAX_NUM
45}       DisplayModeLists;
46
47typedef enum
48{
49        PREFERRED_CONN_LINE_OUT,
50        PREFERRED_CONN_CH34,
51        PREFERRED_CONN_MAX_NUM
52}       PreferredConnLists;
53
54typedef enum
55{
56        SLEEP_TIMER_OFF,
57        SLEEP_TIMER_15M,
58        SLEEP_TIMER_30M,
59        SLEEP_TIMER_60M,
60        SLEEP_TIMER_120M,
61        SLEEP_TIMER_MAX_NUM
62}       SleepTimerLists;
63
64#if 0
65____Channel_UI___()
66#endif
67
68// ä³Î ¾÷´Ù¿î ÇÔ¼ö
69void DST_UI_ChannelUpDn(bool bUp);
70
71// ä³Î Æ©´×À» ÇÑ´Ù.TUNE_MODE_AUTO
72// void DST_UI_ChannelTune(DS_U8 RF, DS_U16 program_number=0);
73void DST_UI_ChannelTune(DS_U8 RF, DS_U16 program_number);
74
75#if 0
76____Settings_UI___()
77#endif
78
79void DST_UI_InitMenuCursor();
80
81// Aspect ¼³Á¤
82DS_U8 DST_UI_GetAspect(void);
83
84// Aspect ¼³Á¤
85void DST_UI_SetAspect(DS_U8 value);
86
87// MTS Setting (0) Çѱ¹¾î (1) ¿Ü±¹¾î
88DS_U8 DST_UI_GetMTS();
89
90void DST_UI_SetMTS( DS_U8 nVal);
91
92// VI Setting (0) Off (1) On
93DS_U8 DST_UI_GetVI();
94
95void DST_UI_SetVI( DS_U8 nVal);
96
97// CC ¼³Á¤
98void DST_UI_SetCloseCaption(DS_U8 value);
99
100// 0À̸é RF3 1À̸é RF4
101DS_U8 DST_UI_GetCh34(void);
102
103void DST_UI_SetCh34(DS_U8 bVal);
104       
105#if 0
106____Volum_UI___()
107#endif
108
109// º¼·ý ¼³Á¤
110DS_U8 DST_UI_GetVolume(void);
111
112// º¼·ý ¼³Á¤
113void DST_UI_SetVolume(DS_U8 value);
114
115// ¹ÂÆ® ¼³Á¤
116bool DST_UI_GetMute(void);
117
118// ¹ÂÆ® ¼³Á¤
119void DST_UI_SetMute(bool bVal);
120
121#if 0
122____Info_Banner_UI___()
123#endif
124
125// ÇöÀç ¹æ¼ÛÁßÀÎ ºñµð¿À°¡ HD ¹æ¼ÛÀΰ¡?
126bool DST_UI_GetHDInfo(void);
127
128// ÇöÀç CC º¸¿©ÁֱⰡ °¡´ÉÇѰ¡?
129bool DST_UI_GetCCInfo(void);
130
131#if SUPPORT_CHANNEL_EDIT
132// ÇöÀç ä³Î ÆíÁý ¸ðµå È®ÀÎ
133void DST_UI_SetChannelEditEnable(DS_U32 ienable);
134
135#endif
136
137#if 0
138____EPG_UI___()
139#endif
140
141// ÇöÀç ä³ÎÀÇ Ã¤³Î¹øÈ£¿Í À̸§À» °¡Á®¿Â´Ù.
142// ¹Ýȯ°ªÀÌ trueÀ̸é ä³Î¸Ê¿¡ Àִ ä³Î false¸é ¾ø´Â ä³Î
143// chNum È­¸é¿¡ Ç¥½ÃÇÒ Ã¤³Î ¹øÈ£
144// chName È­¸é¿¡ Ç¥½ÃÇÒ Ã¤³Î À̸§
145// num ¼ýÀÚ·Î µÈ ä³Î ¹øÈ£
146// ÀÔ·Â ¹è¿­ ±æÀÌ chNum 20ÀÚ chName 21ÀÚ
147//bool DST_UI_GetCurrentChannelInfo(char* chNum, DS_U32* chName, int *num);
148//bool DST_UI_GetCurrentChannelInfo2(char* chNum, DS_U32* chName, int *num);
149int DST_GetCurrentChannelIndex2(void);
150
151// ä³Î¹øÈ£ ä³ÎÀ̸§
152// ÀÔ·Â ¹è¿­ ±æÀÌ 40ÀÚ
153int DST_UI_GetCurrentChannelInfo(DS_U32 *chInfo);
154
155// ½Ã°£ ¹®ÀÚ¿­À» ¹ÝȯÇÑ´Ù.
156int DST_UI_GetTimeString(int hour, int min, DS_U16* timeInfo);
157
158// Á֯ļö Å×ÀÌºí °¹¼ö
159int DST_GetFreqCount();
160// À妽º¸¦ ÀÔ·ÂÇϰí Á֯ļö ¹øÈ£¸¦ ¹Þ´Â´Ù.
161DS_U16 DST_GetFrequencyNumberbyIndex(int index);
162// À妽º¸¦ ÀÔ·ÂÇϰí MHz ´ÜÀ§ÀÇ Á֯ļö¸¦ ¹Þ´Â´Ù.
163DS_U16 DST_GetMHzFrequencybyIndex(int index);
164// Á֯ļö ¹øÈ£¸¦ ÀÔ·ÂÇϰí À妽º °ªÀ» ¹Þ´Â´Ù.
165int DST_GetIndexByRFNumber(int rf_number);
166// MHz´ÜÀ§ÀÇ Á֯ļö¸¦ ÀÔ·ÂÇϰí À妽º °ªÀ» ¹Þ´Â´Ù.
167int DST_GetIndexByMHzFrequency(int MHz);
168
169#endif //__DST_USERINTERFACE_H__
170
Note: See TracBrowser for help on using the repository browser.