5 #if !defined(__BADEF_RH__)
9 #if !defined(__UIKON_HRH__)
14 STRUCT BTG_RESOURCE_COLLECTION
19 * Copyright (c) 1997-1999 Nokia Corporation and/or its subsidiary(-ies).
20 * All rights reserved.
21 * This component and the accompanying materials are made available
22 * under the terms of "Eclipse Public License v1.0"
23 * which accompanies this distribution, and is available
24 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
26 * Initial Contributors:
27 * Nokia Corporation - initial contribution.
36 #define AKN_EDITOR_EXTENSIONS\
37 WORD default_case=EAknEditorTextCase;\
38 WORD allowed_case_modes=EAknEditorAllCaseModes;\
39 WORD numeric_keymap=EAknEditorAlphanumericNumberModeKeymap;\
40 WORD allowed_input_modes=EAknEditorAllInputModes;\
41 WORD default_input_mode=EAknEditorTextInputMode;\
42 LLINK special_character_table=-1;\
43 WORD avkon_flags=EAknEditorFlagDefault;\
44 WORD max_view_height_in_lines=0;\
45 WORD base_line_delta=0;\
59 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
65 WORD horiz_align=EEikLabelAlignHCenter;
66 WORD vert_align=EEikLabelAlignVTop;
75 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
81 WORD horiz_align=EEikLabelAlignHCenter;
82 WORD vert_align=EEikLabelAlignVTop;
83 WORD standard_font=EEikLabelFontNormal;
84 WORD reserve_length=0;
90 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
97 WORD height = 5; // in items
98 WORD width = 10; // in chars
105 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
110 STRUCT items[]; // MENU_ITEMs
129 STRUCT titles[]; // MENU_BAR_ITEMs
147 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
150 //#include <eikcmbut.hrh>
157 WORD layout=0; // ETextRightPictureLeft
168 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
175 WORD breadth=KEikStdToolBarWidth;
185 WORD breadth=KEikStdToolBandHeight;
187 LONG flags=EEikToolBarHorizontal;
203 WORD type=0; // EEikCtCommandButton;
209 WORD layout=0; // ETextRightPictureLeft|EEikCmdButShareExcess
220 WORD type=EEikCtTwoPictureCommandButton;
226 WORD layout=0; // ETextRightPictureLeft|EEikCmdButShareExcess
233 WORD bmpsecondid=0xffff;
234 WORD bmpsecondmask=0xffff;
239 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
247 WORD layout=0; // ETextRightPictureLeft|EEikCmdButShareExcess
260 WORD layout=0; // ETextRightPictureLeft|EEikCmdButShareExcess
267 WORD bmpsecondid=0xffff;
268 WORD bmpsecondmask=0xffff;
275 WORD layout=0; // EFirstRightSecondLeft|EEikCmdButShareExcess
286 WORD layout=0; // ETextRightPictureLeft|EEikCmdButShareExcess
300 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
306 WORD buttontype=0; // EEikCtCommandButton
309 BYTE flags=1; // EEikLabeledButtonShowHotKey
314 LEN BYTE STRUCT controls[];
319 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
322 // only buttons defined in Uikon
326 LONG flags=EEikButtonGroupAddToStack;
333 WORD buttontype=0; // EEikCtCommandButton
343 // Copyright (c) 1998 Symbian Ltd. All rights reserved.
348 LONG flags=EEikButtonGroupAddToStack;
349 WORD breadth=80; // !!! make this accessible from LAF
350 LLINK related_buttons=0;
360 WORD bmpid=0xffff; // -1
361 WORD bmpmask=0xffff; // -1
367 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
370 // buttons are defined in Uikon
390 LTEXT bmpfile = "" ; // NEW AVKON bitmap filename
391 WORD bmpid = 0xffff ; // NEW AVKON icon image ID
392 WORD bmpmask ; // NEW AVKON icon mask ID
393 LTEXT tooltip = "" ; // NEW AVKON hint text for form line
396 STRUCT DLG_LINE_INDIRECT
398 WORD type=EEikDlgItemIndirect;
406 LTEXT bmpfile = "" ; // NEW AVKON bitmap filename
407 WORD bmpid = 0xffff ; // NEW AVKON icon image ID
408 WORD bmpmask ; // NEW AVKON icon mask ID
414 STRUCT DIALOG_INDIRECT
420 WORD count=EEikDlgMainPageIndirect;
432 // Copyright (c) 1998 Symbian Ltd. All rights reserved.
439 WORD height=5; // in items
440 WORD width=0; // in pixels
445 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
456 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
465 WORD flags=0; // a combination of EEikCalendarFlagXxxxxs
467 BYTE nummonthsperrowofmonths;
468 WORD verticalspaceaboveyear;
469 WORD verticalspacebetweenyearandtoprowofmonths;
470 WORD verticalspacebetweeneachrowofmonths;
471 WORD verticalspacebeneathbottomrowofmonths;
472 WORD horizontalspaceoneachsideofmonthmatrix;
473 WORD horizontalspacebetweeneachcolumnofmonths;
474 WORD verticalspacebetweenmonthnameanddaynameinitials;
475 WORD verticalspacebetweendaynameinitialsandtoprowofdays;
476 WORD verticalspacebetweeneachrowofdays;
477 WORD horizontalspacebetweeneachcolumnofdays;
478 STRUCT yearfont; // FONT
480 STRUCT weekdayinitialfont;
482 LTEXT textseparatingyearrange;
488 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
500 /* by H.Domon,K3 19 Apr 2001
504 STRUCT color; // COLOR
509 STRUCT NO_CLOCK_SHADOW
513 by H.Domon,K3 19 Apr 2001
515 STRUCT CLOCK_PEN_SOLID
518 BYTE color; // COLOR // By H.Domon,K3. 23 Aug 2001
521 /* by H.Domon,K3 19 Apr 2001
522 STRUCT CLOCK_PEN_NULL
527 STRUCT CLOCK_BRUSH_SOLID
530 STRUCT color; // COLOR
533 STRUCT CLOCK_BRUSH_NULL
539 // general clock STRUCT
544 BYTE type=EEikLocaleConformantClockTypeChangesFormatAccordingToLocale; // one of the EEikLocaleConformantClockTypeXxxxxs
545 BYTE typeneverchanges=0;
546 LLINK digitalresourceid; // DIGITAL_CLOCK
547 LLINK analogresourceid; // ANALOG_CLOCK_WITH_MASKED_FACE or ANALOG_CLOCK_WITH_UNMASKED_FACE
551 // digital clock STRUCTs
554 STRUCT DIGITAL_CLOCK_TEXT_SECTION_TEXT_BLOCK
559 STRUCT DIGITAL_CLOCK_TEXT_SECTION
562 STRUCT textcolor; // COLOR
563 BYTE horizontalalignment; // one of the EEikResourceConstructedClockDigitalDisplayHorizontalTextAlignmentXxxxxs
564 BYTE verticalalignment; // one of the EEikResourceConstructedClockDigitalDisplayVerticalTextAlignmentXxxxxs
565 WORD horizontalmargin=0;
566 WORD verticalmargin=0;
567 LEN BYTE STRUCT textblocks[]; // DIGITAL_CLOCK_TEXT_SECTION_TEXT_BLOCKs - will each be interspersed with a flashing-block delimiter
572 BYTE withsingleblackborder=1;
573 WORD offsetfromuniversaltime=0;
574 STRUCT shadow; // CLOCK_SHADOW or NO_CLOCK_SHADOW
575 STRUCT backgroundcolor; // COLOR
576 LEN BYTE STRUCT textsections[]; // DIGITAL_CLOCK_TEXT_SECTIONs
580 // analog clock STRUCTs
582 by H.Domon,K3 19 Apr 2001
584 STRUCT ANALOG_CLOCK_HAND_FEATURE_LINE
586 STRUCT pen; // CLOCK_PEN_SOLID or CLOCK_PEN_NULL
587 STRUCT startpoint; // POINT
588 STRUCT endpoint; // POINT
590 /* by H.Domon,K3 19 Apr 2001
591 STRUCT ANALOG_CLOCK_HAND_FEATURE_POLY_LINE
593 STRUCT pen; // CLOCK_PEN_SOLID or CLOCK_PEN_NULL
594 STRUCT brush; // CLOCK_BRUSH_SOLID or CLOCK_BRUSH_NULL
596 LEN BYTE STRUCT points[]; // POINTs
599 STRUCT ANALOG_CLOCK_HAND_FEATURE_CIRCLE
601 STRUCT pen; // CLOCK_PEN_SOLID or CLOCK_PEN_NULL
602 STRUCT brush; // CLOCK_BRUSH_SOLID or CLOCK_BRUSH_NULL
603 STRUCT circlecenter; // POINT
607 STRUCT ANALOG_CLOCK_HAND_FEATURE
609 BYTE type; // one of the EEikResourceConstructedClockAnalogDisplayHandFeatureXxxxxs
610 STRUCT feature; // ANALOG_CLOCK_HAND_FEATURE_LINE, ANALOG_CLOCK_HAND_FEATURE_POLY_LINE, or ANALOG_CLOCK_HAND_FEATURE_CIRCLE depending on "type"
613 STRUCT ANALOG_CLOCK_HAND
615 BYTE type; // one of the EEikResourceConstructedClockAnalogDisplayHandOneRevPerXxxxxs
616 LEN BYTE STRUCT features[]; // ANALOG_CLOCK_HAND_FEATUREs
619 STRUCT ANALOG_CLOCK_WITH_MASKED_FACE
621 BYTE withsingleblackborder=0;
622 WORD offsetfromuniversaltime=0;
623 STRUCT shadow; // CLOCK_SHADOW or NO_CLOCK_SHADOW
624 LTEXT filecontainingface=""; // defaults to the system multi-bitmap file
625 LONG faceid; // a value defined in a *.MBG file
627 LTEXT filecontainingfacemask=""; // defaults to the system multi-bitmap file
628 LONG facemaskid; // a value defined in a *.MBG file
629 LEN BYTE STRUCT hands[]; // ANALOG_CLOCK_HANDs
632 STRUCT ANALOG_CLOCK_WITH_UNMASKED_FACE
634 BYTE withsingleblackborder=0;
635 WORD offsetfromuniversaltime=0;
636 STRUCT shadow; // CLOCK_SHADOW or NO_CLOCK_SHADOW
637 LTEXT filecontainingface=""; // defaults to the system multi-bitmap file
638 LONG faceid; // a value defined in a *.MBG file
640 LEN BYTE STRUCT hands[]; // ANALOG_CLOCK_HANDs
642 by H.Domon,K3 19 Apr 2001
646 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
651 WORD width; // in characters
658 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
666 DOUBLE default=0; // if !(min<=default<=max), default = min.
671 WORD decimalplaces=2;// arbitrary, = number of pence in the pound
674 LONG default=0; // if !(min<=default<=max), default = min.
679 LONG min=0;// but can be set negative
685 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
693 //#include <eikgysel.hrh>
697 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
702 WORD buttonSpacing=12;
715 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
718 //#include <eikmfne.hrh>
733 BYTE day=0; // from 0 to 27/28/29/30 inclusive
734 BYTE month=0; // from 0 to 11 inclusive
743 BYTE day=0; // from 0 to 27/28/29/30 inclusive
744 BYTE month=0; // from 0 to 11 inclusive
750 LONG seconds=0; // must be greater than or equal to zero
758 STRUCT LATITUDE_AND_LONGITUDE
764 WORD keytomatchfornorth;
766 WORD keytomatchforsouth;
768 WORD keytomatchforeast;
770 WORD keytomatchforwest;
773 STRUCT MFNE_SYMBOLIC_ITEM
787 // STRUCTs for the different types of field
790 STRUCT MFNE_SEPARATOR
804 LEN BYTE STRUCT symbolicitems[]; // MFNE_SYMBOLIC_ITEMs
808 // STRUCTs for the different types of mfne
821 LTEXT separatortext="-";
824 STRUCT CELL_RANGE_EDITOR
826 STRUCT minCell; // CELL
827 STRUCT maxCell; // CELL
828 LTEXT separatortext=":";
833 STRUCT minTime; // TIME
834 STRUCT maxTime; // TIME
835 BYTE flags=0; // permitted flags: EEikTimeWithout[Seconds][Hours]Field
840 STRUCT minDate; // DATE
841 STRUCT maxDate; // DATE
842 BYTE flags=0; // permitted flags: EEikDateWithoutPopoutCalendar
845 STRUCT TIME_AND_DATE_EDITOR
847 STRUCT minTimeAndDate; // TIME_AND_DATE
848 STRUCT maxTimeAndDate; // TIME_AND_DATE
849 BYTE flags=0; // permitted flags: EEikTimeWithout[Seconds][Hours]Field|EEikDateWithoutPopoutCalendar
850 LTEXT interveningtext=" ";
853 STRUCT DURATION_EDITOR
855 STRUCT minDuration; // DURATION
856 STRUCT maxDuration; // DURATION
857 BYTE flags=0; // permitted flags: EEikTimeWithout[Seconds][Hours]Field
860 STRUCT TIME_OFFSET_EDITOR
862 STRUCT minTimeOffset; // TIME_OFFSET
863 STRUCT maxTimeOffset; // TIME_OFFSET
864 BYTE flags=0; // permitted flags: EEikTimeWithout[Seconds][Hours]Field
867 STRUCT LATITUDE_EDITOR
870 LLINK latlongresourceid; // LATITUDE_AND_LONGITUDE
873 STRUCT LONGITUDE_EDITOR
876 LLINK latlongresourceid; // LATITUDE_AND_LONGITUDE
881 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
887 WORD splits_in_block=0;
893 //#include <eikprogi.hrh>
897 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
900 //#include <eikrted.hrh>
901 //#include <eikgted.hrh>
902 #include <gulftflg.hrh>
911 WORD fontcontrolflags=1;
912 WORD fontnameflags=EGulNoSymbolFonts;
913 AKN_EDITOR_EXTENSIONS
918 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
928 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
931 //#include <eikspace.hrh>
937 LONG color=0; // clear
942 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
945 STRUCT WORLD_SELECTOR
949 LTEXT countrysearch="";
950 LTEXT worldsearch="";
953 //#include <eikwsel.hrh>
956 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
959 //#include <eikctrls.hrh>
967 STRUCT DLG_TBAR_BUTTON
969 WORD type=1; // EEikCtLabeledButton
973 WORD buttontype=0; // EEikCtCommandButton
976 BYTE hotkeyflags=1; // EEikLabeledButtonShowHotKey
979 STRUCT DLG_TBAR_SPACER
981 WORD type=EEikCtSpacer;
987 LONG color=0; // clear
1000 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
1011 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
1014 STRUCT FILENAMESELECTOR
1016 WORD maxdisplaychar=15;
1019 STRUCT FILENAMEEDITOR
1024 STRUCT FOLDERNAMESELECTOR
1026 WORD maxdisplaychar=15;
1029 STRUCT FOLDERNAMEEDITOR
1034 STRUCT DRIVENAMESELECTOR
1040 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
1050 WORD fontcontrolflags=1;
1051 WORD fontnameflags=EGulNoSymbolFonts;
1052 AKN_EDITOR_EXTENSIONS
1057 // Copyright (c) 1997-1999 Symbian Ltd. All rights reserved.
1061 STRUCT UNIFIEDNAMESELECTOR
1063 WORD maxdisplaychar=15;
1067 // Resource structure for CAknIpFieldEditor
1070 STRUCT IP_FIELD_EDITOR
1072 STRUCT min_field_values;
1073 STRUCT max_field_values;
1085 // ---------------------------------------------------------------------------
1086 // Resource structure for CAknUnitEditor.
1087 // For unit and flags, see enums TAknUnitEditorUnits and
1088 // TAknUnitEditorFlags in eikon.hrh.
1089 // @see CAknUnitEditor
1090 // ---------------------------------------------------------------------------
1092 STRUCT AVKON_UNIT_EDITOR
1094 DOUBLE min = 0; // Minimum value of the editor
1095 DOUBLE max = 0; // Maximum value of the editor
1096 DOUBLE value = 0; // Initial value of the editor
1097 BYTE maxfractionaldigits = 2; // The maximum number of fractional digits
1098 LONG unit = EAknUnitEditorCustomUnit; // The initial unit type
1099 LONG flags = 0; // Editor flags
1104 STRUCT CBA_BUTTON_LINK
1106 BYTE version=EEikCbaButtonLink;
1111 STRUCT ENHANCED_CBA_BUTTON
1113 BYTE version=EEikEnhancedCbaButton;
1114 BYTE operationType=EEikCommandTypeAnyCommand;
1118 WORD bmpid=0xffff; // -1
1119 WORD bmpmask=0xffff; // -1
1122 STRUCT EIK_APP_INFO_EXT
1124 LLINK touch_pane=0; // AVKON_TOUCHPANE
1125 LLINK popup_toolbar=0;
1126 LONG supported_resolutions=0;
1127 LLINK spare=0; // Reserved for another eik_app_info extension
1130 // for defining priority order for each button (enhanced cba)
1131 STRUCT CBA_PRIORITIES
1133 STRUCT buttons[]; // array of buttons in number order ( 1. SK1, 2. SK2 etc )
1136 STRUCT BUTTON_PRIORITY
1138 BYTE priority_order[]; // e.g. EEikCommandTypeOpenItem, EEikCommandTypeAnyCommand
1144 * @since Series 60 3.1
1146 STRUCT AVKON_BUTTON_STATE
1153 WORD bmpmask=0xffff;
1154 WORD dim_bmpid=0xffff;
1155 WORD dim_bmpmask=0xffff;
1156 WORD press_bmpid=0xffff;
1157 WORD press_bmpmask=0xffff;
1158 WORD hover_bmpid=0xffff;
1159 WORD hover_bmpmask=0xffff;
1171 STRUCT AVKON_TOOLBAR
1176 LLINK softkeys = 0; // CBA
1181 // Resource structure for CAknStylusPopupMenu
1182 STRUCT STYLUS_POPUP_MENU_ITEM
1189 STRUCT STYLUS_POPUP_MENU
1195 // ---------------------------------------------------------------------------
1196 // Resource structure for defining touch pane content.
1197 // ---------------------------------------------------------------------------
1199 STRUCT AVKON_TOUCHPANE
1201 BYTE version = 1; // Do not change!
1202 LONG flags = 0; // Flags defined in akntouchpane.hrh
1203 STRUCT items[]; // AVKON_TOUCHPANE_ITEM
1206 // ---------------------------------------------------------------------------
1207 // Resource structure for defining custom touch pane items.
1208 // ---------------------------------------------------------------------------
1210 STRUCT AVKON_TOUCHPANE_ITEM
1212 BYTE version = 1; // Do not change!
1213 BYTE id; // One of the pre-defined element identifiers in akntouchpane.hrh
1214 LONG plugin = 0; // Implementation UID for touch pane ECom interface.
1217 // ---------------------------------------------------------------------------
1218 // Resource structure for defining toolbar extension
1219 // ---------------------------------------------------------------------------
1221 STRUCT AVKON_TOOLBAR_EXTENSION
1228 WORD bmpMask=0xffff;
1229 LLINK bmpSkinIdMajor=0;
1230 LLINK bmpSkinIdMinor=0;
1231 WORD dimBmpid=0xffff;
1232 WORD dimBmpmask=0xffff;
1233 LLINK dimSkinIdMajor=0;
1234 LLINK dimSkinIdMinor=0;
1235 WORD pressBmpid=0xffff;
1236 WORD pressBmpmask=0xffff;
1237 LLINK pressSkinIdMajor=0;
1238 LLINK pressSkinIdMinor=0;
1239 WORD hoverBmpid=0xffff;
1240 WORD hoverBmpmask=0xffff;
1241 LLINK hoverSkinIdMajor=0;
1242 LLINK hoverSkinIdMinor=0;
1250 // ---------------------------------------------------------------------------
1251 // Resource structure for defining button state extension
1252 // ---------------------------------------------------------------------------
1254 STRUCT AVKON_BUTTON_STATE_EXTENSION
1257 LLINK bmbSkinIdMajor=0;
1258 LLINK bmbSkinIdMinor=0;
1259 LLINK dimSkinIdMajor=0;
1260 LLINK dimSkinIdMinor=0;
1261 LLINK pressSkinIdMajor=0;
1262 LLINK pressSkinIdMinor=0;
1263 LLINK hoverSkinIdMajor=0;
1264 LLINK hoverSkinIdMinor=0;