#include "windows.h"
#include "menu.h"

Backtrac MENU
BEGIN
        POPUP "&File"
        {
                MENUITEM "E&xit\tEsc",                    IDM_EXIT
        }

        POPUP "&Options"
        {
            POPUP "Material"
            {
                    MENUITEM "&Air\ta",                   IDM_AIR
                    MENUITEM "&Ice\ts",                   IDM_ICE
                    MENUITEM "&Water\td",                 IDM_WATER
                    MENUITEM "&Zinc Crown Glass\tf",      IDM_ZINC
                    MENUITEM "Ligh&t Flint Glass\tg",     IDM_LIGHT
                    MENUITEM "&Heavy Flint Glass\th"      IDM_HEAVY
            }

            POPUP "Draw"
            {
                    MENUITEM "&Square\tw",                IDM_SQUARE
                    MENUITEM "Sha&dows\te",               IDM_SHADOW
                    MENUITEM "Re&fraction\tr",            IDM_REFRACTION
                    MENUITEM "S&phere\tt",                IDM_SPHERE
                    MENUITEM "Li&ghts\ty",                IDM_LIGHTS
                    MENUITEM "Te&xture Map\tu",           IDM_TEXTURE
                    MENUITEM SEPARATOR
                    MENUITEM "A&ll\tq",                   IDM_ALL
            }

            POPUP "Subdivision"
            {
                    MENUITEM "&10\t1",                    IDM_10
                    MENUITEM "&20\t2",                    IDM_20
                    MENUITEM "&30\t3",                    IDM_30
                    MENUITEM "&40\t4",                    IDM_40
            }

            POPUP "Lights"
            {
                    MENUITEM "&Reset\tReturn",            IDM_RESETLGT
                    MENUITEM SEPARATOR
                    MENUITEM "Red\tR",                   IDM_RED
                    MENUITEM "Green\tG",                 IDM_GREEN
                    MENUITEM "BLUE\tB",                  IDM_BLUE
            }

            POPUP "Motion"
            {
                    MENUITEM "&Quick Motion\tSpace",      IDM_QUICK
                    MENUITEM "Rotate A&uto\tp",           IDM_AUTO
            }
        }

END
