sl@0
|
1 |
// Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
//
|
sl@0
|
15 |
|
sl@0
|
16 |
NAME TCAM
|
sl@0
|
17 |
|
sl@0
|
18 |
#include <techview/eikon.rh>
|
sl@0
|
19 |
|
sl@0
|
20 |
#include "TestCameraApp.hrh"
|
sl@0
|
21 |
|
sl@0
|
22 |
RESOURCE RSS_SIGNATURE { }
|
sl@0
|
23 |
|
sl@0
|
24 |
RESOURCE TBUF { buf=""; }
|
sl@0
|
25 |
|
sl@0
|
26 |
RESOURCE EIK_APP_INFO
|
sl@0
|
27 |
{
|
sl@0
|
28 |
menubar=r_tcam_menubar;
|
sl@0
|
29 |
hotkeys=r_tcam_hotkeys;
|
sl@0
|
30 |
}
|
sl@0
|
31 |
|
sl@0
|
32 |
RESOURCE HOTKEYS r_tcam_hotkeys
|
sl@0
|
33 |
{
|
sl@0
|
34 |
control=
|
sl@0
|
35 |
{
|
sl@0
|
36 |
HOTKEY { command=ETCamCmdIncBrightness; key='b'; },
|
sl@0
|
37 |
HOTKEY { command=ETCamCmdIncContrast; key='c'; },
|
sl@0
|
38 |
HOTKEY { command=EEikCmdExit; key='e'; },
|
sl@0
|
39 |
HOTKEY { command=ETCamCmdViewFinder; key='f'; },
|
sl@0
|
40 |
HOTKEY { command=ETCamCmdCaptureImage; key='i'; },
|
sl@0
|
41 |
HOTKEY { command=ETCamCmdBurstMode; key='d'; },
|
sl@0
|
42 |
HOTKEY { command=ETCamCmdPowerOn; key='o'; },
|
sl@0
|
43 |
HOTKEY { command=ETCamCmdCaptureVideo; key='v'; },
|
sl@0
|
44 |
HOTKEY { command=ETCamCmdIncNumBurstImages; key='n'; },
|
sl@0
|
45 |
HOTKEY { command=ETCamCmdFactoryPreset; key='p'; },
|
sl@0
|
46 |
HOTKEY { command=ETCamCmdOutdoorSportPreset; key='s'; },
|
sl@0
|
47 |
HOTKEY { command=ETCamCmdNightPartyIndoorPreset; key='a'; },
|
sl@0
|
48 |
HOTKEY { command=ETCamCmdImgProcIncBrightness; key='g'; },
|
sl@0
|
49 |
HOTKEY { command=ETCamCmdImgProcIncContrast; key='h'; },
|
sl@0
|
50 |
HOTKEY { command=ETCamCmdEnableSnapshot; key='j'; }
|
sl@0
|
51 |
};
|
sl@0
|
52 |
shift_control=
|
sl@0
|
53 |
{
|
sl@0
|
54 |
HOTKEY { command=ETCamCmdDecBrightness; key='b'; },
|
sl@0
|
55 |
HOTKEY { command=ETCamCmdDecContrast; key='c'; },
|
sl@0
|
56 |
HOTKEY { command=ETCamCmdDecNumBurstImages; key='n'; },
|
sl@0
|
57 |
HOTKEY { command=ETCamCmdPowerOff; key='o'; },
|
sl@0
|
58 |
HOTKEY { command=ETCamCmdResetBrightness; key='s'; },
|
sl@0
|
59 |
HOTKEY { command=ETCamCmdResetContrast; key='t'; },
|
sl@0
|
60 |
HOTKEY { command=ETCamCmdResetNumBurstImages; key='p'; },
|
sl@0
|
61 |
HOTKEY { command=ETCamCmdOutdoorPreset; key='d'; },
|
sl@0
|
62 |
HOTKEY { command=ETCamCmdFogPreset; key='a'; },
|
sl@0
|
63 |
HOTKEY { command=ETCamCmdTextDocumentPreset; key='t'; },
|
sl@0
|
64 |
HOTKEY { command=ETCamCmdImgProcDecBrightness; key='g'; },
|
sl@0
|
65 |
HOTKEY { command=ETCamCmdImgProcDecContrast; key='h'; },
|
sl@0
|
66 |
HOTKEY { command=ETCamCmdDisableSnapshot; key='j'; }
|
sl@0
|
67 |
};
|
sl@0
|
68 |
}
|
sl@0
|
69 |
|
sl@0
|
70 |
RESOURCE MENU_BAR r_tcam_menubar
|
sl@0
|
71 |
{
|
sl@0
|
72 |
titles=
|
sl@0
|
73 |
{
|
sl@0
|
74 |
MENU_TITLE { menu_pane=r_tcam_control_menu; txt="Control"; },
|
sl@0
|
75 |
MENU_TITLE { menu_pane=r_tcam_settings_menu; txt="Settings"; },
|
sl@0
|
76 |
MENU_TITLE { menu_pane=r_tcam_presets_menu; txt="Presets"; },
|
sl@0
|
77 |
MENU_TITLE { menu_pane=r_tcam_imageprocessing_menu; txt="Image Processing"; },
|
sl@0
|
78 |
MENU_TITLE { menu_pane=r_tcam_snapshot_menu; txt="Snapshot"; }
|
sl@0
|
79 |
};
|
sl@0
|
80 |
}
|
sl@0
|
81 |
|
sl@0
|
82 |
RESOURCE MENU_PANE r_tcam_control_menu
|
sl@0
|
83 |
{
|
sl@0
|
84 |
items=
|
sl@0
|
85 |
{
|
sl@0
|
86 |
MENU_ITEM { command=ETCamCmdPowerOn; txt="Power on"; },
|
sl@0
|
87 |
MENU_ITEM { command=ETCamCmdPowerOff; txt="Power off"; flags=EEikMenuItemSeparatorAfter; },
|
sl@0
|
88 |
MENU_ITEM { command=ETCamCmdViewFinder; txt="View finder"; },
|
sl@0
|
89 |
MENU_ITEM { command=ETCamCmdCaptureImage; txt="Single Image Capture"; },
|
sl@0
|
90 |
MENU_ITEM { command=ETCamCmdBurstMode; txt="Burst Mode Image Capture"; },
|
sl@0
|
91 |
MENU_ITEM { command=ETCamCmdCaptureVideo; txt="Capture video"; flags=EEikMenuItemSeparatorAfter; },
|
sl@0
|
92 |
MENU_ITEM { command=EEikCmdExit; txt="Close"; }
|
sl@0
|
93 |
};
|
sl@0
|
94 |
}
|
sl@0
|
95 |
|
sl@0
|
96 |
RESOURCE MENU_PANE r_tcam_settings_menu
|
sl@0
|
97 |
{
|
sl@0
|
98 |
items=
|
sl@0
|
99 |
{
|
sl@0
|
100 |
MENU_ITEM { command=ETCamCmdIncContrast; txt="Contrast+"; },
|
sl@0
|
101 |
MENU_ITEM { command=ETCamCmdDecContrast; txt="Contrast-"; },
|
sl@0
|
102 |
MENU_ITEM { command=ETCamCmdResetContrast; txt="Reset contrast"; flags=EEikMenuItemSeparatorAfter; },
|
sl@0
|
103 |
MENU_ITEM { command=ETCamCmdIncBrightness; txt="Brightness+"; },
|
sl@0
|
104 |
MENU_ITEM { command=ETCamCmdDecBrightness; txt="Brightness-"; },
|
sl@0
|
105 |
MENU_ITEM { command=ETCamCmdResetBrightness; txt="Reset brightness"; flags=EEikMenuItemSeparatorAfter;},
|
sl@0
|
106 |
MENU_ITEM { command=ETCamCmdIncNumBurstImages; txt="BurstImage+"; },
|
sl@0
|
107 |
MENU_ITEM { command=ETCamCmdDecNumBurstImages; txt="BurstImage-"; },
|
sl@0
|
108 |
MENU_ITEM { command=ETCamCmdResetNumBurstImages; txt="Reset BurstImage"; }
|
sl@0
|
109 |
};
|
sl@0
|
110 |
}
|
sl@0
|
111 |
|
sl@0
|
112 |
RESOURCE MENU_PANE r_tcam_presets_menu
|
sl@0
|
113 |
{
|
sl@0
|
114 |
items=
|
sl@0
|
115 |
{
|
sl@0
|
116 |
MENU_ITEM { command=ETCamCmdFactoryPreset; txt="Factory"; },
|
sl@0
|
117 |
MENU_ITEM { command=ETCamCmdOutdoorPreset; txt="Outdoor"; },
|
sl@0
|
118 |
MENU_ITEM { command=ETCamCmdOutdoorSportPreset; txt="OutdoorSport"; },
|
sl@0
|
119 |
MENU_ITEM { command=ETCamCmdFogPreset; txt="Fog"; },
|
sl@0
|
120 |
MENU_ITEM { command=ETCamCmdNightPartyIndoorPreset; txt="NightPartyIndoor"; },
|
sl@0
|
121 |
MENU_ITEM { command=ETCamCmdTextDocumentPreset; txt="TextDocument"; }
|
sl@0
|
122 |
};
|
sl@0
|
123 |
}
|
sl@0
|
124 |
|
sl@0
|
125 |
RESOURCE MENU_PANE r_tcam_imageprocessing_menu
|
sl@0
|
126 |
{
|
sl@0
|
127 |
items=
|
sl@0
|
128 |
{
|
sl@0
|
129 |
MENU_ITEM { command=ETCamCmdImgProcIncBrightness; txt="Brightness+"; },
|
sl@0
|
130 |
MENU_ITEM { command=ETCamCmdImgProcDecBrightness; txt="Brightness-"; },
|
sl@0
|
131 |
MENU_ITEM { command=ETCamCmdImgProcIncContrast; txt="Contrast+"; },
|
sl@0
|
132 |
MENU_ITEM { command=ETCamCmdImgProcDecContrast; txt="Contrast-"; }
|
sl@0
|
133 |
};
|
sl@0
|
134 |
}
|
sl@0
|
135 |
|
sl@0
|
136 |
RESOURCE MENU_PANE r_tcam_snapshot_menu
|
sl@0
|
137 |
{
|
sl@0
|
138 |
items=
|
sl@0
|
139 |
{
|
sl@0
|
140 |
MENU_ITEM { command=ETCamCmdEnableSnapshot; txt="Enable Snapshot"; },
|
sl@0
|
141 |
MENU_ITEM { command=ETCamCmdDisableSnapshot; txt="Disable Snapshot"; }
|
sl@0
|
142 |
};
|
sl@0
|
143 |
}
|