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.
209 lines
7.3 KiB
209 lines
7.3 KiB
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include "windows.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#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
|
|
//
|
|
|
|
IDD_MAIN_DLG DIALOG DISCARDABLE 0, 0, 410, 289
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Dialog"
|
|
CLASS "WIAVIDEOTEST"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "",IDC_VIDEO_PREVIEW_WINDOW,6,7,311,150,WS_BORDER
|
|
LISTBOX IDC_LIST_WIA_DEVICES,6,226,400,24,LBS_NOINTEGRALHEIGHT |
|
|
WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
|
|
PUSHBUTTON "Create Video (via WIA)",IDC_BUTTON_CREATE_VIDEO_WIA,5,
|
|
158,100,14
|
|
PUSHBUTTON "Create Video (via Enum Pos)",
|
|
IDC_BUTTON_CREATE_VIDEO_ENUM_POS,106,158,100,14
|
|
PUSHBUTTON "Create Video (via Name)",
|
|
IDC_BUTTON_CREATE_VIDEO_FRIENDLY_NAME,206,158,100,14
|
|
PUSHBUTTON "Destroy Video",IDC_BUTTON_DESTROY_VIDEO,306,158,100,14
|
|
PUSHBUTTON "Play",IDC_BUTTON_PLAY,5,173,100,14
|
|
PUSHBUTTON "Pause",IDC_BUTTON_PAUSE,105,173,100,14
|
|
PUSHBUTTON "Take Picture",IDC_BUTTON_TAKE_PICTURE,206,173,100,14
|
|
PUSHBUTTON "Tell Driver To Take Picture",
|
|
IDC_BUTTON_TAKE_PICTURE_DRIVER,306,173,100,14
|
|
PUSHBUTTON "Toggle Video Visibility",IDC_BUTTON_SHOW_VIDEO_TOGGLE,
|
|
205,188,100,14
|
|
PUSHBUTTON "Toggle Video Size",IDC_BUTTON_RESIZE_TOGGLE,306,188,100,
|
|
14
|
|
PUSHBUTTON "Take Picture - Stress",IDC_BUTTON_TAKE_PICTURE_STRESS,5,
|
|
188,100,14
|
|
LTEXT "Current State:",IDC_STATIC,322,4,83,10
|
|
LTEXT "Images Directory:",IDC_STATIC,322,28,83,10
|
|
LISTBOX IDC_LIST_NEW_IMAGES,6,251,400,34,LBS_SORT |
|
|
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
|
|
WS_TABSTOP
|
|
EDITTEXT IDC_EDIT_IMAGES_DIR,321,39,84,13,ES_LOWERCASE |
|
|
ES_AUTOHSCROLL | ES_READONLY
|
|
EDITTEXT IDC_EDIT_CURRENT_STATE,321,14,84,13,ES_AUTOHSCROLL |
|
|
ES_READONLY
|
|
PUSHBUTTON "Take Picture - Multiple",
|
|
IDC_BUTTON_TAKE_PICTURE_MULTIPLE,105,188,100,14
|
|
LTEXT "# Active Stress Threads",IDC_STATIC,322,54,83,10
|
|
EDITTEXT IDC_EDIT_NUM_STRESS_THREADS,321,66,84,13,ES_LOWERCASE |
|
|
ES_AUTOHSCROLL | ES_READONLY
|
|
LTEXT "# Pictures Taken",IDC_STATIC,322,80,83,10
|
|
EDITTEXT IDC_EDIT_NUM_PICTURES_TAKEN,321,90,84,13,ES_LOWERCASE |
|
|
ES_AUTOHSCROLL | ES_READONLY
|
|
LTEXT "Graph Build Time (ms):",IDC_STATIC,322,104,83,10
|
|
EDITTEXT IDC_EDIT_GRAPH_BUILD_TIME,320,114,84,13,ES_LOWERCASE |
|
|
ES_AUTOHSCROLL | ES_READONLY | ES_NUMBER
|
|
LTEXT "List Load Time (ms):",IDC_STATIC,322,128,83,10
|
|
EDITTEXT IDC_EDIT_LIST_LOAD_TIME,320,138,84,13,ES_LOWERCASE |
|
|
ES_AUTOHSCROLL | ES_READONLY | ES_NUMBER
|
|
RADIOBUTTON "WIA Device List",IDC_RADIO_WIA_DEVICE_LIST,
|
|
112,210,94,10
|
|
RADIOBUTTON "Directshow Device List",IDC_RADIO_DSHOW_DEVICE_LIST,
|
|
207,210,94,10
|
|
GROUPBOX "",IDC_STATIC,6,202,399,22
|
|
END
|
|
|
|
IDD_STRESSDLG DIALOG DISCARDABLE 0, 0, 213, 105
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Stress"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
EDITTEXT IDC_EDIT_NUM_THREADS,117,22,69,15,ES_AUTOHSCROLL |
|
|
ES_NUMBER
|
|
EDITTEXT IDC_EDIT_NUM_IMAGES_PER_THREAD,117,47,69,15,
|
|
ES_AUTOHSCROLL | ES_NUMBER
|
|
DEFPUSHBUTTON "OK",IDOK,57,84,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,109,84,50,14
|
|
LTEXT "Number of Pictures to Take Per Thread:",IDC_STATIC,23,
|
|
48,88,18
|
|
LTEXT "Number of Threads:",IDC_STATIC,23,24,90,12
|
|
END
|
|
|
|
IDD_DIALOG_TAKE_PICTURE_MULTIPLE DIALOG DISCARDABLE 0, 0, 206, 103
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Take Multiple Pictures"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
EDITTEXT IDC_EDIT_NUM_PICTURES_TO_TAKE,117,22,69,15,
|
|
ES_AUTOHSCROLL | ES_NUMBER
|
|
EDITTEXT IDC_EDIT_TAKE_PICTURE_FREQUENCY,117,47,69,15,
|
|
ES_AUTOHSCROLL | ES_NUMBER
|
|
DEFPUSHBUTTON "OK",IDOK,57,82,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,109,82,50,14
|
|
LTEXT "How many pictures would you like to take?:",IDC_STATIC,
|
|
23,22,90,19
|
|
LTEXT "How oftem should I take a picture (in millsec) :",
|
|
IDC_STATIC,22,47,90,22
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_STRESSDLG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 206
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 98
|
|
END
|
|
|
|
IDD_DIALOG_TAKE_PICTURE_MULTIPLE, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 199
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 96
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#include ""afxres.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_ERROR "Error"
|
|
IDS_FAILED_TO_CREATE_VIDEO "Failed to create video, error code = 0x%08lx"
|
|
IDS_DISCONNECTED "Disconnected"
|
|
IDS_VIDEO_STREAM_SHUTDOWN
|
|
"Device '%s' has disconnected, video stream was shutdown"
|
|
IDS_NO_VIDEO "No Video"
|
|
IDS_CREATING_VIDEO "Creating Video"
|
|
IDS_VIDEO_CREATED "Video Created"
|
|
IDS_PLAYING_VIDEO "Playing Video"
|
|
IDS_VIDEO_PAUSED "Video Paused"
|
|
IDS_DESTROYING_VIDEO "Destroying Video"
|
|
IDS_STATE_UNKNOWN "Unknown State"
|
|
IDS_VIDEO_STILL_ACTIVE "Cannot create video since the current video is still active. To create new video, please destroy the current one first"
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|