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 >
Text File  |  1995-05-01  |  3KB  |  65 lines

  1. /******************************************************************************/
  2. /* 2D-GRAPHICS BITMAP SAMPLE PROGRAM - Resource Definitions (2d-bmap.rc)      */
  3. /*                                                                            */
  4. /* COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1995. */
  5. /*                                                                            */
  6. /* DISCLAIMER OF WARRANTIES:                                                  */
  7. /*   The following [enclosed] code is sample code created by IBM              */
  8. /*   Corporation.  This sample code is not part of any standard IBM product   */
  9. /*   and is provided to you solely for the purpose of assisting you in the    */
  10. /*   development of your applications.  The code is provided "AS IS",         */
  11. /*   without warranty of any kind.  IBM shall not be liable for any damages   */
  12. /*   arising out of your use of the sample code, even if they have been       */
  13. /*   advised of the possibility of such damages.                              */
  14. /******************************************************************************/
  15.  
  16. #include "2d-bmap.h"                            //Symbolic Definitions        v2
  17. #ifdef IC_PM
  18. #include <os2.h>
  19. #endif
  20.  
  21. //**************************************************************************  v2
  22. // icon and bitmap resources                                               *   .
  23. //  Symbolic Name (ID) <-> icon filename                                   *   .
  24. //**************************************************************************   .
  25. ICON WND_MAIN 2d-bmap.ico                       //Title Bar Icon (use same id)v2
  26.  
  27.  
  28. //**************************************************************************  v2
  29. // string resources - used by IStaticText & ITitle Classes                 *   .
  30. //  Symbolic Name (ID) <-> Text String                                     *   .
  31. //**************************************************************************  v2
  32.  
  33. MENU WND_MAIN PRELOAD
  34. BEGIN
  35.     SUBMENU     "~File",                       IDM_FILE
  36.     BEGIN
  37.         MENUITEM     "~Open...\tCtrl+O",       IDM_FILEOPEN
  38.         MENUITEM     "",ID_NULL,MIS_SEPARATOR
  39.         MENUITEM     "~Quit\tF3",              IDM_QUIT
  40.     END
  41.     SUBMENU     "~Bitmap",                     IDM_BITMAP
  42.     BEGIN
  43.         MENUITEM     "Reflect ~horizontally",  IDM_REFLECTHORZ
  44.         MENUITEM     "Reflect ~vertically"  ,  IDM_REFLECTVERT
  45.         MENUITEM     "",ID_NULL,MIS_SEPARATOR
  46.         MENUITEM     "Rotate ~90 degrees"   ,  IDM_ROTATE90
  47.         MENUITEM     "Rotate ~180 degrees"  ,  IDM_ROTATE180
  48.         MENUITEM     "Rotate ~270 degrees"  ,  IDM_ROTATE270
  49.         MENUITEM     "",ID_NULL,MIS_SEPARATOR
  50.         MENUITEM     "Transpose ~x for y"  ,   IDM_TRANSPOSE
  51.     END
  52.     SUBMENU     "~Clipping",                   IDM_CLIP
  53.     BEGIN
  54.         MENUITEM     "Circles",                IDM_CLIPCIRCLES
  55.         MENUITEM     "Squares",                IDM_CLIPSQUARES
  56.         MENUITEM     "Radiation",              IDM_CLIPRAD
  57.         MENUITEM     "None",                   IDM_CLIPNONE
  58.     END
  59. END
  60.  
  61. STRINGTABLE
  62. BEGIN
  63.     WND_MAIN,         "2D Bitmap Sample"
  64. END
  65.