//==================================================================================
// Copyright (c) 2004 - 2016 , Advanced Micro Devices, Inc.  All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file AMDTTeaPot.rc 
/// 
//==================================================================================

//------------------------------ AMDTTeaPot.rc ----------------------------

#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#ifndef APSTUDIO_INVOKED
#include "targetver.h"
#endif
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

// AMD - AMDTTeapot additions
#include "../AMDTTeaPotLib/inc/AMDTTeapotConstants.h"

/////////////////////////////////////////////////////////////////////////////
// English (United States) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US

/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_WRAPPER             ICON                    "res/AMDTTeapotApplication_32.ico"
IDI_SMALL               ICON                    "res/AMDTTeapotApplicationIcon.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Menu
//

IDC_WRAPPER MENU
BEGIN
    POPUP TP_MENU_FILE
    BEGIN
        MENUITEM TP_MENU_FILE_EXIT,								IDM_EXIT
    END
    POPUP TP_MENU_COMMANDS
    BEGIN
        MENUITEM TP_MENU_COMMANDS_MAKE_CRASH,					ID_COMMAND_MAKE_CRASH
        MENUITEM TP_MENU_COMMANDS_OUTPUT_SAMPLE_DEBUG,			ID_COMMAND_OUTPUT_SAMPLE_DEBUG
        MENUITEM TP_MENU_COMMANDS_GENERATE_OPENGL_ERROR,		ID_COMMAND_GENERATE_OPENGL_ERROR
        MENUITEM TP_MENU_COMMANDS_GENERATE_OPENCL_ERROR,		ID_COMMAND_GENERATE_OPENCL_ERROR
        MENUITEM TP_MENU_COMMANDS_DETECTED_ERROR,				ID_COMMAND_DETECTED_ERROR
        MENUITEM TP_MENU_COMMANDS_TOGGLE_SHADING_PARAMETERS,	ID_COMMAND_TOGGLE_SHADING_PARAMETERS
        MENUITEM TP_MENU_COMMANDS_TOGGLE_MODEL_VIEW_MATRIX,		ID_COMMAND_TOGGLE_MODEL_VIEW_MATRIX
        MENUITEM TP_MENU_COMMANDS_TOGGLE_FRAGMENT_SHADERS,		ID_COMMAND_TOGGLE_FRAGMENT_SHADERS
    END
    POPUP TP_MENU_VIEW
    BEGIN
        MENUITEM TP_MENU_VIEW_TOGGLE_BACKGROUND_COLOR,		ID_VIEW_TOGGLE_BACKGROUND_COLOR
        MENUITEM TP_MENU_VIEW_TOGGLE_SHADING_PROGRAM,		ID_VIEW_TOGGLE_SHADING_PROGRAM, CHECKED
//        MENUITEM TP_MENU_VIEW_TOGGLE_GEOMETRY_SHADER,		ID_VIEW_TOGGLE_GEOMETRY_SHADER
        MENUITEM TP_MENU_VIEW_TOGGLE_WIREFRAME_MODE,		ID_VIEW_TOGGLE_WIREFRAME_MODE
        MENUITEM TP_MENU_VIEW_INCREASE_TEXTURE_INFLUENCE,	ID_VIEW_INCREASE_TEXTURE_INFLUENCE
        MENUITEM TP_MENU_VIEW_DECREASE_TEXTURE_INFLUENCE,	ID_VIEW_DECREASE_TEXTURE_INFLUENCE
//        MENUITEM TP_MENU_VIEW_INCREASE_SPIKINESS,			ID_VIEW_INCREASE_SPIKINESS
//        MENUITEM TP_MENU_VIEW_DECREASE_SPIKINESS,			ID_VIEW_DECREASE_SPIKINESS
    END
    POPUP TP_MENU_SMOKE
    BEGIN
        MENUITEM TP_MENU_SMOKE_ENABLED,                     ID_SMOKE_ENABLED, CHECKED
        MENUITEM TP_MENU_SMOKE_USE_GLCL_SHARING,			ID_SMOKE_USE_GLCL_SHARING, CHECKED
        MENUITEM TP_MENU_SMOKE_SHOW_GRID,                   ID_SMOKE_SHOW_GRID
        MENUITEM TP_MENU_SMOKE_RESET,                       ID_SMOKE_RESET
        MENUITEM TP_MENU_SMOKE_GRID_32_32_64,               ID_SMOKE_GRID_32_32_64
        MENUITEM TP_MENU_SMOKE_GRID_64_64_64,               ID_SMOKE_GRID_64_64_64
        MENUITEM TP_MENU_SMOKE_GRID_64_64_128,              ID_SMOKE_GRID_64_64_128
        MENUITEM TP_MENU_SMOKE_GRID_128_128_128,            ID_SMOKE_GRID_128_128_128
        MENUITEM TP_MENU_SMOKE_GRID_128_128_256,            ID_SMOKE_GRID_128_128_256
        MENUITEM TP_MENU_SMOKE_SHOW_ERROR,					ID_SMOKE_SHOW_ERROR
    END
    POPUP TP_MENU_HELP
    BEGIN
        MENUITEM TP_MENU_HELP_ABOUT,						IDM_ABOUT
    END
END


/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//

IDC_WRAPPER ACCELERATORS
BEGIN
    VK_ESCAPE,      IDM_EXIT,								VIRTKEY, NOINVERT
    "^d",           ID_COMMAND_OUTPUT_SAMPLE_DEBUG,			ASCII, NOINVERT
    "^l",           ID_COMMAND_GENERATE_OPENCL_ERROR,		ASCII, NOINVERT
    "^e",           ID_COMMAND_GENERATE_OPENGL_ERROR,		ASCII, NOINVERT
    "^p",           ID_COMMAND_GENERATE_BREAK_POINT,		ASCII, NOINVERT
    "^t",           ID_COMMAND_DETECTED_ERROR,				ASCII, NOINVERT
    "^o",           ID_COMMAND_TOGGLE_SHADING_PARAMETERS,	ASCII, NOINVERT
    "^m",           ID_COMMAND_TOGGLE_MODEL_VIEW_MATRIX,	ASCII, NOINVERT
    "^z",           ID_COMMAND_TOGGLE_FRAGMENT_SHADERS,		ASCII, NOINVERT
    "^b",           ID_VIEW_TOGGLE_BACKGROUND_COLOR,		ASCII, NOINVERT
    "^s",           ID_VIEW_TOGGLE_SHADING_PROGRAM,			ASCII, NOINVERT
    "^g",           ID_VIEW_TOGGLE_GEOMETRY_SHADER,			ASCII, NOINVERT
    "^w",           ID_VIEW_TOGGLE_WIREFRAME_MODE,			ASCII, NOINVERT
    "+",            ID_VIEW_INCREASE_TEXTURE_INFLUENCE,		ASCII, NOINVERT
    "-",            ID_VIEW_DECREASE_TEXTURE_INFLUENCE,		ASCII, NOINVERT
    "]",            ID_VIEW_INCREASE_SPIKINESS,				ASCII, NOINVERT
    "[",            ID_VIEW_DECREASE_SPIKINESS,				ASCII, NOINVERT
END


/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_ABOUTBOX DIALOGEX 0, 0, 235, 88
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION TP_ABOUT_DIALOG_TITLE
FONT 10, "MS Shell Dlg", 0, 0, 0x1
BEGIN
    ICON            IDI_WRAPPER,								IDC_STATIC,  14, 14,  20, 20
    CTEXT           TP_ABOUT_DIALOG_APPLICATION_DESCRIPTION,	IDC_STATIC,	 33, 15, 165, 14, SS_NOPREFIX | SS_CENTERIMAGE
    CTEXT           TP_ABOUT_DIALOG_COPYRIGHT,					      IDC_STATIC,	  9, 36, 215, 10, SS_CENTERIMAGE
    CTEXT           TP_ABOUT_DIALOG_WEBSITE_URL,              IDC_URL,     34, 54, 140, 10, SS_NOTIFY | NOT WS_GROUP
    DEFPUSHBUTTON   "OK",										                  IDOK,		    148, 67,  50, 14, WS_GROUP
END


/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
    IDD_ABOUTBOX, DIALOG
    BEGIN
        LEFTMARGIN, 7
        RIGHTMARGIN, 207
        TOPMARGIN, 7
        BOTTOMMARGIN, 81
    END
END
#endif    // APSTUDIO_INVOKED


#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#ifndef APSTUDIO_INVOKED\r\n"
    "#include ""targetver.h""\r\n"
    "#endif\r\n"
    "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
    "#include ""windows.h""\r\n"
    "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
    "\0"
END

3 TEXTINCLUDE 
BEGIN
    "\r\n"
    "\0"
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE
BEGIN
    IDS_APP_TITLE           TP_MAIN_WINDOW_CAPTION_STR
    IDC_WRAPPER             TP_MAIN_WINDOW_CAPTION_STR
END

/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 1,2,0,0
 PRODUCTVERSION 1,2,0,0
 FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x40004L
 FILETYPE 0x1L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK "StringFileInfo"
    BEGIN
        BLOCK "040904b0"
        BEGIN
            VALUE "CompanyName", "AMD Inc."
            VALUE "FileDescription", "CodeXL Teapot example for OpenCL and OpenGL application"
            VALUE "FileVersion", "1.2.0.0"
            VALUE "InternalName", "CXLTeaPot.exe"
            VALUE "LegalCopyright", "© 2011-2013 AMD Inc. All rights reserved."
            VALUE "OriginalFilename", "CXLTeaPot.exe"
            VALUE "ProductName", "CodeXL - OpenCL and OpenGL Debugger and Profiler"
            VALUE "ProductVersion", "1.2.0.0"
        END
    END
    BLOCK "VarFileInfo"
    BEGIN
        VALUE "Translation", 0x409, 1200
    END
END

#endif    // English (United States) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//

/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

