00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include <eikon.rh>
00018 #include <AppInfo.rh>
00019 #include <qikon.rh>
00020 #include <QikCommand.rh>
00021
00022 #include "MidiPlaying.hrh"
00023 #include "MidiPlaying.rls"
00024
00025 NAME HLWD
00026
00027 RESOURCE RSS_SIGNATURE { }
00028
00029 RESOURCE TBUF { buf = ""; }
00030
00031 RESOURCE EIK_APP_INFO { }
00032
00033 RESOURCE LOCALISABLE_APP_INFO r_midiplaying_localisable_app_info
00034 {
00035 short_caption = string_r_midiplaying_caption;
00036 caption_and_icon =
00037 CAPTION_AND_ICON_INFO
00038 {
00039 caption = string_r_midiplaying_caption;
00040 number_of_icons = 3;
00041 icon_file = "\\resource\\apps\\MidiPlaying.mbm";
00042 };
00043 }
00044
00045 RESOURCE QIK_VIEW_CONFIGURATIONS r_midiplaying_ui_configurations
00046 {
00047 configurations =
00048 {
00049 QIK_VIEW_CONFIGURATION
00050 {
00051 ui_config_mode = KQikPenStyleTouchPortrait;
00052 command_list = r_midiplaying_commands;
00053 view = r_midiplaying_layout;
00054 },
00055 QIK_VIEW_CONFIGURATION
00056 {
00057 ui_config_mode = KQikPenStyleTouchLandscape;
00058 command_list = r_midiplaying_commands;
00059 view = r_midiplaying_layout;
00060 },
00061 QIK_VIEW_CONFIGURATION
00062 {
00063 ui_config_mode = KQikSoftkeyStyleTouchPortrait;
00064 command_list = r_midiplaying_commands;
00065 view = r_midiplaying_layout;
00066 },
00067 QIK_VIEW_CONFIGURATION
00068 {
00069 ui_config_mode = KQikSoftkeyStylePortrait;
00070 command_list = r_midiplaying_commands;
00071 view = r_midiplaying_layout;
00072 },
00073 QIK_VIEW_CONFIGURATION
00074 {
00075 ui_config_mode = KQikSoftkeyStyleSmallPortrait;
00076 command_list = r_midiplaying_commands;
00077 view = r_midiplaying_layout;
00078 }
00079 };
00080 }
00081
00082 RESOURCE QIK_COMMAND_LIST r_midiplaying_commands
00083 {
00084 items =
00085 {
00086 QIK_COMMAND
00087 {
00088 id = EEikCmdExit;
00089 type = EQikCommandTypeScreen;
00090 stateFlags = EQikCmdFlagDebugOnly;
00091 text = string_r_midiplaying_close_debug;
00092 },
00093 QIK_COMMAND
00094 {
00095 id = EMidiPlayingPlay;
00096 type = EQikCommandTypeScreen;
00097 text = string_r_midiplaying_play;
00098 },
00099 QIK_COMMAND
00100 {
00101 id = EMidiPlayingStopPlaying;
00102 type = EQikCommandTypeScreen;
00103 text = string_r_midiplaying_stopplaying;
00104 }
00105 };
00106 }
00107 RESOURCE QIK_VIEW r_midiplaying_layout
00108 {
00109 pages = r_midiplaying_layout_pages;
00110 }
00111
00112 RESOURCE QIK_VIEW_PAGES r_midiplaying_layout_pages
00113 {
00114 pages =
00115 {
00116 QIK_VIEW_PAGE
00117 {
00118 page_id = EMidiPlayingMainViewPage;
00119 page_content = r_midiplaying_page_control;
00120 }
00121 };
00122 }
00123
00124 RESOURCE QIK_CONTAINER_SETTINGS r_midiplaying_page_control
00125 {
00126 layout_manager_type = EQikGridLayoutManager;
00127 layout_manager = r_midiplaying_grid_layout_manager;
00128 controls =
00129 {
00130 QIK_CONTAINER_ITEM_CI_LI
00131 {
00132 unique_handle = EMidiPlayingLabelCtrl;
00133 type = EEikCtLabel;
00134 control = r_midiplaying_label;
00135 }
00136 };
00137 }
00138
00139
00140 RESOURCE LABEL r_midiplaying_label
00141 {
00142 horiz_align = EEikLabelAlignHLeft;
00143 standard_font = EEikLabelFontLegend;
00144 txt = string_r_midiplaying_text;
00145 }
00146
00147 RESOURCE QIK_GRID_LAYOUT_MANAGER r_midiplaying_grid_layout_manager
00148 {
00149 columns = 1;
00150 rows = 1;
00151 default_layout_data = QIK_GRID_LAYOUT_DATA
00152 {
00153 horizontal_alignment = EQikLayoutHAlignInherit;
00154 vertical_alignment = EQikLayoutVAlignInherit;
00155 };
00156 }
00157
00158 #include "MidiPlaying_string.rss"
00159
00160