FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuGetButtonIcon.c
Go to the documentation of this file.
1
#include "
FBLib_TMSOSDMenu.h
"
2
3
tButtonIcon
OSDMenuGetButtonIcon
(dword key)
4
{
5
TRACEENTER
();
6
7
tButtonIcon
ret =
BI_None
;
8
9
switch
(key)
10
{
11
case
0: ret =
BI_None
;
break
;
12
case
RKEY_0: ret =
BI_0
;
break
;
13
case
RKEY_1: ret =
BI_1
;
break
;
14
case
RKEY_2: ret =
BI_2
;
break
;
15
case
RKEY_3: ret =
BI_3
;
break
;
16
case
RKEY_4: ret =
BI_4
;
break
;
17
case
RKEY_5: ret =
BI_5
;
break
;
18
case
RKEY_6: ret =
BI_6
;
break
;
19
case
RKEY_7: ret =
BI_7
;
break
;
20
case
RKEY_8: ret =
BI_8
;
break
;
21
case
RKEY_9: ret =
BI_9
;
break
;
22
case
RKEY_Uhf: ret =
BI_AR
;
break
;
23
case
RKEY_AudioTrk: ret =
BI_Audio
;
break
;
24
//case RKEY_: ret = BI_Aux; break;
25
case
RKEY_Blue
: ret =
BI_Blue
;
break
;
26
case
RKEY_Ab: ret =
BI_Cut
;
break
;
27
case
RKEY_Down: ret =
BI_Down
;
break
;
28
case
RKEY_Exit: ret =
BI_Exit
;
break
;
29
case
RKEY_Fav: ret =
BI_Fav
;
break
;
30
case
RKEY_Forward: ret =
BI_Ffwd
;
break
;
31
case
RKEY_PlayList: ret =
BI_FileList
;
break
;
32
case
RKEY_Green
: ret =
BI_Green
;
break
;
33
case
RKEY_Guide: ret =
BI_Guide
;
break
;
34
case
RKEY_Info: ret =
BI_Info
;
break
;
35
case
RKEY_Next: ret =
BI_JumpEnd
;
break
;
36
case
RKEY_Prev: ret =
BI_JumpStart
;
break
;
37
case
RKEY_Left: ret =
BI_Left
;
break
;
38
//case RKEY_: ret = BI_List; break;
39
case
RKEY_TvSat: ret =
BI_M
;
break
;
40
case
RKEY_Menu: ret =
BI_Menu
;
break
;
41
case
RKEY_Mute: ret =
BI_Mute
;
break
;
42
case
RKEY_Ok: ret =
BI_Ok
;
break
;
43
//case RKEY_: ret = BI_Option; break;
44
case
RKEY_Pause: ret =
BI_Pause
;
break
;
45
case
RKEY_Play: ret =
BI_Play
;
break
;
46
case
RKEY_ChDown: ret =
BI_ProgMinus
;
break
;
47
case
RKEY_ChUp: ret =
BI_ProgPlus
;
break
;
48
case
RKEY_Recall: ret =
BI_Recall
;
break
;
49
case
RKEY_Record: ret =
BI_Record
;
break
;
50
case
RKEY_Red
: ret =
BI_Red
;
break
;
51
case
RKEY_Right: ret =
BI_Right
;
break
;
52
case
RKEY_Rewind: ret =
BI_Rwd
;
break
;
53
case
RKEY_Sat: ret =
BI_Sat
;
break
;
54
//case RKEY_: ret = BI_Select; break;
55
case
RKEY_Sleep: ret =
BI_Sleep
;
break
;
56
case
RKEY_Slow: ret =
BI_Step
;
break
;
57
case
RKEY_Stop: ret =
BI_Stop
;
break
;
58
case
RKEY_Subt: ret =
BI_Subtitle
;
break
;
59
case
RKEY_Teletext: ret =
BI_TTX
;
break
;
60
case
RKEY_TvRadio: ret =
BI_TV_Radio
;
break
;
61
case
RKEY_Up: ret =
BI_Up
;
break
;
62
case
RKEY_VFormat: ret =
BI_VF
;
break
;
63
case
RKEY_VolDown: ret =
BI_VolMinus
;
break
;
64
case
RKEY_VolUp: ret =
BI_VolPlus
;
break
;
65
case
RKEY_White
: ret =
BI_White
;
break
;
66
case
RKEY_Yellow
: ret =
BI_Yellow
;
break
;
67
}
68
69
TRACEEXIT
();
70
return
ret;
71
}
FBLib_TMSOSDMenu.h
OSDMenuGetButtonIcon
tButtonIcon OSDMenuGetButtonIcon(dword key)
Definition:
OSDMenuGetButtonIcon.c:3
tButtonIcon
tButtonIcon
Definition:
libFireBird.h:2803
BI_4
@ BI_4
Definition:
libFireBird.h:2809
BI_ProgPlus
@ BI_ProgPlus
Definition:
libFireBird.h:2840
BI_Right
@ BI_Right
Definition:
libFireBird.h:2844
BI_JumpEnd
@ BI_JumpEnd
Definition:
libFireBird.h:2828
BI_Ok
@ BI_Ok
Definition:
libFireBird.h:2835
BI_Ffwd
@ BI_Ffwd
Definition:
libFireBird.h:2823
BI_7
@ BI_7
Definition:
libFireBird.h:2812
BI_Guide
@ BI_Guide
Definition:
libFireBird.h:2826
BI_Subtitle
@ BI_Subtitle
Definition:
libFireBird.h:2851
BI_6
@ BI_6
Definition:
libFireBird.h:2811
BI_VolPlus
@ BI_VolPlus
Definition:
libFireBird.h:2857
BI_Blue
@ BI_Blue
Definition:
libFireBird.h:2818
BI_None
@ BI_None
Definition:
libFireBird.h:2804
BI_M
@ BI_M
Definition:
libFireBird.h:2832
BI_TTX
@ BI_TTX
Definition:
libFireBird.h:2852
BI_3
@ BI_3
Definition:
libFireBird.h:2808
BI_Mute
@ BI_Mute
Definition:
libFireBird.h:2834
BI_5
@ BI_5
Definition:
libFireBird.h:2810
BI_TV_Radio
@ BI_TV_Radio
Definition:
libFireBird.h:2853
BI_Up
@ BI_Up
Definition:
libFireBird.h:2854
BI_Stop
@ BI_Stop
Definition:
libFireBird.h:2850
BI_Sat
@ BI_Sat
Definition:
libFireBird.h:2846
BI_Rwd
@ BI_Rwd
Definition:
libFireBird.h:2845
BI_Sleep
@ BI_Sleep
Definition:
libFireBird.h:2848
BI_Exit
@ BI_Exit
Definition:
libFireBird.h:2821
BI_Audio
@ BI_Audio
Definition:
libFireBird.h:2816
BI_Green
@ BI_Green
Definition:
libFireBird.h:2825
BI_FileList
@ BI_FileList
Definition:
libFireBird.h:2824
BI_ProgMinus
@ BI_ProgMinus
Definition:
libFireBird.h:2839
BI_Down
@ BI_Down
Definition:
libFireBird.h:2820
BI_Yellow
@ BI_Yellow
Definition:
libFireBird.h:2859
BI_8
@ BI_8
Definition:
libFireBird.h:2813
BI_0
@ BI_0
Definition:
libFireBird.h:2805
BI_AR
@ BI_AR
Definition:
libFireBird.h:2815
BI_Info
@ BI_Info
Definition:
libFireBird.h:2827
BI_Menu
@ BI_Menu
Definition:
libFireBird.h:2833
BI_Cut
@ BI_Cut
Definition:
libFireBird.h:2819
BI_JumpStart
@ BI_JumpStart
Definition:
libFireBird.h:2829
BI_VF
@ BI_VF
Definition:
libFireBird.h:2855
BI_Fav
@ BI_Fav
Definition:
libFireBird.h:2822
BI_VolMinus
@ BI_VolMinus
Definition:
libFireBird.h:2856
BI_Record
@ BI_Record
Definition:
libFireBird.h:2842
BI_White
@ BI_White
Definition:
libFireBird.h:2858
BI_1
@ BI_1
Definition:
libFireBird.h:2806
BI_Recall
@ BI_Recall
Definition:
libFireBird.h:2841
BI_9
@ BI_9
Definition:
libFireBird.h:2814
BI_Pause
@ BI_Pause
Definition:
libFireBird.h:2837
BI_Step
@ BI_Step
Definition:
libFireBird.h:2849
BI_Left
@ BI_Left
Definition:
libFireBird.h:2830
BI_2
@ BI_2
Definition:
libFireBird.h:2807
BI_Red
@ BI_Red
Definition:
libFireBird.h:2843
BI_Play
@ BI_Play
Definition:
libFireBird.h:2838
RKEY_White
#define RKEY_White
Definition:
libFireBird.h:216
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
RKEY_Red
#define RKEY_Red
Definition:
libFireBird.h:211
RKEY_Yellow
#define RKEY_Yellow
Definition:
libFireBird.h:213
RKEY_Green
#define RKEY_Green
Definition:
libFireBird.h:212
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
RKEY_Blue
#define RKEY_Blue
Definition:
libFireBird.h:214
TMSOSDMenu
OSDMenuGetButtonIcon.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3