diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_custom_controls_8rss-source.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_custom_controls_8rss-source.html Tue Mar 30 11:56:28 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,133 +0,0 @@ - -
-00001 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). -00002 // All rights reserved. -00003 // This component and the accompanying materials are made available -00004 // under the terms of "Eclipse Public License v1.0" -00005 // which accompanies this distribution, and is available -00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". -00007 // -00008 // Initial Contributors: -00009 // Nokia Corporation - initial contribution. -00010 // -00011 // Contributors: -00012 // -00013 // Description: -00014 // COSMILEY.RSS -00015 // -00016 -00017 -00018 NAME COSM -00019 // Include definitions of resource STRUCTS used by this -00020 // resource script -00021 #include <eikon.rh> -00022 -00023 // Include the standard resource ids -00024 #include <eikon.rsg> -00025 -00026 // Include the symbol definitions used by C++ code and -00027 // this resource script. -00028 #include <eikon.hrh> -00029 -00030 #include "CustomControls.hrh" -00031 #include "CustomControls.rh" -00032 -00033 RESOURCE RSS_SIGNATURE -00034 { -00035 } -00036 -00037 RESOURCE TBUF { buf=""; } // default document name -00038 -00039 -00040 RESOURCE EIK_APP_INFO -00041 { -00042 hotkeys=r_example_hotkeys; -00043 menubar=r_example_main_menubar; -00044 } -00045 -00046 -00048 // -00049 // Dialog containing smileys -00050 // -00052 -00053 -00054 RESOURCE DIALOG r_smiley_dialog -00055 { -00056 title="Smileys"; -00057 buttons=R_EIK_BUTTONS_CANCEL_OK; -00058 items= -00059 { -00060 DLG_LINE -00061 { -00062 type=ESmileyControl; -00063 id=ESmileyControlIdData; -00064 control=SMILEYCONTROL -00065 { -00066 mood=EHappy; -00067 width=200; -00068 }; -00069 } -00070 }; -00071 } -00072 -00073 -00074 -00076 // -00077 // Short cut keys -00078 // -00080 RESOURCE HOTKEYS r_example_hotkeys -00081 { -00082 control= -00083 { -00084 HOTKEY {command=EEikCmdExit; key='e';}, -00085 HOTKEY {command=ECreateSmileyDialog; key='d';} -00086 }; -00087 } -00088 -00090 // -00091 // The menu bar -00092 // -00094 RESOURCE MENU_BAR r_example_main_menubar -00095 { -00096 titles= -00097 { -00098 MENU_TITLE { menu_pane=r_example_file_menu; txt="File"; } -00099 }; -00100 } -00101 -00103 // -00104 // The "file" menu pane hung directly from the menu bar -00105 // -00107 RESOURCE MENU_PANE r_example_file_menu -00108 { -00109 items= -00110 { -00111 MENU_ITEM -00112 { -00113 command=ECreateSmileyDialog; -00114 txt="Create Smiley Dialog"; -00115 }, -00116 MENU_ITEM -00117 { -00118 command=EEikCmdExit; -00119 txt="Exit"; -00120 } -00121 }; -00122 } -00123 -00125 // -00126 // Text resources for info messages -00127 // -00129 -00130 RESOURCE TBUF r_example_text_validate { buf="They can't both be miserable!";} -00131 -