home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwwin / rwpaint.rc_ / rwpaint.bin
Text File  |  1995-11-14  |  4KB  |  100 lines

  1. /**********************************************************************
  2.  *
  3.  * File :     rwpaint.rc
  4.  *
  5.  * Abstract : RenderWare paint demo. Resource bindings
  6.  *
  7.  **********************************************************************
  8.  *
  9.  * This file is a product of Criterion Software Ltd.
  10.  *
  11.  * This file is provided as is with no warranties of any kind and is
  12.  * provided without any obligation on Criterion Software Ltd. or
  13.  * Canon Inc. to assist in its use or modification.
  14.  *
  15.  * Criterion Software Ltd. will not, under any
  16.  * circumstances, be liable for any lost revenue or other damages arising
  17.  * from the use of this file.
  18.  *
  19.  * Copyright (c) 1995 Criterion Software Ltd.
  20.  * All Rights Reserved.
  21.  *
  22.  * RenderWare is a trademark of Canon Inc.
  23.  *
  24.  ************************************************************************/
  25. #include "resource.h"
  26.  
  27. #include "windows.h"
  28. #include "meditres.h"
  29.  
  30. RW_ICON                 ICON    DISCARDABLE     "RW.ICO"
  31.  
  32. DIALOG_1 DIALOG DISCARDABLE  61, 23, 250, 154
  33. STYLE DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
  34. CAPTION "Material Editor"
  35. FONT 10, "System"
  36. BEGIN
  37.     CONTROL         "",MAT_BUTTON,"Button",BS_OWNERDRAW | WS_DISABLED,2,2,90,
  38.                     90
  39.     CONTROL         "",MAT_TEXTUREBUTTON,"Button",BS_OWNERDRAW,100,106,144,
  40.                     32
  41.     GROUPBOX        "Geometry",-1,2,92,89,37
  42.     GROUPBOX        "Lighting",-1,2,129,89,23
  43.     GROUPBOX        "Lighting",-1,94,0,155,52
  44.     GROUPBOX        "Color",-1,94,52,155,40
  45.     GROUPBOX        "Textures",-1,94,92,155,60
  46.     CONTROL         "Point Cloud",MAT_POINTCLOUD,"Button",BS_AUTORADIOBUTTON | 
  47.                     WS_GROUP | WS_TABSTOP,5,102,50,8
  48.     CONTROL         "Wire Frame",MAT_WIREFRAME,"Button",BS_AUTORADIOBUTTON,5,
  49.                     111,48,8
  50.     CONTROL         "Solid",MAT_SOLID,"Button",BS_AUTORADIOBUTTON,5,120,28,8
  51.     CONTROL         "Flat",MAT_FLATSHADE,"Button",BS_AUTORADIOBUTTON | 
  52.                     WS_GROUP | WS_TABSTOP,5,140,23,8
  53.     CONTROL         "Smooth",MAT_SMOOTHSHADE,"Button",BS_AUTORADIOBUTTON,37,
  54.                     140,35,8
  55.     RTEXT           "Ambient",-1,97,12,28,8
  56.     SCROLLBAR       MAT_AMBIENTSCROLL,130,12,100,7,WS_TABSTOP
  57.     LTEXT           "0.00",MAT_AMBIENTVALUE,232,12,14,8
  58.     RTEXT           "Diffuse",-1,102,22,24,8
  59.     SCROLLBAR       MAT_DIFFUSESCROLL,130,22,100,7,WS_TABSTOP
  60.     LTEXT           "0.00",MAT_DIFFUSEVALUE,232,22,14,8
  61.     RTEXT           "Specular",-1,97,32,30,8
  62.     SCROLLBAR       MAT_SPECUALRSCROLL,130,32,100,7,WS_TABSTOP
  63.     LTEXT           "0.00",MAT_SPECULARVALUE,232,32,14,8
  64.     RTEXT           "Opacity",-1,100,42,26,8
  65.     SCROLLBAR       MAT_OPACITYSCROLL,130,42,100,7,WS_TABSTOP
  66.     LTEXT           "0.00",MAT_OPACITYVALUE,232,42,14,8
  67.     RTEXT           "Red",MAT_REDTEXT,112,61,13,8
  68.     SCROLLBAR       MAT_REDSCROLL,130,62,100,7,WS_TABSTOP
  69.     LTEXT           "0.00",MAT_REDVALUE,232,62,14,8
  70.     RTEXT           "Green",MAT_GREENTEXT,107,72,19,8
  71.     SCROLLBAR       MAT_GREENSCROLL,130,72,100,7,WS_TABSTOP
  72.     LTEXT           "0.00",MAT_GREENVALUE,232,72,14,8
  73.     RTEXT           "Blue",MAT_BLUETEXT,111,82,15,8
  74.     SCROLLBAR       MAT_BLUESCROLL,130,82,100,7,WS_TABSTOP
  75.     LTEXT           "0.00",MAT_BLUEVALUE,232,82,14,8
  76.     SCROLLBAR       MAT_TEXTURESCROLL,100,140,123,9,WS_GROUP | WS_TABSTOP
  77.     CONTROL         "Lit",MAT_LIT,"Button",BS_AUTOCHECKBOX | WS_GROUP | 
  78.                     WS_TABSTOP,227,142,18,8
  79. END
  80.  
  81.  
  82. MENU_1 MENU DISCARDABLE 
  83. BEGIN
  84.     POPUP "&File"
  85.     BEGIN
  86.         MENUITEM "&Load...",                    MENU_LOAD
  87.         MENUITEM "&Save",                       MENU_SAVE
  88.         MENUITEM "Save &as...",                 MENU_SAVEAS
  89.         MENUITEM SEPARATOR
  90.         MENUITEM "E&xit",                       MENU_EXIT
  91.     END
  92. END
  93.  
  94.  
  95. moveup                  BITMAP  MOVEABLE PURE   "MOVEUP.BMP"
  96. paintup                 BITMAP  MOVEABLE PURE   "PAINTUP.BMP"
  97.  
  98.  
  99.  
  100.