309 lines
18 KiB
Plaintext
309 lines
18 KiB
Plaintext
// Microsoft Visual C++ generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#ifndef APSTUDIO_INVOKED
|
|
#include "targetver.h"
|
|
#endif
|
|
#include "afxres.h"
|
|
#include "verrsrc.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// 中文 (繁體,台灣) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT)
|
|
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
|
|
|
|
#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"
|
|
"#include ""afxres.h""\r\n"
|
|
"#include ""verrsrc.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE
|
|
BEGIN
|
|
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
|
|
"#define _AFX_NO_OLE_RESOURCES\r\n"
|
|
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
|
|
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
|
|
"\r\n"
|
|
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT)\r\n"
|
|
"LANGUAGE 4, 1\r\n"
|
|
"#include ""res\\TestSimulator.rc2"" // 非 Microsoft Visual C++ 編輯過的資源\r\n"
|
|
"#include ""l.CHT\\afxres.rc"" // 標準元件\r\n"
|
|
"#if !defined(_AFXDLL)\r\n"
|
|
"#include ""l.CHT\\afxribbon.rc"" // MFC 功能區和控制列資源\r\n"
|
|
"#endif\r\n"
|
|
"#endif\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDR_MAINFRAME ICON "res\\TestSimulator.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_ABOUTBOX DIALOGEX 0, 0, 170, 62
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "關於 TestSimulator"
|
|
FONT 9, "????", 0, 0, 0x1
|
|
BEGIN
|
|
ICON IDR_MAINFRAME,IDC_STATIC,14,14,21,20
|
|
LTEXT "TestSimulator, 1.0 版",IDC_STATIC,42,14,114,8,SS_NOPREFIX
|
|
LTEXT "Copyright (C) 2019",IDC_STATIC,42,26,114,8
|
|
DEFPUSHBUTTON "確定",IDOK,113,41,50,14,WS_GROUP
|
|
END
|
|
|
|
IDD_TESTSIMULATOR_DIALOG DIALOGEX 0, 0, 651, 264
|
|
STYLE DS_SETFONT | DS_MODALFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
EXSTYLE WS_EX_APPWINDOW
|
|
CAPTION "TestSimulator"
|
|
FONT 9, "????", 0, 0, 0x1
|
|
BEGIN
|
|
PUSHBUTTON "IN",IDC_BUTTON_IN,581,7,63,30
|
|
PUSHBUTTON "OUT",IDC_BUTTON_OUT,581,43,63,30
|
|
PUSHBUTTON "AND",IDC_BUTTON_AND,581,79,63,30
|
|
PUSHBUTTON "OR",IDC_BUTTON_OR,581,115,63,30
|
|
PUSHBUTTON "NOT",IDC_BUTTON_NOT,581,151,63,30
|
|
PUSHBUTTON "Function",IDC_BUTTON_FUNCTION,581,187,63,30
|
|
PUSHBUTTON "Line",IDC_BUTTON_LINE,581,223,63,30
|
|
PUSHBUTTON "Simulate",IDC_BUTTON_SIMULATE,6,7,63,30
|
|
PUSHBUTTON "背景顏色",IDC_BUTTON_BGCOLOR,6,151,63,30
|
|
PUSHBUTTON "背景圖片",IDC_BUTTON_BGPIC,6,115,63,30
|
|
PUSHBUTTON "Open",IDC_BUTTON_OPEN,6,187,63,30
|
|
PUSHBUTTON "Save",IDC_BUTTON_SAVE,6,223,63,30
|
|
PUSHBUTTON "Grid",IDC_BUTTON_GRID,6,43,63,30
|
|
PUSHBUTTON "Lock",IDC_BUTTON_LOCK,6,79,63,30
|
|
END
|
|
|
|
IDD_DIALOG_INPUT DIALOGEX 0, 0, 237, 116
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Input"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,176,25,50,24
|
|
PUSHBUTTON "Cancel",IDCANCEL,176,61,50,24
|
|
PUSHBUTTON "True",IDC_BUTTON_TRUE,24,33,54,30
|
|
PUSHBUTTON "False",IDC_BUTTON_FALSE,24,75,54,30
|
|
PUSHBUTTON "Sin (t)",IDC_BUTTON_SIN,96,33,54,30
|
|
PUSHBUTTON "Cos (t)",IDC_BUTTON_COS,96,75,54,30
|
|
EDITTEXT IDC_EDIT_INPUT_VALUE,24,13,126,12,ES_CENTER | ES_AUTOHSCROLL
|
|
END
|
|
|
|
IDD_DIALOG_FUN DIALOGEX 0, 0, 207, 110
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Function"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,42,79,50,24
|
|
PUSHBUTTON "Cancel",IDCANCEL,114,79,50,24
|
|
PUSHBUTTON "+",IDC_BUTTON_PLUS,16,40,30,25
|
|
PUSHBUTTON "-",IDC_BUTTON_MINUS,64,40,30,25
|
|
PUSHBUTTON "*",IDC_BUTTON_MULTI,112,40,30,25
|
|
PUSHBUTTON "/",IDC_BUTTON_DIV,160,40,30,25
|
|
LTEXT "Input1",IDC_STATIC_INPUT1,33,16,22,8
|
|
LTEXT "Input2",IDC_STATIC_INPUT2,150,16,22,8
|
|
EDITTEXT IDC_EDIT_OPERATOR,60,13,84,14,ES_CENTER | ES_AUTOHSCROLL
|
|
END
|
|
|
|
IDD_DIALOG_OSC DIALOGEX 0, 0, 489, 314
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Oscilloscope"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
|
BEGIN
|
|
PUSHBUTTON "Start",IDC_BUTTON_START,381,18,60,30
|
|
PUSHBUTTON "Stop",IDC_BUTTON_STOP,381,60,60,30
|
|
EDITTEXT IDC_EDIT_TIME,342,133,60,12,ES_AUTOHSCROLL | ES_READONLY
|
|
EDITTEXT IDC_EDIT_VALUE,342,193,60,12,ES_AUTOHSCROLL | ES_READONLY
|
|
CTEXT "Time (s)",IDC_STATIC_TIME,342,121,26,8
|
|
CTEXT "Value",IDC_STATIC_VALUE,342,181,18,8
|
|
COMBOBOX IDC_COMBO_OUTPUT,420,133,60,47,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
CTEXT "Output",IDC_STATIC_OUTPUT,420,121,24,8
|
|
COMBOBOX IDC_COMBO_VALUE_INTERVAL,420,193,60,47,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
COMBOBOX IDC_COMBO_TIME_INTERVAL,420,253,60,59,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
CTEXT "Value間隔",IDC_STATIC_VALUE_INTERVAL,420,181,34,8
|
|
CTEXT "單位時間 (ms)",IDC_STATIC_TIME_INTERVAL,420,242,49,8
|
|
EDITTEXT IDC_EDIT_FREQUENCY,342,253,60,12,ES_AUTOHSCROLL | ES_READONLY
|
|
CTEXT "Frequency (Hz)",IDC_STATIC_FREQUENCY,342,242,50,8
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION 1,0,0,1
|
|
PRODUCTVERSION 1,0,0,1
|
|
FILEFLAGSMASK 0x3fL
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x40004L
|
|
FILETYPE 0x1L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040404B0"
|
|
BEGIN
|
|
VALUE "CompanyName", "TODO: <公司名稱>"
|
|
VALUE "FileDescription", "TestSimulator"
|
|
VALUE "FileVersion", "1.0.0.1"
|
|
VALUE "InternalName", "TestSimulator.exe"
|
|
VALUE "LegalCopyright", "TODO: (c) <公司名稱>. 著作權所有,並保留一切權利。"
|
|
VALUE "OriginalFilename", "TestSimulator.exe"
|
|
VALUE "ProductName", "TODO: <產品名稱>"
|
|
VALUE "ProductVersion", "1.0.0.1"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x404, 1200
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO
|
|
BEGIN
|
|
IDD_ABOUTBOX, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 163
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 55
|
|
END
|
|
|
|
IDD_TESTSIMULATOR_DIALOG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 644
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 257
|
|
END
|
|
|
|
IDD_DIALOG_INPUT, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 230
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 109
|
|
END
|
|
|
|
IDD_DIALOG_FUN, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 200
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 103
|
|
END
|
|
|
|
IDD_DIALOG_OSC, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 482
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 307
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// AFX_DIALOG_LAYOUT
|
|
//
|
|
|
|
IDD_DIALOG_INPUT AFX_DIALOG_LAYOUT
|
|
BEGIN
|
|
0x0000
|
|
END
|
|
|
|
IDD_TESTSIMULATOR_DIALOG AFX_DIALOG_LAYOUT
|
|
BEGIN
|
|
0x0000
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_ABOUTBOX "關於 TestSimulator(&A)..."
|
|
END
|
|
|
|
#endif // 中文 (繁體,台灣) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
#define _AFX_NO_SPLITTER_RESOURCES
|
|
#define _AFX_NO_OLE_RESOURCES
|
|
#define _AFX_NO_TRACKER_RESOURCES
|
|
#define _AFX_NO_PROPERTY_RESOURCES
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHT)
|
|
LANGUAGE 4, 1
|
|
#include "res\TestSimulator.rc2" // 非 Microsoft Visual C++ 編輯過的資源
|
|
#include "l.CHT\afxres.rc" // 標準元件
|
|
#if !defined(_AFXDLL)
|
|
#include "l.CHT\afxribbon.rc" // MFC 功能區和控制列資源
|
|
#endif
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|