00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 NAME IMCV
00032
00033
00034
00035 #include <eikon.rh>
00036 #include "imageconverter.hrh"
00037 #include <avkon.rsg>
00038 #include <avkon.rh>
00039 #include <avkon.mbg>
00040 #include <CommonDialogs.hrh>
00041 #include <CommonDialogs.rh>
00042 #include <appinfo.rh>
00043 #include "ImageConverter.rls"
00044
00045
00046
00047 RESOURCE RSS_SIGNATURE { }
00048
00049 RESOURCE TBUF { buf = "ImageConverter"; }
00050
00051 RESOURCE EIK_APP_INFO
00052 {
00053 hotkeys = r_imageconverter_hotkeys;
00054 menubar = r_imageconverter_menubar;
00055 status_pane = r_status_pane_empty;
00056 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00057 }
00058
00059
00060 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
00061 {
00062 short_caption = "ImageConverter";
00063 caption_and_icon =
00064 CAPTION_AND_ICON_INFO
00065 {
00066 caption="ImageConverter";
00067
00068 icon_file = "\\resource\\apps\\ImageConverter.mif";
00069 };
00070 }
00071
00072 RESOURCE STATUS_PANE_APP_MODEL r_status_pane_empty
00073 {
00074 layout = R_AVKON_STATUS_PANE_LAYOUT_EMPTY;
00075 }
00076
00077
00078
00079
00080
00081
00082
00083 RESOURCE HOTKEYS r_imageconverter_hotkeys
00084 {
00085 control =
00086 {
00087 HOTKEY { command = EAknCmdExit; key='e'; }
00088 };
00089 }
00090
00091
00092
00093
00094
00095
00096
00097 RESOURCE MENU_BAR r_imageconverter_menubar
00098 {
00099 titles =
00100 {
00101 MENU_TITLE { menu_pane = r_imageconverter_menu; txt = "File"; }
00102 };
00103 }
00104
00105
00106
00107
00108
00109
00110
00111 RESOURCE MENU_PANE r_imageconverter_menu
00112 {
00113 items =
00114 {
00115 MENU_ITEM { command = EImageConverterCmdOpen; txt = "Open"; },
00116 MENU_ITEM { command = EImageConverterCmdSaveAs; txt = "Save As"; },
00117 MENU_ITEM { command = EImageConverterCmdNext; txt = "Next"; },
00118 MENU_ITEM { command = EImageConverterCmdPrev; txt = "Previous"; },
00119 MENU_ITEM { command = EImageConverterCmdZoomIn; txt = "Zoom in"; },
00120 MENU_ITEM { command = EImageConverterCmdZoomOut; txt = "Zoom out"; },
00121 MENU_ITEM { command = EImageConverterCmdRotate; cascade = r_imageconverter_cascade_rotate; txt = "Rotate";},
00122 MENU_ITEM { command = EImageConverterCmdOrientation; txt = "Change orientation"; },
00123 MENU_ITEM { command = EImageConverterCmdInfo; txt = "Image Details"; },
00124 MENU_ITEM { command = EImageConverterCmdHelp; txt = "Help"; },
00125 MENU_ITEM { command = EImageConverterCmdAbout; txt = "About"; },
00126 MENU_ITEM { command = EAknCmdExit; txt = "Exit"; }
00127 };
00128 }
00129
00130 RESOURCE MENU_PANE r_imageconverter_cascade_rotate
00131 {
00132 items =
00133 {
00134 MENU_ITEM { command = EImageConverterCmdRotateLeft; txt = "Left";},
00135 MENU_ITEM { command = EImageConverterCmdRotateRight; txt = "Right";}
00136 };
00137 }
00138
00139
00140 RESOURCE DIALOG r_imageconverter_typeselection_dialog
00141 {
00142 flags = EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
00143 EEikDialogFlagNoTitleBar | EEikDialogFlagNoBorder |
00144 EEikDialogFlagCbaButtons | EEikDialogFlagWait | EEikDialogFlagDensePacking;
00145
00146 buttons = R_AVKON_SOFTKEYS_OK_BACK;
00147 }
00148
00149 RESOURCE DIALOG r_imageconverter_showinfo_dialog
00150 {
00151 flags = EGeneralQueryFlags;
00152 buttons = R_AVKON_SOFTKEYS_CLOSE;
00153 }
00154
00155
00156 RESOURCE MEMORYSELECTIONDIALOG r_memory_selection_dialog
00157 {
00158 title = "Select location";
00159 softkey_1 = "Ok";
00160 softkey_2 = "Back";
00161 locations =
00162 {
00163 LOCATION { root_path = "C:\\"; }
00164 };
00165 }
00166
00167 RESOURCE DIALOG R_QUERY_DIALOG
00168 {
00169 flags = EGeneralQueryFlags;
00170 buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
00171 items=
00172 {
00173 DLG_LINE
00174 {
00175 type = EAknCtQuery;
00176 id = EGeneralQuery;
00177 control= AVKON_DATA_QUERY
00178 {
00179 layout = EDataLayout;
00180 control = EDWIN
00181 {
00182 flags= EEikEdwinNoHorizScrolling | EEikEdwinResizable;
00183 maxlength = 10;
00184 width = 4;
00185 lines = 1;
00186 };
00187 };
00188 }
00189 };
00190 }
00191
00192 RESOURCE DIALOG r_about_query_dialog
00193 {
00194 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
00195 buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
00196 items=
00197 {
00198 DLG_LINE
00199 {
00200 type = EAknCtPopupHeadingPane;
00201 id = EAknMessageQueryHeaderId;
00202 itemflags = EEikDlgItemNonFocusing;
00203 control = AVKON_HEADING
00204 {
00205 };
00206 },
00207 DLG_LINE
00208 {
00209 type = EAknCtMessageQuery;
00210 id = EAknMessageQueryContentId;
00211 control = AVKON_MESSAGE_QUERY
00212 {
00213 };
00214 }
00215 };
00216 }
00217
00218 RESOURCE DIALOG r_selection_query
00219 {
00220 flags = EGeneralQueryFlags;
00221 buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
00222 items =
00223 {
00224 DLG_LINE
00225 {
00226 type = EAknCtListQueryControl;
00227 id = EListQueryControl;
00228 control = AVKON_LIST_QUERY_CONTROL
00229 {
00230 listtype = EAknCtSinglePopupMenuListBox;
00231 listbox = LISTBOX
00232 {
00233 flags = EAknListBoxSelectionList;
00234 height = 3;
00235 width = 3;
00236 };
00237 heading = "Select format";
00238 };
00239 }
00240 };
00241 }
00242
00243 RESOURCE TBUF32 r_about_dialog_title { buf=qtn_about_dialog_title; }
00244 RESOURCE TBUF r_about_dialog_text { buf=qtn_about_dialog_text; }
00245
00246
00247