home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
IOC
/
2D-BMAP
/
2D-BMAP.RC
< prev
next >
Wrap
Text File
|
1995-05-01
|
3KB
|
65 lines
/******************************************************************************/
/* 2D-GRAPHICS BITMAP SAMPLE PROGRAM - Resource Definitions (2d-bmap.rc) */
/* */
/* COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1995. */
/* */
/* DISCLAIMER OF WARRANTIES: */
/* The following [enclosed] code is sample code created by IBM */
/* Corporation. This sample code is not part of any standard IBM product */
/* and is provided to you solely for the purpose of assisting you in the */
/* development of your applications. The code is provided "AS IS", */
/* without warranty of any kind. IBM shall not be liable for any damages */
/* arising out of your use of the sample code, even if they have been */
/* advised of the possibility of such damages. */
/******************************************************************************/
#include "2d-bmap.h" //Symbolic Definitions v2
#ifdef IC_PM
#include <os2.h>
#endif
//************************************************************************** v2
// icon and bitmap resources * .
// Symbolic Name (ID) <-> icon filename * .
//************************************************************************** .
ICON WND_MAIN 2d-bmap.ico //Title Bar Icon (use same id)v2
//************************************************************************** v2
// string resources - used by IStaticText & ITitle Classes * .
// Symbolic Name (ID) <-> Text String * .
//************************************************************************** v2
MENU WND_MAIN PRELOAD
BEGIN
SUBMENU "~File", IDM_FILE
BEGIN
MENUITEM "~Open...\tCtrl+O", IDM_FILEOPEN
MENUITEM "",ID_NULL,MIS_SEPARATOR
MENUITEM "~Quit\tF3", IDM_QUIT
END
SUBMENU "~Bitmap", IDM_BITMAP
BEGIN
MENUITEM "Reflect ~horizontally", IDM_REFLECTHORZ
MENUITEM "Reflect ~vertically" , IDM_REFLECTVERT
MENUITEM "",ID_NULL,MIS_SEPARATOR
MENUITEM "Rotate ~90 degrees" , IDM_ROTATE90
MENUITEM "Rotate ~180 degrees" , IDM_ROTATE180
MENUITEM "Rotate ~270 degrees" , IDM_ROTATE270
MENUITEM "",ID_NULL,MIS_SEPARATOR
MENUITEM "Transpose ~x for y" , IDM_TRANSPOSE
END
SUBMENU "~Clipping", IDM_CLIP
BEGIN
MENUITEM "Circles", IDM_CLIPCIRCLES
MENUITEM "Squares", IDM_CLIPSQUARES
MENUITEM "Radiation", IDM_CLIPRAD
MENUITEM "None", IDM_CLIPNONE
END
END
STRINGTABLE
BEGIN
WND_MAIN, "2D Bitmap Sample"
END