#include <windows.h>
#include "Cubes.h"
#include "version.h"
wcubes ACCELERATORS
{
  VK_F3, ACTION_READ, VIRTKEY
  "r", ACTION_READ
  "R", ACTION_READ
  VK_F4, ACTION_WRITE, VIRTKEY
  "w", ACTION_WRITE
  "W", ACTION_WRITE
  VK_F10, ACTION_EXIT, VIRTKEY
  "q", ACTION_EXIT
  "Q", ACTION_EXIT
  "^c", ACTION_EXIT
  "^C", ACTION_EXIT
  VK_ESCAPE, ACTION_HIDE, VIRTKEY
  VK_F5, ACTION_UNDO, VIRTKEY
  "u", ACTION_UNDO
  "U", ACTION_UNDO
  VK_F6, ACTION_REDO, VIRTKEY
  "e", ACTION_REDO
  "E", ACTION_REDO
  VK_F7, ACTION_CLEAR, VIRTKEY
  "c", ACTION_CLEAR
  "C", ACTION_CLEAR
  VK_F8, ACTION_RANDOMIZE, VIRTKEY
  "z", ACTION_RANDOMIZE
  "Z", ACTION_RANDOMIZE
  VK_F9, ACTION_SOLVE, VIRTKEY
  "s", ACTION_SOLVE
  "S", ACTION_SOLVE
  ".", ACTION_SPEED
  ">", ACTION_SPEED
  ",", ACTION_SLOW
  "<", ACTION_SLOW
  "@", ACTION_SOUND
  VK_NUMPAD4, ACTION_LEFT, VIRTKEY
  VK_LEFT, ACTION_LEFT, VIRTKEY
  VK_NUMPAD6, ACTION_RIGHT, VIRTKEY
  VK_RIGHT, ACTION_RIGHT, VIRTKEY
  VK_NUMPAD8, ACTION_UP, VIRTKEY
  VK_UP, ACTION_UP, VIRTKEY
  VK_NUMPAD2, ACTION_DOWN, VIRTKEY
  VK_DOWN, ACTION_DOWN, VIRTKEY
  VK_F12, ACTION_IN, VIRTKEY
  VK_NUMPAD5, ACTION_IN, VIRTKEY
  VK_CLEAR, ACTION_IN, VIRTKEY
  "i", ACTION_IN
  "I", ACTION_IN
  VK_F11, ACTION_OUT, VIRTKEY
  VK_DIVIDE, ACTION_OUT, VIRTKEY
  "o", ACTION_OUT
  "O", ACTION_OUT
  VK_NUMPAD4, ACTION_DECX, VIRTKEY, CONTROL
  VK_LEFT, ACTION_DECX, VIRTKEY, CONTROL
  VK_NUMPAD6, ACTION_INCX, VIRTKEY, CONTROL
  VK_RIGHT, ACTION_INCX, VIRTKEY, CONTROL
  VK_NUMPAD8, ACTION_INCY, VIRTKEY, CONTROL
  VK_UP, ACTION_INCY, VIRTKEY, CONTROL
  VK_NUMPAD2, ACTION_DECY, VIRTKEY, CONTROL
  VK_DOWN, ACTION_DECY, VIRTKEY, CONTROL
  VK_F12, ACTION_DECZ, VIRTKEY, CONTROL
  VK_NUMPAD5, ACTION_DECZ, VIRTKEY, CONTROL
  VK_CLEAR, ACTION_DECZ, VIRTKEY, CONTROL
  VK_F11, ACTION_INCZ, VIRTKEY, CONTROL
  VK_DIVIDE, ACTION_INCZ, VIRTKEY, CONTROL
  "?", ACTION_DESCRIPTION
  "!", ACTION_FEATURES
  94, ACTION_REFERENCES /* ^ */
  "a", ACTION_ABOUT
  "A", ACTION_ABOUT
  VK_F1, ACTION_ABOUT, VIRTKEY
}
picture BITMAP "mandrill.bmp"
wcubes ICON "cubes.ico"
wcubes MENU
{
  POPUP "&File"
  {
    MENUITEM "&Read\tF3", ACTION_READ
    MENUITEM "&Write\tF4", ACTION_WRITE
    MENUITEM "E&xit\tF10", ACTION_EXIT
  }
  POPUP "&Edit"
  {
    MENUITEM "&Undo\tF5", ACTION_UNDO
    MENUITEM "R&edo\tF6", ACTION_REDO
    MENUITEM "&Clear\tF7", ACTION_CLEAR
    MENUITEM "Randomi&ze\tF8", ACTION_RANDOMIZE
    MENUITEM "Auto-&solve\tF9", ACTION_SOLVE
    MENUITEM "&Speed\t>", ACTION_SPEED
    MENUITEM "&Slow\t<", ACTION_SLOW
    MENUITEM "&Sound\t@", ACTION_SOUND
  }
  POPUP "&Move"
  {
    MENUITEM "&Left\tNUMPAD 4", ACTION_LEFT
    MENUITEM "&Right\tNUMPAD 6", ACTION_RIGHT
    MENUITEM "&Up\tNUMPAD 8", ACTION_UP
    MENUITEM "&Down\tNUMPAD 2", ACTION_DOWN
    MENUITEM "&In\tNUMPAD 5", ACTION_IN
    MENUITEM "&Out\tDIVIDE", ACTION_OUT
  }
  POPUP "&Size"
  {
    MENUITEM "&Increment X\tCtrl+NUMPAD 6", ACTION_INCX
    MENUITEM "&Decrement X\tCtrl+NUMPAD 4", ACTION_DECX
    MENUITEM "&Increment Y\tCtrl+NUMPAD 8", ACTION_INCY
    MENUITEM "&Decrement Y\tCtrl+NUMPAD 2", ACTION_DECY
    MENUITEM "&Increment Z\tCtrl+DIVIDE", ACTION_INCZ
    MENUITEM "&Decrement Z\tCtrl+NUMPAD 5", ACTION_DECZ
  }
  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 "wcubes", -1, 5, 7, 16, 16
  LTEXT "Windows Cubes  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: http://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
}
