#include <windows.h>
#include "Threed.h"
#include "version.h"
wthreed ACCELERATORS
{
  VK_F10, ACTION_EXIT, VIRTKEY
  "q", ACTION_EXIT
  "Q", ACTION_EXIT
/*  "^c", ACTION_EXIT
  "^C", ACTION_EXIT*/
  VK_ESCAPE, ACTION_HIDE, VIRTKEY
  "s", ACTION_SURFACE
  "S", ACTION_SURFACE
  "b", ACTION_OBJECT
  "B", ACTION_OBJECT
  "T", ACTION_TETRA
  "H", ACTION_HEXA
  "O", ACTION_OCTA
  "D", ACTION_DODECA
  "I", ACTION_ICOSA
  "M", ACTION_RHOMBIC
  "N", ACTION_TRIACONTA
  "u", ACTION_TRUNC
  "R", ACTION_IRREG
  "c", ACTION_TETRADECA
  "t", ACTION_STAR
  "G", ACTION_GREAT_DODECA
  "e", ACTION_SMALL_STEL_DODECA
  "E", ACTION_GREAT_STEL_DODECA
  "i", ACTION_GREAT_ICOSA
  "U", ACTION_CUBOCT
  "n", ACTION_SQUARE_ANTIPRISM
  "P", ACTION_PYRAMID
  "C", ACTION_CUBES
  "F", ACTION_F16
  "l", ACTION_DISTXD
  "r", ACTION_DISTXI
  "u", ACTION_DISTYI
  "d", ACTION_DISTYD
  "i", ACTION_DEPTHZD
  "o", ACTION_DEPTHZI
  ".", ACTION_SPEED
  ">", ACTION_SPEED
  ",", ACTION_SLOW
  "<", ACTION_SLOW
  "@", ACTION_SOUND
  VK_NUMPAD4, ACTION_THETAI, VIRTKEY
  VK_LEFT, ACTION_THETAI, VIRTKEY
  VK_NUMPAD6, ACTION_THETAD, VIRTKEY
  VK_RIGHT, ACTION_THETAD, VIRTKEY
  VK_NUMPAD8, ACTION_PHII, VIRTKEY
  VK_UP, ACTION_PHII, VIRTKEY
  VK_NUMPAD2, ACTION_PHID, VIRTKEY
  VK_DOWN, ACTION_PHID, VIRTKEY
  VK_F12, ACTION_PSID, VIRTKEY
  VK_NUMPAD5, ACTION_PSID, VIRTKEY
  VK_CLEAR, ACTION_PSID, VIRTKEY
  VK_F11, ACTION_PSII, VIRTKEY
  VK_DIVIDE, ACTION_PSII, VIRTKEY
  VK_NUMPAD7, ACTION_DIAG3, VIRTKEY
  VK_HOME, ACTION_DIAG3, VIRTKEY
  VK_NUMPAD1, ACTION_DIAG2, VIRTKEY
  VK_END, ACTION_DIAG2, VIRTKEY
  VK_NUMPAD9, ACTION_DIAG0, VIRTKEY
  VK_PRIOR, ACTION_DIAG0, VIRTKEY
  VK_NUMPAD3, ACTION_DIAG1, VIRTKEY
  VK_NEXT, ACTION_DIAG1, VIRTKEY
  "?", ACTION_DESCRIPTION
  "!", ACTION_FEATURES
  94, ACTION_REFERENCES /* ^ */
  "a", ACTION_ABOUT
  "A", ACTION_ABOUT
  VK_F1, ACTION_ABOUT, VIRTKEY
}
wthreed ICON "threed.ico"
wthreed MENU
{
  POPUP "&File"
  {
    MENUITEM "&Load", ACTION_LOAD
    MENUITEM "&Quit\tF10", ACTION_EXIT
  }
  POPUP "&Edit"
  {
    MENUITEM "&Surface\tS", ACTION_SURFACE
    MENUITEM "&Object\tb", ACTION_OBJECT
    MENUITEM "&Sound\t@", ACTION_SOUND
  }
  POPUP "&Object"
  {
    MENUITEM "&Tetrahedron\tT", ACTION_TETRA
    MENUITEM "&Hexahedron\tH", ACTION_HEXA
    MENUITEM "&Octahedron\tO", ACTION_OCTA
    MENUITEM "&Dodecahedron\tD", ACTION_DODECA
    MENUITEM "&Icosahedron\tI", ACTION_ICOSA
    MENUITEM "Rho&mbic_Dodecahedron\tM", ACTION_RHOMBIC
    MENUITEM "Rhombic_Triaco&ntahedron\tN", ACTION_TRIACONTA
    MENUITEM "Tr&uncated_Octahedron\tu", ACTION_TRUNC
    MENUITEM "I&rregular_Dodecahedron\tR", ACTION_IRREG
    MENUITEM "Tetrade&cahedron\tc", ACTION_TETRADECA
    MENUITEM "S&tella_Octangula\tt", ACTION_STAR
    MENUITEM "&Great_Dodecahedron\tG", ACTION_GREAT_DODECA
    MENUITEM "Small_St&ellated_Dodecahedron\te", ACTION_SMALL_STEL_DODECA
    MENUITEM "Great_St&ellated_Dodecahedron\tE", ACTION_GREAT_STEL_DODECA
    MENUITEM "Great_&Icosahedron\ti", ACTION_GREAT_ICOSA
    MENUITEM "C&uboctaheron\tU", ACTION_CUBOCT
    MENUITEM "Square_A&ntiprism\tn", ACTION_SQUARE_ANTIPRISM
    MENUITEM "&Pyramid\tP", ACTION_PYRAMID
    MENUITEM "&Cubes\tC", ACTION_CUBES
    MENUITEM "&F16\tF", ACTION_F16
  }
  POPUP "&Distance"
  {
    MENUITEM "&right\tr", ACTION_DISTXI
    MENUITEM "&left\tl", ACTION_DISTXD
    MENUITEM "&up\tu", ACTION_DISTYI
    MENUITEM "&down\td", ACTION_DISTYD
    MENUITEM "&out\to", ACTION_DEPTHZI
    MENUITEM "&in\ti", ACTION_DEPTHZD
  }
  POPUP "&Angle"
  {
    MENUITEM "&Theta\tNUMPAD 4", ACTION_THETAI
    MENUITEM "-Th&eta\tNUMPAD 6", ACTION_THETAD
    MENUITEM "&Phi\tNUMPAD 8", ACTION_PHII
    MENUITEM "-P&hi\tNUMPAD 2", ACTION_PHID
    MENUITEM "Ps&i\tDIVIDE", ACTION_PSII
    MENUITEM "-P&si\tNUMPAD 5", ACTION_PSID
  }
  POPUP "&Help"
  {
    MENUITEM "&Description\t?", ACTION_DESCRIPTION
    MENUITEM "&Features\t!", ACTION_FEATURES
    MENUITEM "&References\t^", ACTION_REFERENCES
    MENUITEM "&About\tF1", ACTION_ABOUT
  }
}
ABOUT DIALOG 25, 28, 190, 100
/*;LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL*/
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About"
{
  ICON "wthreed", -1, 5, 7, 16, 16
  LTEXT "Windows Three D  Version " VERSION, -1, 30, 11, 150, 18
  CONTROL "", -1, "Static", SS_BLACKRECT, 20, 29, 148, 1
  LTEXT "Send bugs (reports, or fixes) to the author: David Bagley <bagleyd AT verizon.net>", -1, 30, 33, 150, 18
  CONTROL "", -1, "Static", SS_BLACKRECT, 20, 53, 148, 1
  LTEXT "The latest version is at: https://www.sillycycle.com/puzzles.html", -1, 30, 58, 150, 18
  CONTROL "", -1, "Static", SS_BLACKRECT, 20, 79, 148, 1
  DEFPUSHBUTTON "OK", IDOK, 79, 84, 32, 14, WS_GROUP
}
