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 >
Wrap
Text File
|
2000-12-26
|
4KB
|
119 lines
/*
* @(#)cube3D.rcp
*
* Copyright 1999-2000, Aaron Ardiri (mailto:aaron@ardiri.com)
* All rights reserved.
*
* The source code outlines a number of basic Palm Computing Programming
* principles and you should be able to take the core structure and write
* a large complex program. It is distributed WITHOUT ANY WARRANTY; use it
* "AS IS" and at your own risk.
*
* The code presented is Copyright 1999-2000 by Aaron Ardiri. It should be
* used for educational purposes only. You shall not modify the Cube3D
* source code in any way and re-distribute it as your own, however you
* are free to use the code as a guide for developing programs on the
* Palm Computing Platform.
*/
#include "resource.h"
FORM ID infoForm AT (2 2 156 156) MODAL
BEGIN
TITLE "About Cube3D"
FORMBITMAP AT (8 16) BITMAP bitmapIcon
LABEL "http://www.ardiri.com/" AUTOID AT (52 PrevTop)
LABEL "aaron@ardiri.com" AUTOID AT (54 PrevBottom) FONT 1
FORMBITMAP AT (88 PrevBottom+4) BITMAP bitmapPalm
LABEL "Copyright 2000" AUTOID AT (8 PrevTop+2)
LABEL "Aaron Ardiri" AUTOID AT (8 PrevBottom)
LABEL "All rights reserved" AUTOID AT (8 PrevBottom)
LABEL "Cube 3D" AUTOID AT (8 PrevBottom+3) FONT 1
LABEL "demonstration" AUTOID AT (8 PrevBottom-1) FONT 1
LABEL "The source code is provided for" AUTOID AT (8 PrevBottom+3)
LABEL "educational purposes only." AUTOID AT (8 PrevBottom)
BUTTON "Ok" ID infoFormOkButton AT (CENTER 138 40 AUTO)
END
FORM ID helpForm AT (2 2 156 156) MODAL
BEGIN
TITLE "Instructions"
SCROLLBAR ID helpFormScrollBar AT (147 16 7 116) VALUE 0 MIN 0 MAX 0 PAGESIZE 100
BUTTON "Done" ID helpFormOkButton AT (6 138 AUTO AUTO)
LABEL "\251 2000 Aaron Ardiri" AUTOID AT (56 PrevTop+1) FONT 1
END
FORM ID xmemForm AT (2 2 156 156) MODAL
BEGIN
TITLE "System Memory"
FORMBITMAP AT (6 20) BITMAP bitmapPaw
LABEL "http://www.ardiri.com/" AUTOID AT (50 PrevTop+4)
LABEL "aaron@ardiri.com" AUTOID AT (52 PrevBottom) FONT 1
LABEL "Insufficent memory available to" AUTOID AT (CENTER PrevTop+24)
LABEL "do the operation you requested." AUTOID AT (CENTER PrevTop+12)
LABEL "Please disable any unecessary" AUTOID AT (CENTER PrevTop+20)
LABEL "hacks and try using the standard" AUTOID AT (CENTER PrevTop+12)
LABEL "application launcher of the device." AUTOID AT (CENTER PrevTop+12)
BUTTON "Ok" ID xmemFormOkButton AT (CENTER 138 40 AUTO)
END
FORM ID mainForm AT (0 0 160 160) NOSAVEBEHIND
MENUID mainMenu
BEGIN
TITLE "Cube3D"
BUTTON "" ID globalFormHelpButton AT (133 1 12 12) NOFRAME
FORMBITMAP AT (PrevLeft PrevTop) BITMAP bitmapHelp
BUTTON "" ID globalFormAboutButton AT (PrevLeft+14 PrevTop 12 12) NOFRAME
FORMBITMAP AT (PrevLeft PrevTop) BITMAP bitmapAbout
LABEL "\251 2000 Aaron Ardiri" AUTOID AT (CENTER 148) FONT 1
END
MENU ID mainMenu
BEGIN
PULLDOWN "Help"
BEGIN
MENUITEM "Instructions" menuItemHelp "I"
MENUITEM "About" menuItemAbout
END
END
VERSION "demo"
ICONFAMILY
"images/icon1bpp.bmp" "images/icon2bpp.bmp" "" "images/icon8bpp.bmp"
TRANSPARENCY 0 255 0
SMALLICONFAMILY
"images/smic1bpp.bmp" "images/smic2bpp.bmp" "" "images/smic8bpp.bmp"
TRANSPARENCY 0 255 0
BITMAPFAMILY bitmapIcon
"images/icon1bpp.bmp" "images/icon2bpp.bmp" "" "images/icon8bpp.bmp" COMPRESS
TRANSPARENCY 0 255 0
BITMAPFAMILY bitmapPalm
"images/palm1bpp.bmp" "images/palm2bpp.bmp" "" "images/palm8bpp.bmp" COMPRESS
BITMAPFAMILY bitmapPaw
"images/_paw1bpp.bmp" "images/_paw2bpp.bmp" "" "" COMPRESS
BITMAPFAMILY bitmapHelpAnimation
"images/hani1bpp.bmp" "" "" "" COMPRESS
BITMAP bitmapAbout "images/info1bpp.bmp" COMPRESS
BITMAP bitmapHelp "images/help1bpp.bmp" COMPRESS