Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

371 lines
16 KiB

//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 "Text3D"
#define VER_ORIGINALFILENAME_STR "Text3D"
#define VER_FILEDESCRIPTION_STR "Direct3D 3D Text 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
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
DLG_SELECT_FONT DIALOG DISCARDABLE 13, 54, 232, 183
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Font"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Font:",1088,6,3,40,9
COMBOBOX 1136,6,13,94,54,CBS_SIMPLE | CBS_OWNERDRAWFIXED |
CBS_AUTOHSCROLL | CBS_SORT | CBS_HASSTRINGS |
CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
LTEXT "Font St&yle:",1089,108,3,44,9
COMBOBOX 1137,108,13,64,54,CBS_SIMPLE | CBS_DISABLENOSCROLL |
WS_VSCROLL | WS_TABSTOP
COMBOBOX 1138,49,161,16,12,CBS_SIMPLE | CBS_OWNERDRAWFIXED |
CBS_SORT | CBS_HASSTRINGS | CBS_DISABLENOSCROLL | NOT
WS_VISIBLE | WS_DISABLED | WS_VSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK",IDOK,183,25,40,14,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,183,44,40,14,WS_GROUP
PUSHBUTTON "&Apply",1026,97,158,8,14,WS_GROUP
PUSHBUTTON "&Help",1038,110,158,6,14,WS_GROUP
CONTROL "Stri&keout",1040,"Button",BS_AUTOCHECKBOX | NOT
WS_VISIBLE | WS_DISABLED | WS_TABSTOP,31,161,8,10
CONTROL "&Underline",1041,"Button",BS_AUTOCHECKBOX | NOT
WS_VISIBLE | WS_DISABLED,17,161,8,10
COMBOBOX 1139,75,161,16,15,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED |
CBS_AUTOHSCROLL | CBS_HASSTRINGS | NOT WS_VISIBLE |
WS_DISABLED | WS_BORDER | WS_VSCROLL | WS_TABSTOP
GROUPBOX "Sample",1073,5,72,223,85,WS_GROUP
CTEXT "AaBbYyZz",1092,18,83,199,69,SS_NOPREFIX | NOT
WS_VISIBLE
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 &nothing 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
IDD_SETTINGS DIALOG DISCARDABLE 0, 0, 419, 261
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "3D Text Settings"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,341,11,69,14
PUSHBUTTON "Cancel",IDCANCEL,341,32,69,14
PUSHBUTTON "&Display Settings...",IDC_SCREENSETTINGS,341,53,69,14
GROUPBOX "Text",IDC_STATIC,7,7,321,101
CONTROL "Time",IDC_RADIO_TIME,"Button",BS_AUTORADIOBUTTON |
WS_GROUP,16,22,30,10
CONTROL "Custom Text:",IDC_RADIO_TEXT,"Button",
BS_AUTORADIOBUTTON,16,39,55,8
EDITTEXT IDC_DISPLAY_STRING,75,37,109,13,ES_AUTOHSCROLL
PUSHBUTTON "Choose Font...",IDC_SELECT_FONT,56,71,82,14
GROUPBOX "Resolution",IDC_STATIC,203,14,117,43
CTEXT "Low",IDC_STATIC,206,23,30,8
CTEXT "High",IDC_STATIC,288,23,30,8
CONTROL "Slider1",IDC_RESOLUTION,"msctls_trackbar32",
TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,210,33,100,23
GROUPBOX "Size",IDC_STATIC,203,61,117,43
CTEXT "Small",IDC_STATIC,206,70,30,8
CTEXT "Large",IDC_STATIC,288,66,30,8
CONTROL "Slider1",IDC_VIEWPORTSIZE,"msctls_trackbar32",
TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,210,77,100,23
GROUPBOX "Motion",IDC_STATIC,7,108,321,60
LTEXT "Rotation Type:",IDC_STATIC,26,136,56,8
COMBOBOX IDC_ROTATION_STYLE,86,133,98,76,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
GROUPBOX "Rotation Speed",IDC_STATIC,203,117,117,43
CTEXT "Slow",IDC_STATIC,206,126,30,8
CONTROL "Slider1",IDC_ROTATION_SPEED,"msctls_trackbar32",
TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,210,133,100,23
CTEXT "Fast",IDC_STATIC,288,124,30,8
GROUPBOX "Surface Style",IDC_STATIC,7,171,321,82
CONTROL "Solid Color",IDC_RADIO_COLOR,"Button",
BS_AUTORADIOBUTTON,22,185,49,10
CONTROL "Custom Color:",IDC_USE_CUSTOM_COLOR,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,117,185,75,10
PUSHBUTTON "Choose Color...",IDC_SURFACE_COLOR,220,182,82,15
CONTROL "Texture",IDC_RADIO_TEXTURE,"Button",BS_AUTORADIOBUTTON,
22,202,40,10
CONTROL "Custom Texture:",IDC_USE_CUSTOM_TEXTURE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,117,202,75,10
PUSHBUTTON "Choose Texture...",IDC_BROWSE_TEXTURE,220,199,82,15
CONTROL "Reflection",IDC_RADIO_REFLECTION,"Button",
BS_AUTORADIOBUTTON,22,219,48,10
CONTROL "Custom Reflection:",IDC_USE_CUSTOM_ENVIRONMENT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,117,219,75,10
PUSHBUTTON "Choose Reflection...",IDC_BROWSE_ENVIRONMENT,220,216,82,
15
CONTROL "Show Specular Highlights",IDC_SPECULAR,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,22,236,132,10
END
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 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"
"#include <scrnsave.h>\r\n"
"#include <ntverp.h>\r\n"
"#define VER_INTERNALNAME_STR ""Text3D""\r\n"
"#define VER_ORIGINALFILENAME_STR ""Text3D""\r\n"
"#define VER_FILEDESCRIPTION_STR ""Direct3D 3D Text Screen Saver""\r\n"
"#define VER_FILETYPE VFT_APP\r\n"
"#define VER_FILESUBTYPE VFT2_UNKNOWN\r\n"
"#include ""common.ver""\r\n"
"\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// JPG
//
IDB_TEXTURE JPG DISCARDABLE "texture.jpg"
IDB_SPHEREMAP JPG DISCARDABLE "spheremap.jpg"
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_SETTINGS, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 412
TOPMARGIN, 7
BOTTOMMARGIN, 254
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE PRELOAD DISCARDABLE
BEGIN
IDS_DESCRIPTION "3D Text"
END
STRINGTABLE PRELOAD DISCARDABLE
BEGIN
IDS_DEFAULTTEXT "Microsoft Windows"
IDS_INIFILE "control.ini"
IDS_OPTIONS "Options"
IDS_OBJTYPE "Type"
IDS_TEXTURE "Texture"
IDS_TEXTURE_FILE_OFFSET "TextureFileOffset"
IDS_SIZE "Size"
IDS_TESSELATION "Tesselation"
IDS_GENNAME "ScreenSaver"
IDS_SAVERNAME "Screen Saver.3DText"
IDS_DEFFONT "Tahoma"
IDS_DEFCHARSET "1"
IDS_DEMOTYPE "DemoType"
IDS_SPEED "Speed"
IDS_ROTSTYLE "RotStyle"
IDS_SURFSTYLE "SurfStyle"
IDS_FONT_REG "Font"
IDS_FONT_ATTRIBUTES "FontAttributes"
IDS_CHARSET "CharSet"
IDS_TEXT "Text"
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."
END
STRINGTABLE PRELOAD DISCARDABLE
BEGIN
IDS_ERR_NOPREVIEW "No preview available"
END
STRINGTABLE PRELOAD 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
STRINGTABLE PRELOAD DISCARDABLE
BEGIN
IDS_NONE "None"
IDS_SPIN "Spin"
IDS_SEESAW "See-saw"
IDS_WOBBLE "Wobble"
IDS_TUMBLE "Tumble"
IDS_FILEFILTER "Bitmaps (*.bmp)#*.bmp##"
IDS_OPENTEXTURETITLE "Choose Custom Texture"
IDS_OPENENVIRONMENTMAPTITLE "Choose Custom Environment Map"
IDS_FONT "Tahoma"
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED