123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- /*
- ============================================================================
- Name : CelestialSphere.rss
- Author : Den Grigorenko
- Copyright : Copyright (c) 2008 Den123
- Description : This file contains all the resources for the CelestialSphere.
- ============================================================================
- */
- // RESOURCE IDENTIFIER
- NAME CELE // 4 letter ID
- // INCLUDES
- #include <eikon.rh>
- #include <avkon.rsg>
- #include <avkon.rh>
- #include <appinfo.rh>
- #include "CelestialSphere.hrh"
- #include "CelestialSphere.rls"
- // RESOURCE DEFINITIONS
- // -----------------------------------------------------------------------------
- //
- // Define the resource file signature
- // This resource should be empty.
- //
- // -----------------------------------------------------------------------------
- //
- RESOURCE RSS_SIGNATURE
- {
- }
- // -----------------------------------------------------------------------------
- //
- // Default Document Name
- //
- // -----------------------------------------------------------------------------
- //
- RESOURCE TBUF r_default_document_name
- {
- buf="CELE";
- }
- // -----------------------------------------------------------------------------
- //
- // Define default menu and CBA key.
- //
- // -----------------------------------------------------------------------------
- //
- RESOURCE EIK_APP_INFO
- {
- menubar = r_menubar;
- cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
- }
- // -----------------------------------------------------------------------------
- //
- // r_menubar
- // Main menubar
- //
- // -----------------------------------------------------------------------------
- //
- RESOURCE MENU_BAR r_menubar
- {
- titles =
- {
- MENU_TITLE { menu_pane = r_menu; }
- };
- }
- // -----------------------------------------------------------------------------
- //
- // r_menu
- // Menu for "Options"
- //
- // -----------------------------------------------------------------------------
- //
- RESOURCE MENU_PANE r_menu
- {
- items =
- {
- // added the new Options menu command here
- MENU_ITEM
- {
- command = EAbout;
- txt = qtn_about;
- },
- MENU_ITEM
- {
- command = EAknSoftkeyExit;
- txt = qtn_exit;
- }
- };
- }
- // -----------------------------------------------------------------------------
- //
- // About dialog resource.
- //
- // -----------------------------------------------------------------------------
- //
- RESOURCE DIALOG r_about_query_dialog
- {
- flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
- buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
- items=
- {
- DLG_LINE
- {
- type = EAknCtPopupHeadingPane;
- id = EAknMessageQueryHeaderId;
- itemflags = EEikDlgItemNonFocusing;
- control = AVKON_HEADING
- {
- };
- },
- DLG_LINE
- {
- type = EAknCtMessageQuery;
- id = EAknMessageQueryContentId;
- control = AVKON_MESSAGE_QUERY
- {
- };
- }
- };
- }
- // -----------------------------------------------------------------------------
- //
- // Resources for messages.
- //
- // -----------------------------------------------------------------------------
- //
- RESOURCE TBUF32 r_about_dialog_title { buf = qtn_about_dialog_title; }
- RESOURCE TBUF r_about_dialog_text { buf = qtn_about_dialog_text; }
- RESOURCE TBUF r_command1_text { buf = qtn_command1_text; }
- RESOURCE TBUF r_wait_str { buf = wait_str; }
- // ----------------------------------------------------------------------------
- //
- // r_localisable_app_info
- //
- // ----------------------------------------------------------------------------
- //
- RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
- {
- short_caption = qtn_short_caption_string;
- caption_and_icon =
- CAPTION_AND_ICON_INFO
- {
- caption = qtn_caption_string;
- number_of_icons = 1;
- icon_file = "\\resource\\apps\\CelestialSphere_0xEEC98BE4.mif";
- };
- }
- // End of File
|