windows-nt/Source/XPSP1/NT/multimedia/opengl/pmesh/demo/viewer.rc

131 lines
4.7 KiB
Plaintext
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
#include "viewerres.h"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
APPMENU MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Open PMesh\tCtrl+O", MENU_FILE_OPEN_PMESH
MENUITEM SEPARATOR
MENUITEM "E&xit\tCtrl+X", MENU_EXIT
END
POPUP "&Culling"
BEGIN
MENUITEM "&Enable Culling", MENU_CULL
MENUITEM SEPARATOR
MENUITEM "Bac&kface Culling", MENU_BACKFACE
MENUITEM "&Frontface Culling", MENU_FRONTFACE
MENUITEM SEPARATOR
MENUITEM "&Frontface CCW", MENU_CCW
MENUITEM "F&rontface CW", MENU_CW
END
POPUP "&Rendering"
BEGIN
MENUITEM "&Z-Buffer\tCtrl+Z", MENU_DEPTH
MENUITEM SEPARATOR
MENUITEM "&Point\tCtrl+P", MENU_POINT
MENUITEM "&Wireframe\tCtrl+W", MENU_WIREFRAME
MENUITEM "&Solid\tCtrl+S", MENU_SOLID
END
POPUP "&Shading"
BEGIN
MENUITEM "&Flat\tCtrl+F", MENU_FLAT
MENUITEM "&Gouraud\tCtrl+G", MENU_GOURAUD
MENUITEM "&Lighting\tCtrl+L", MENU_LIGHTING
END
POPUP "&Texturing"
BEGIN
MENUITEM "&Textures On\tF8", MENU_TEXTURE_TOGGLE
MENUITEM "&Swap Textures\tF9", MENU_TEXTURE_SWAP
MENUITEM SEPARATOR
MENUITEM "P&oint Filtering\tCtrl+O", MENU_POINT_FILTER
MENUITEM "Bi-&Linear Filtering\tCtrl+L", MENU_LINEAR_FILTER
END
MENUITEM "&Statistics", MENU_STATS
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
// APPACCEL ACCELERATORS DISCARDABLE
// BEGIN
// VK_F1, MENU_STATS, VIRTKEY, NOINVERT
// VK_F2, MENU_FLAT, VIRTKEY, NOINVERT
// VK_F3, MENU_GOURAUD, VIRTKEY, NOINVERT
// VK_F4, MENU_PHONG, VIRTKEY, NOINVERT
// VK_F5, MENU_ZBUFFER, VIRTKEY, NOINVERT
// VK_F6, MENU_CLEARS, VIRTKEY, NOINVERT
// VK_F7, MENU_SPECULAR, VIRTKEY, NOINVERT
// VK_F8, MENU_TEXTURE_TOGGLE, VIRTKEY, NOINVERT
// VK_F9, MENU_TEXTURE_SWAP, VIRTKEY, NOINVERT
// "P", MENU_POINT, VIRTKEY, CONTROL, NOINVERT
// "W", MENU_WIREFRAME, VIRTKEY, CONTROL, NOINVERT
// "S", MENU_SOLID, VIRTKEY, CONTROL, NOINVERT
// "D", MENU_DITHERING, VIRTKEY, CONTROL, NOINVERT
// "A", MENU_ANTIALIAS, VIRTKEY, CONTROL, NOINVERT
// "F", MENU_FOG, VIRTKEY, CONTROL, NOINVERT
// "O", MENU_POINT_FILTER, VIRTKEY, CONTROL, NOINVERT
// "L", MENU_LINEAR_FILTER, VIRTKEY, CONTROL, NOINVERT
// VK_ESCAPE, MENU_EXIT, VIRTKEY, NOINVERT
// VK_SPACE, MENU_STEP, VIRTKEY, NOINVERT
// VK_RETURN, MENU_GO, VIRTKEY, NOINVERT
// VK_RETURN, MENU_FULLSCREEN, VIRTKEY, ALT, NOINVERT
// VK_TAB, MENU_STATS, VIRTKEY, NOINVERT
// VK_NEXT, MENU_NEXT_MODE, VIRTKEY, ALT, NOINVERT
// VK_PRIOR, MENU_PREVIOUS_MODE, VIRTKEY, ALT, NOINVERT
// END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
// APPABOUT DIALOG DISCARDABLE 0, 0, 188, 96
// STYLE DS_MODALFRAME | WS_POPUP
// BEGIN
// DEFPUSHBUTTON "OK",IDOK,76,75,35,14
// CTEXT "Direct3D Example",IDC_STATIC,61,5,65,15
// CTEXT "Copyright (c) 1995, 1996 Microsoft Corp.",IDC_STATIC,21,
// 55,145,12
// ICON "AppIcon",IDC_STATIC,86,25,16,16
// END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDR_MYACCELERATOR1 ACCELERATORS DISCARDABLE
BEGIN
"O", MENU_FILE_OPEN_PMESH, VIRTKEY, CONTROL, NOINVERT
"X", MENU_EXIT, VIRTKEY, CONTROL, NOINVERT
"A", MENU_STATS, VIRTKEY, CONTROL, NOINVERT
"F", MENU_FLAT, VIRTKEY, CONTROL, NOINVERT
"G", MENU_GOURAUD, VIRTKEY, CONTROL, NOINVERT
"L", MENU_LIGHTING, VIRTKEY, CONTROL, NOINVERT
"P", MENU_POINT, VIRTKEY, CONTROL, NOINVERT
"W", MENU_WIREFRAME, VIRTKEY, CONTROL, NOINVERT
"S", MENU_SOLID, VIRTKEY, CONTROL, NOINVERT
END
/////////////////////////////////////////////////////////////////////////////