home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 Mobile / Chip_Mobile_2001.iso / palm / business / cube3d / cube3D.exe / cube3D / src / cube3D.rcp < prev    next >
Text File  |  2000-12-26  |  4KB  |  119 lines

  1. /*
  2.  * @(#)cube3D.rcp
  3.  *
  4.  * Copyright 1999-2000, Aaron Ardiri (mailto:aaron@ardiri.com)
  5.  * All rights reserved.
  6.  *
  7.  * The  source code  outlines a number of basic Palm Computing Programming
  8.  * principles and you  should be able to take the core structure and write 
  9.  * a large complex program. It is distributed WITHOUT ANY WARRANTY; use it
  10.  * "AS IS" and at your own risk.
  11.  *
  12.  * The code presented is Copyright 1999-2000 by Aaron Ardiri. It should be
  13.  * used for  educational purposes only.  You  shall not modify  the Cube3D 
  14.  * source code in any way and  re-distribute it as your  own,  however you
  15.  * are free to use  the code as  a guide for  developing  programs  on the 
  16.  * Palm Computing Platform.
  17.  */
  18.  
  19. #include "resource.h"
  20.  
  21. FORM ID infoForm AT (2 2 156 156) MODAL
  22. BEGIN
  23.   TITLE "About Cube3D"
  24.  
  25.   FORMBITMAP AT (8 16) BITMAP bitmapIcon
  26.   LABEL "http://www.ardiri.com/" AUTOID AT (52 PrevTop)
  27.   LABEL "aaron@ardiri.com" AUTOID AT (54 PrevBottom) FONT 1
  28.  
  29.   FORMBITMAP AT (88 PrevBottom+4) BITMAP bitmapPalm
  30.  
  31.   LABEL "Copyright 2000" AUTOID AT (8 PrevTop+2)
  32.   LABEL "Aaron Ardiri" AUTOID AT (8 PrevBottom)
  33.   LABEL "All rights reserved" AUTOID AT (8 PrevBottom)
  34.  
  35.   LABEL "Cube 3D" AUTOID AT (8 PrevBottom+3) FONT 1
  36.   LABEL "demonstration" AUTOID AT (8 PrevBottom-1) FONT 1
  37.  
  38.   LABEL "The source code is provided for" AUTOID AT (8 PrevBottom+3) 
  39.   LABEL "educational purposes only."  AUTOID AT (8 PrevBottom)
  40.  
  41.   BUTTON "Ok" ID infoFormOkButton AT (CENTER 138 40 AUTO)
  42. END
  43.  
  44. FORM ID helpForm AT (2 2 156 156) MODAL
  45. BEGIN
  46.   TITLE "Instructions"
  47.  
  48.   SCROLLBAR ID helpFormScrollBar AT (147 16 7 116) VALUE 0 MIN 0 MAX 0 PAGESIZE 100
  49.  
  50.   BUTTON "Done" ID helpFormOkButton AT (6 138 AUTO AUTO)
  51.   LABEL "\251 2000 Aaron Ardiri" AUTOID AT (56 PrevTop+1) FONT 1
  52. END
  53.  
  54. FORM ID xmemForm AT (2 2 156 156) MODAL
  55. BEGIN
  56.   TITLE "System Memory"
  57.  
  58.   FORMBITMAP AT (6 20) BITMAP bitmapPaw
  59.   LABEL "http://www.ardiri.com/" AUTOID AT (50 PrevTop+4)
  60.   LABEL "aaron@ardiri.com" AUTOID AT (52 PrevBottom) FONT 1
  61.  
  62.   LABEL "Insufficent memory available to" AUTOID AT (CENTER PrevTop+24)
  63.   LABEL "do the operation you requested." AUTOID AT (CENTER PrevTop+12)
  64.  
  65.   LABEL "Please disable any unecessary" AUTOID AT (CENTER PrevTop+20)
  66.   LABEL "hacks and try using the standard" AUTOID AT (CENTER PrevTop+12)
  67.   LABEL "application launcher of the device." AUTOID AT (CENTER PrevTop+12)
  68.  
  69.   BUTTON "Ok" ID xmemFormOkButton AT (CENTER 138 40 AUTO)
  70. END
  71.  
  72. FORM ID mainForm AT (0 0 160 160) NOSAVEBEHIND
  73. MENUID mainMenu
  74. BEGIN
  75.   TITLE "Cube3D"
  76.  
  77.   BUTTON "" ID globalFormHelpButton AT (133 1 12 12) NOFRAME
  78.   FORMBITMAP AT (PrevLeft PrevTop) BITMAP bitmapHelp
  79.   BUTTON "" ID globalFormAboutButton AT (PrevLeft+14 PrevTop 12 12) NOFRAME
  80.   FORMBITMAP AT (PrevLeft PrevTop) BITMAP bitmapAbout
  81.  
  82.   LABEL "\251 2000 Aaron Ardiri" AUTOID AT (CENTER 148) FONT 1
  83. END
  84.  
  85. MENU ID mainMenu
  86. BEGIN
  87.   PULLDOWN "Help"
  88.   BEGIN
  89.     MENUITEM "Instructions" menuItemHelp  "I"
  90.     MENUITEM "About"        menuItemAbout
  91.   END
  92. END
  93.  
  94. VERSION "demo"
  95.  
  96. ICONFAMILY 
  97.   "images/icon1bpp.bmp" "images/icon2bpp.bmp" "" "images/icon8bpp.bmp" 
  98. TRANSPARENCY 0 255 0
  99.  
  100. SMALLICONFAMILY 
  101.   "images/smic1bpp.bmp" "images/smic2bpp.bmp" "" "images/smic8bpp.bmp"
  102. TRANSPARENCY 0 255 0
  103.  
  104. BITMAPFAMILY bitmapIcon   
  105.   "images/icon1bpp.bmp" "images/icon2bpp.bmp" "" "images/icon8bpp.bmp" COMPRESS
  106. TRANSPARENCY 0 255 0
  107.  
  108. BITMAPFAMILY bitmapPalm
  109.   "images/palm1bpp.bmp" "images/palm2bpp.bmp" "" "images/palm8bpp.bmp" COMPRESS
  110.  
  111. BITMAPFAMILY bitmapPaw
  112.   "images/_paw1bpp.bmp" "images/_paw2bpp.bmp" "" "" COMPRESS
  113.  
  114. BITMAPFAMILY bitmapHelpAnimation
  115.   "images/hani1bpp.bmp" "" "" "" COMPRESS
  116.  
  117. BITMAP bitmapAbout "images/info1bpp.bmp" COMPRESS
  118. BITMAP bitmapHelp  "images/help1bpp.bmp" COMPRESS
  119.