home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / ioc / 2dbmap / 2dbmap.rcx < prev    next >
Encoding:
Text File  |  1996-02-22  |  3.6 KB  |  74 lines

  1. /******************************************************************************
  2. * .FILE:         2d-bmap.rc                                                   *
  3. *                                                                             *
  4. * .DESCRIPTION:  2d Bitmap Graphic Sample Program:  Resource File             *
  5. *                                                                             *
  6. * .COPYRIGHT:                                                                 *
  7. *    Licensed Material - Program-Property of IBM                              *
  8. *    (C) Copyright IBM Corp. 1992, 1996 - All Rights Reserved                 *
  9. *                                                                             *
  10. * .DISCLAIMER:                                                                *
  11. *   The following [enclosed] code is sample code created by IBM               *
  12. *   Corporation.  This sample code is not part of any standard IBM product    *
  13. *   and is provided to you solely for the purpose of assisting you in the     *
  14. *   development of your applications.  The code is provided 'AS IS',          *
  15. *   without warranty of any kind.  IBM shall not be liable for any damages    *
  16. *   arising out of your use of the sample code, even if they have been        *
  17. *   advised of the possibility of such damages.                               *
  18. *                                                                             *
  19. * .NOTE: WE RECOMMEND USING A FIXED SPACE FONT TO LOOK AT THE SOURCE          *
  20. *                                                                             *
  21. ******************************************************************************/
  22. #ifdef IC_PM
  23. #include <os2.h>
  24. #endif
  25. #include "2dbmap.h"
  26.  
  27. //**************************************************************************
  28. // icon and bitmap resources                                               *
  29. //  Symbolic Name (ID) <-> icon filename                                   *
  30. //**************************************************************************
  31. ICON WND_MAIN "2dbmap.ico"
  32.  
  33.  
  34.  
  35. MENU WND_MAIN PRELOAD
  36. BEGIN
  37.     SUBMENU     "~File",                       IDM_FILE
  38.     BEGIN
  39.         MENUITEM     "~Open...\tCtrl+O",       IDM_FILEOPEN
  40.         MENUITEM     SEPARATOR
  41.         MENUITEM     "~Quit\tF3",              IDM_QUIT
  42.     END
  43.     SUBMENU     "~Bitmap",                     IDM_BITMAP
  44.     BEGIN
  45.         MENUITEM     "Reflect ~horizontally",  IDM_REFLECTHORZ
  46.         MENUITEM     "Reflect ~vertically"  ,  IDM_REFLECTVERT
  47.         MENUITEM     SEPARATOR
  48.         MENUITEM     "Rotate ~90 degrees"   ,  IDM_ROTATE90
  49.         MENUITEM     "Rotate ~180 degrees"  ,  IDM_ROTATE180
  50.         MENUITEM     "Rotate ~270 degrees"  ,  IDM_ROTATE270
  51.         MENUITEM     SEPARATOR
  52.         MENUITEM     "Transpose ~x for y"  ,   IDM_TRANSPOSE
  53.     END
  54.     SUBMENU     "~Clipping",                   IDM_CLIP
  55.     BEGIN
  56.         MENUITEM     "Circles",                IDM_CLIPCIRCLES
  57.         MENUITEM     "Squares",                IDM_CLIPSQUARES
  58.         MENUITEM     "Radiation",              IDM_CLIPRAD
  59.         MENUITEM     "None",                   IDM_CLIPNONE
  60.     END
  61. END
  62.  
  63. //**************************************************************************
  64. // string resources - used by IStaticText & ITitle Classes                 *
  65. //  Symbolic Name (ID) <-> Text String                                     *
  66. //**************************************************************************
  67.  
  68. STRINGTABLE
  69. BEGIN
  70.     WND_MAIN,         "2D Bitmap Sample"
  71.     TITLE_LD_IMG,     "Load an image file"
  72.     STR_FL_NAME,      "*.bmp"
  73. END
  74.