home *** CD-ROM | disk | FTP | other *** search
/ Giga CD 1995 May / Giga051995.iso / wing / cube.rc_ / cube.rc
Text File  |  1994-08-23  |  2KB  |  50 lines

  1. /**************************************************************************
  2.  
  3.     CUBE.RC - A spinning cube demo for WinG
  4.  
  5.  **************************************************************************/
  6. /**************************************************************************
  7.  
  8.     (C) Copyright 1994 Microsoft Corp.  All rights reserved.
  9.  
  10.     You have a royalty-free right to use, modify, reproduce and 
  11.     distribute the Sample Files (and/or any modified version) in 
  12.     any way you find useful, provided that you agree that 
  13.     Microsoft has no warranty obligations or liability for any 
  14.     Sample Application Files which are modified. 
  15.  
  16.  **************************************************************************/
  17.  
  18. #include <windows.h>
  19. #include "cube.hpp"
  20.  
  21. AppIcon  ICON    cube.ico
  22.  
  23. AppAbout DIALOG DISCARDABLE  22, 17, 144, 75
  24. STYLE DS_MODALFRAME | WS_POPUP
  25. FONT 8, "System"
  26. BEGIN
  27.     CTEXT           "WinG Spinning Cube Demo",-1,25,6,93,8
  28.     CTEXT           "Copyright (c) 1994 Microsoft Corp.",-1,5,47,132,9
  29.     ICON            "AppIcon",-1,62,20,18,20
  30.     DEFPUSHBUTTON   "OK",IDOK,55,59,32,14,WS_GROUP
  31. END
  32.  
  33. AppMenu menu
  34. begin
  35.     POPUP "&File"
  36.         begin
  37.             MENUITEM "&About Cube...",        MENU_ABOUT
  38.                 MENUITEM "&Spin",                    MENU_SPIN
  39.                 MENUITEM "&Grayscale",                    MENU_MONOCHROME
  40.             MENUITEM "E&xit",                    MENU_EXIT
  41.         end
  42.     POPUP "&Dither"
  43.         begin
  44.                 MENUITEM "Dispersed &8x8",        MENU_DISPERSED8x8
  45.                 MENUITEM "Dispersed &4x4",        MENU_DISPERSED4x4
  46.                 MENUITEM "&Clustered 4x4",        MENU_CLUSTERED4x4
  47.                 MENUITEM "No Dither",            MENU_UNDITHERED
  48.         end
  49. end
  50.