287 lines
12 KiB
Plaintext
287 lines
12 KiB
Plaintext
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#define IDC_STATIC -1
|
|
#include <windows.h>
|
|
#include <scrnsave.h>
|
|
#include <ntverp.h>
|
|
#define VER_INTERNALNAME_STR "Pipes"
|
|
#define VER_ORIGINALFILENAME_STR "Pipes"
|
|
#define VER_FILEDESCRIPTION_STR "Direct3D Pipes Screen Saver"
|
|
#define VER_FILETYPE VFT_APP
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
#include "common.ver"
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (U.S.) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDI_MAIN_ICON ICON DISCARDABLE "app.ico"
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#define IDC_STATIC -1\r\n"
|
|
"#include <windows.h>\r\n"
|
|
"\r\n"
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_CONFIGURE, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 6
|
|
RIGHTMARGIN, 156
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 199
|
|
END
|
|
|
|
IDD_SCREENSETTINGS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 191
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_CONFIGURE DIALOG DISCARDABLE 28, 25, 318, 140
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "3D Pipes Settings"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,207,120,50,14,WS_GROUP
|
|
PUSHBUTTON "Cancel",IDCANCEL,262,120,50,14,WS_GROUP
|
|
GROUPBOX "Pipes",IDC_STATIC,6,7,150,50
|
|
CONTROL "&Single",IDC_RADIO_SINGLE_PIPE,"Button",
|
|
BS_AUTORADIOBUTTON,16,22,35,10
|
|
CONTROL "&Multiple",IDC_RADIO_MULTIPLE_PIPES,"Button",
|
|
BS_AUTORADIOBUTTON,16,37,40,10
|
|
GROUPBOX "Pipe Style",IDC_STATIC,162,7,150,50
|
|
LTEXT "&Joint Type:",IDC_STATIC_JOINTTYPE,178,22,35,8
|
|
COMBOBOX DLG_COMBO_JOINTTYPE,178,32,115,50,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_GROUP | WS_TABSTOP
|
|
GROUPBOX "Surface Style",IDC_STATIC,6,60,150,50,WS_GROUP
|
|
CONTROL "S&olid",IDC_RADIO_SOLID,"Button",BS_AUTORADIOBUTTON |
|
|
WS_TABSTOP,16,73,35,13
|
|
CONTROL "Te&xtured",IDC_RADIO_TEX,"Button",BS_AUTORADIOBUTTON |
|
|
WS_TABSTOP,16,88,48,14
|
|
PUSHBUTTON "&Choose Texture...",DLG_SETUP_TEXTURE,70,88,66,14
|
|
PUSHBUTTON "&Display Settings...",IDC_SCREENSETTINGS,6,120,94,14
|
|
GROUPBOX "Speed",IDC_STATIC,162,60,150,50
|
|
CONTROL "Slider1",IDC_SPEED_SLIDER,"msctls_trackbar32",TBS_BOTH |
|
|
TBS_NOTICKS | WS_TABSTOP,173,83,127,15
|
|
LTEXT "Slow",IDC_STATIC,178,72,16,8
|
|
LTEXT "Fast",IDC_STATIC,281,72,14,8
|
|
END
|
|
|
|
IDD_SINGLEMONITORSETTINGS DIALOG DISCARDABLE 0, 0, 255, 170
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Display Settings"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
GROUPBOX "Video adapter",IDC_STATIC,7,7,241,69
|
|
LTEXT "Name:",IDC_STATIC,13,18,33,8
|
|
LTEXT "",IDC_ADAPTERNAME,57,18,159,8
|
|
LTEXT "Rendering:",IDC_STATIC,13,31,36,8
|
|
LTEXT "",IDC_RENDERING,57,31,130,17
|
|
PUSHBUTTON "&Help",IDC_MOREINFO,194,33,50,14
|
|
CONTROL "&Disable hardware 3D rendering",IDC_DISABLEHW,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,14,54,215,10
|
|
GROUPBOX "Display mode",IDC_DISPLAYMODEBOX,7,84,241,55
|
|
LTEXT "Display &mode for this video adapter:",IDC_MODESSTATIC,
|
|
13,95,126,8
|
|
COMBOBOX IDC_MODESCOMBO,144,93,100,133,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Note: The Automatic display mode finds a mode that works well with your current screen saver settings and video adapter.",
|
|
IDC_DISPLAYMODENOTE,13,109,227,27
|
|
LTEXT "Automatic",IDC_AUTOMATIC,184,126,32,8,NOT WS_VISIBLE
|
|
LTEXT "%d by %d, %d bit color",IDC_MODEFMT,13,152,71,8,NOT
|
|
WS_VISIBLE
|
|
DEFPUSHBUTTON "OK",IDOK,143,148,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,197,148,50,14
|
|
END
|
|
|
|
IDD_MULTIMONITORSETTINGS DIALOG DISCARDABLE 0, 0, 270, 236
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Display Settings"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "Monitor %d",IDC_TABNAMEFMT,214,8,32,8,NOT WS_VISIBLE
|
|
GROUPBOX "Video adapter",IDC_STATIC,13,23,244,65
|
|
LTEXT "Name:",IDC_STATIC,19,35,40,8
|
|
LTEXT "",IDC_ADAPTERNAME,65,35,168,8
|
|
LTEXT "Rendering:",IDC_STATIC,19,48,40,8
|
|
LTEXT "",IDC_RENDERING,65,48,132,17
|
|
PUSHBUTTON "&Help",IDC_MOREINFO,202,49,50,14
|
|
CONTROL "&Disable hardware 3D rendering on this monitor",
|
|
IDC_DISABLEHW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,19,
|
|
71,215,10
|
|
GROUPBOX "Monitor usage",IDC_SCREENUSAGEBOX,13,94,244,44
|
|
CONTROL "Display &screen saver on this monitor",IDC_RENDER,
|
|
"Button",BS_AUTORADIOBUTTON,19,107,200,10
|
|
CONTROL "Display ¬hing on this monitor",IDC_LEAVEBLACK,"Button",
|
|
BS_AUTORADIOBUTTON,19,120,200,10
|
|
GROUPBOX "Display mode",IDC_DISPLAYMODEBOX,13,146,244,55
|
|
LTEXT "Display &mode for this video adapter:",IDC_MODESSTATIC,
|
|
19,158,126,8
|
|
COMBOBOX IDC_MODESCOMBO,152,156,100,133,CBS_DROPDOWNLIST |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Note: The Automatic display mode finds a mode that works well with your current screen saver settings and video adapter.",
|
|
IDC_DISPLAYMODENOTE,19,173,232,22
|
|
LTEXT "Automatic",IDC_AUTOMATIC,193,182,32,8,NOT WS_VISIBLE
|
|
LTEXT "%d by %d, %d bit color",IDC_MODEFMT,22,221,71,8,NOT
|
|
WS_VISIBLE
|
|
DEFPUSHBUTTON "OK",IDOK,159,216,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,213,216,50,14
|
|
CONTROL "Tab1",IDC_MONITORSTAB,"SysTabControl32",WS_TABSTOP,7,7,
|
|
256,201
|
|
END
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Bitmap
|
|
//
|
|
|
|
IDB_DEFTEX BITMAP DISCARDABLE "stripe.bmp"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_DESCRIPTION "3D Pipes"
|
|
IDS_JOINT_ELBOW "Elbow"
|
|
IDS_JOINT_BALL "Ball"
|
|
IDS_JOINT_MIXED "Mixed"
|
|
IDS_JOINT_CYCLE "Cycle"
|
|
IDS_TEXTUREFILTER "Texture Files (*.bmp;*.jpg;*.tga;*.png)#*.bmp;*.jpg;*.tga;*.png#"
|
|
IDS_TEXTUREDIALOGTITLE "Choose Texture File"
|
|
IDS_TITLE "3D Pipes"
|
|
IDS_JOINTTYPE "JointType"
|
|
IDS_SURFSTYLE "SurfStyle"
|
|
IDS_TEXQUAL "TextureQuality"
|
|
IDS_MULTIPIPES "MultiPipes"
|
|
IDS_SAVERNAME "Screen Saver.3DPipes"
|
|
IDS_INIFILE "control.ini"
|
|
IDS_TEXTURE "Texture"
|
|
END
|
|
|
|
STRINGTABLE PRELOAD DISCARDABLE
|
|
BEGIN
|
|
IDS_ERR_GENERIC "There was an unspecified problem with this screen saver."
|
|
IDS_ERR_NODIRECT3D "Direct3D 8.0 could not be initialized. Please install the latest version of DirectX."
|
|
IDS_ERR_NOWINDOWEDHAL "Could not initialize the screen saver."
|
|
IDS_ERR_CREATEDEVICEFAILED "Could not create the Direct3D device."
|
|
IDS_ERR_NOCOMPATIBLEDEVICES
|
|
"Could not find any compatible Direct3D devices."
|
|
IDS_ERR_NOHARDWAREDEVICE
|
|
"No hardware-accelerated Direct3D devices were found."
|
|
IDS_ERR_HALNOTCOMPATIBLE
|
|
"This screen saver requires functionality that is not available on your Direct3D hardware accelerator."
|
|
IDS_ERR_NOHALTHISMODE "This screen saver requires functionality that is not available on your Direct3D hardware accelerator with the current desktop display settings."
|
|
IDS_ERR_MEDIANOTFOUND "Could not load required media."
|
|
IDS_ERR_RESIZEFAILED "Could not reset the Direct3D device."
|
|
IDS_ERR_OUTOFMEMORY "Not enough memory."
|
|
IDS_ERR_OUTOFVIDEOMEMORY "Not enough video memory."
|
|
IDS_ERR_NOPREVIEW "No preview available"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_INFO_GOODHAL "This video adapter supports hardware 3D rendering. This screen saver can be displayed on this monitor."
|
|
IDS_INFO_BADHAL_GOODSW "This video adapter supports hardware 3D rendering, but this screensaver requires functionality not available in hardware. A software renderer will be used instead. This screen saver can be displayed on this monitor."
|
|
IDS_INFO_BADHAL_BADSW "This video adapter supports hardware 3D rendering, but this screensaver requires functionality not available in hardware or software. This screen saver cannot be displayed on this monitor."
|
|
IDS_INFO_BADHAL_NOSW "This video adapter supports hardware 3D rendering, but this screensaver requires functionality not available in hardware. No software renderer is available. This screen saver cannot be displayed on this monitor."
|
|
IDS_INFO_NOHAL_GOODSW "This video adapter does not support hardware 3D rendering. A software renderer will be used instead. This screen saver can be displayed on this monitor."
|
|
IDS_INFO_NOHAL_BADSW "This video adapter does not support hardware 3D rendering. This screensaver requires functionality not available in the software renderer. This screen saver cannot be displayed on this monitor."
|
|
IDS_INFO_NOHAL_NOSW "This video adapter does not support hardware 3D rendering. No software renderer is available. This screen saver cannot be displayed on this monitor."
|
|
IDS_INFO_DISABLEDHAL_GOODSW
|
|
"The video adapter supports hardware 3D rendering, but it has been disabled. A software renderer will be used instead. This screen saver can be displayed on this monitor."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_INFO_DISABLEDHAL_BADSW
|
|
"This video adapter supports hardware 3D rendering, but it has been disabled. This screensaver requires functionality not available in the software renderer. This screen saver cannot be displayed on this monitor."
|
|
IDS_INFO_DISABLEDHAL_NOSW
|
|
"This video adapter supports hardware 3D rendering, but it has been disabled. No software renderer is available. This screen saver cannot be displayed on this monitor."
|
|
IDS_RENDERING_HAL "The screen saver can use hardware 3D rendering on this monitor."
|
|
IDS_RENDERING_SW "The screen saver can use software 3D rendering on this monitor."
|
|
IDS_RENDERING_NONE "The screen saver cannot be displayed on this monitor."
|
|
END
|
|
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|