CelestialSphere.rss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. /*
  2. ============================================================================
  3. Name : CelestialSphere.rss
  4. Author : Den Grigorenko
  5. Copyright : Copyright (c) 2008 Den123
  6. Description : This file contains all the resources for the CelestialSphere.
  7. ============================================================================
  8. */
  9. // RESOURCE IDENTIFIER
  10. NAME CELE // 4 letter ID
  11. // INCLUDES
  12. #include <eikon.rh>
  13. #include <avkon.rsg>
  14. #include <avkon.rh>
  15. #include <appinfo.rh>
  16. #include "CelestialSphere.hrh"
  17. #include "CelestialSphere.rls"
  18. // RESOURCE DEFINITIONS
  19. // -----------------------------------------------------------------------------
  20. //
  21. // Define the resource file signature
  22. // This resource should be empty.
  23. //
  24. // -----------------------------------------------------------------------------
  25. //
  26. RESOURCE RSS_SIGNATURE
  27. {
  28. }
  29. // -----------------------------------------------------------------------------
  30. //
  31. // Default Document Name
  32. //
  33. // -----------------------------------------------------------------------------
  34. //
  35. RESOURCE TBUF r_default_document_name
  36. {
  37. buf="CELE";
  38. }
  39. // -----------------------------------------------------------------------------
  40. //
  41. // Define default menu and CBA key.
  42. //
  43. // -----------------------------------------------------------------------------
  44. //
  45. RESOURCE EIK_APP_INFO
  46. {
  47. menubar = r_menubar;
  48. cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
  49. }
  50. // -----------------------------------------------------------------------------
  51. //
  52. // r_menubar
  53. // Main menubar
  54. //
  55. // -----------------------------------------------------------------------------
  56. //
  57. RESOURCE MENU_BAR r_menubar
  58. {
  59. titles =
  60. {
  61. MENU_TITLE { menu_pane = r_menu; }
  62. };
  63. }
  64. // -----------------------------------------------------------------------------
  65. //
  66. // r_menu
  67. // Menu for "Options"
  68. //
  69. // -----------------------------------------------------------------------------
  70. //
  71. RESOURCE MENU_PANE r_menu
  72. {
  73. items =
  74. {
  75. // added the new Options menu command here
  76. MENU_ITEM
  77. {
  78. command = EAbout;
  79. txt = qtn_about;
  80. },
  81. MENU_ITEM
  82. {
  83. command = EAknSoftkeyExit;
  84. txt = qtn_exit;
  85. }
  86. };
  87. }
  88. // -----------------------------------------------------------------------------
  89. //
  90. // About dialog resource.
  91. //
  92. // -----------------------------------------------------------------------------
  93. //
  94. RESOURCE DIALOG r_about_query_dialog
  95. {
  96. flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
  97. buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
  98. items=
  99. {
  100. DLG_LINE
  101. {
  102. type = EAknCtPopupHeadingPane;
  103. id = EAknMessageQueryHeaderId;
  104. itemflags = EEikDlgItemNonFocusing;
  105. control = AVKON_HEADING
  106. {
  107. };
  108. },
  109. DLG_LINE
  110. {
  111. type = EAknCtMessageQuery;
  112. id = EAknMessageQueryContentId;
  113. control = AVKON_MESSAGE_QUERY
  114. {
  115. };
  116. }
  117. };
  118. }
  119. // -----------------------------------------------------------------------------
  120. //
  121. // Resources for messages.
  122. //
  123. // -----------------------------------------------------------------------------
  124. //
  125. RESOURCE TBUF32 r_about_dialog_title { buf = qtn_about_dialog_title; }
  126. RESOURCE TBUF r_about_dialog_text { buf = qtn_about_dialog_text; }
  127. RESOURCE TBUF r_command1_text { buf = qtn_command1_text; }
  128. RESOURCE TBUF r_wait_str { buf = wait_str; }
  129. // ----------------------------------------------------------------------------
  130. //
  131. // r_localisable_app_info
  132. //
  133. // ----------------------------------------------------------------------------
  134. //
  135. RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
  136. {
  137. short_caption = qtn_short_caption_string;
  138. caption_and_icon =
  139. CAPTION_AND_ICON_INFO
  140. {
  141. caption = qtn_caption_string;
  142. number_of_icons = 1;
  143. icon_file = "\\resource\\apps\\CelestialSphere_0xEEC98BE4.mif";
  144. };
  145. }
  146. // End of File