avk_pluto_rotation.cpp
1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
extern "C" void avk_pluto_rotation_entry(void);
AVK_MANUAL_CASE(AVK_PLUTO_ROTATION_AUTO_001,AVK_PLUTO_ROTATION)
{
avk_pluto_rotation_entry();
}
/*****************************************************************************
* FUNCTION
* avk_pluto_screen_entry
* DESCRIPTION
* Simple program to test Screen API's
* PARAMETERS
* void
* RETURNS
* void
*****************************************************************************/
void avk_pluto_rotation_entry(void)
{
/*----------------------------------------------------------------*/
/* Local Variables */
/*----------------------------------------------------------------*/
U16 list_of_items[] = {STR_GLOBAL_1,
STR_GLOBAL_2};
U16 list_of_icons[] = {IMG_GLOBAL_L1,
IMG_GLOBAL_L2};
/*----------------------------------------------------------------*/
/* Code Body */
/*----------------------------------------------------------------*/
if(!mmi_frm_scrn_enter(AVK_MAIN_GRP_ID, AVK_SCR_ID_1, NULL, avk_pluto_rotation_entry, MMI_FRM_FULL_SCRN))
{
return;
}
#ifdef __MMI_SCREEN_ROTATE__
mmi_frm_screen_rotate(MMI_FRM_SCREEN_ROTATE_270);
#endif
ShowCategory52Screen(0,
0,
AVK_STR_PASS,
0,
AVK_STR_FAIL,
0,
1,
list_of_items,
list_of_icons,
NULL,
1,
0,
NULL);
AVK_SET_PASSKEY(NULL);
AVK_SET_FAILKEY(NULL);
}