📄 resources.cxx
字号:
#line 763 "resources.prc"
PNEW PRadioButton(this, 10084, PNotifier(), &useH450);
#line 764 "resources.prc"
PNEW PRadioButton(this, 10085, PNotifier(), NULL);
#line 766 "resources.prc"
ok = PNEW PTextButton(this, 1, PNotifier(), NULL);
#line 767 "resources.prc"
cancel = PNEW PTextButton(this, 2, PNotifier(), NULL);
SetStdButtons(ok, cancel, NULL);
ConstructEnd(id);
}
void TransferDialog::Save()
{
_psave_10081 = address;
_psave_10083 = gateway;
_psave_10084 = useH450;
}
void TransferDialog::Restore()
{
address = _psave_10081;
gateway = _psave_10083;
useH450 = _psave_10084;
}
// DiscoverGatekeeperDlg
#line 701 "resources.prc"
DiscoverGatekeeperDlg::DiscoverGatekeeperDlg(PInteractor * parent, PRESOURCE_ID id)
: PDialog(parent, id)
{
#line 704 "resources.prc"
PNEW PStaticText(this, 10063, PNotifier(), NULL);
SetStdButtons(NULL, NULL, NULL);
ConstructEnd(id);
}
// SpeedDialOptionDlg
#line 804 "resources.prc"
SpeedDialOptionDlg::SpeedDialOptionDlg(PInteractor * parent, PRESOURCE_ID id)
: PModalDialog(parent, id)
{
#line 808 "resources.prc"
PNEW PStaticText(this, 10099, PNotifier(), NULL);
#line 809 "resources.prc"
PNEW PEditBox(this, 10100, PNotifier(), &alias);
#line 810 "resources.prc"
PNEW PStaticText(this, 10101, PNotifier(), NULL);
#line 811 "resources.prc"
PNEW PEditBox(this, 10102, PCREATE_NOTIFIER(AddressChanged), &address);
#line 812 "resources.prc"
PNEW PStaticText(this, 10103, PNotifier(), NULL);
#line 813 "resources.prc"
PNEW PEditBox(this, 10104, PNotifier(), &gateway);
#line 816 "resources.prc"
speedDialList = PNEW PStringListBox(this, 10105, PCREATE_NOTIFIER(SpeedDialSelect), &selectedSpeedDial);
#line 817 "resources.prc"
addButton = PNEW PTextButton(this, 10106, PCREATE_NOTIFIER(AddButton), NULL);
#line 818 "resources.prc"
removeButton = PNEW PTextButton(this, 10107, PCREATE_NOTIFIER(RemoveButton), NULL);
#line 819 "resources.prc"
upButton = PNEW PTextButton(this, 10108, PCREATE_NOTIFIER(UpButton), NULL);
#line 820 "resources.prc"
downButton = PNEW PTextButton(this, 10109, PCREATE_NOTIFIER(DownButton), NULL);
#line 822 "resources.prc"
ok = PNEW PTextButton(this, 1, PNotifier(), NULL);
#line 823 "resources.prc"
cancel = PNEW PTextButton(this, 2, PNotifier(), NULL);
SetStdButtons(ok, cancel, NULL);
ConstructEnd(id);
}
void SpeedDialOptionDlg::Save()
{
_psave_10100 = alias;
_psave_10102 = address;
_psave_10104 = gateway;
_psave_10105 = selectedSpeedDial;
}
void SpeedDialOptionDlg::Restore()
{
alias = _psave_10100;
address = _psave_10102;
gateway = _psave_10104;
selectedSpeedDial = _psave_10105;
}
// InitialiseDeviceDlg
#line 710 "resources.prc"
InitialiseDeviceDlg::InitialiseDeviceDlg(PInteractor * parent, PRESOURCE_ID id)
: PDialog(parent, id)
{
#line 713 "resources.prc"
PNEW PStaticText(this, 10065, PNotifier(), NULL);
SetStdButtons(NULL, NULL, NULL);
ConstructEnd(id);
}
// AudioDeviceOptionsDlg
#line 976 "resources.prc"
AudioDeviceOptionsDlg::AudioDeviceOptionsDlg(PInteractor * parent, PRESOURCE_ID id)
: PModalDialog(parent, id)
{
#line 979 "resources.prc"
PNEW PRadioButton(this, 10187, PCREATE_NOTIFIER(SelectCard), &cardSelection);
#line 980 "resources.prc"
quicknetButton = PNEW PRadioButton(this, 10188, PCREATE_NOTIFIER(SelectCard), NULL);
#line 981 "resources.prc"
blasterButton = PNEW PRadioButton(this, 10189, PCREATE_NOTIFIER(SelectCard), NULL);
#line 983 "resources.prc"
playDeviceTitle = PNEW PStaticText(this, 10190, PNotifier(), NULL);
#line 984 "resources.prc"
playDeviceBox = PNEW PChoiceBox(this, 10191, PNotifier(), &playSoundDevice);
#line 985 "resources.prc"
recordDeviceTitle = PNEW PStaticText(this, 10192, PNotifier(), NULL);
#line 986 "resources.prc"
recordDeviceBox = PNEW PChoiceBox(this, 10193, PNotifier(), &recordSoundDevice);
#line 987 "resources.prc"
soundBuffersTitle = PNEW PStaticText(this, 10194, PNotifier(), NULL);
#line 988 "resources.prc"
soundBuffersBox = PNEW PIntegerEditBox(this, 10195, PNotifier(), &soundBuffers);
#line 990 "resources.prc"
xJackDeviceTitle = PNEW PStaticText(this, 10196, PNotifier(), NULL);
#line 991 "resources.prc"
xJackDeviceBox = PNEW PChoiceBox(this, 10197, PNotifier(), &xJackDevice);
#line 992 "resources.prc"
aecTitle = PNEW PStaticText(this, 10198, PNotifier(), NULL);
#line 993 "resources.prc"
aecBox = PNEW PChoiceBox(this, 10199, PNotifier(), &aecLevel);
#line 995 "resources.prc"
countryTitle = PNEW PStaticText(this, 10200, PNotifier(), NULL);
#line 996 "resources.prc"
countryBox = PNEW PComboBox(this, 10201, PNotifier(), &country);
#line 1004 "resources.prc"
blasterDeviceTitle = PNEW PStaticText(this, 10202, PNotifier(), NULL);
#line 1005 "resources.prc"
blasterDeviceBox = PNEW PChoiceBox(this, 10203, PNotifier(), &blasterDevice);
#line 1007 "resources.prc"
ok = PNEW PTextButton(this, 1, PNotifier(), NULL);
#line 1008 "resources.prc"
cancel = PNEW PTextButton(this, 2, PNotifier(), NULL);
SetStdButtons(ok, cancel, NULL);
ConstructEnd(id);
}
void AudioDeviceOptionsDlg::Save()
{
_psave_10187 = cardSelection;
_psave_10191 = playSoundDevice;
_psave_10193 = recordSoundDevice;
_psave_10195 = soundBuffers;
_psave_10197 = xJackDevice;
_psave_10199 = aecLevel;
_psave_10201 = country;
_psave_10203 = blasterDevice;
}
void AudioDeviceOptionsDlg::Restore()
{
cardSelection = _psave_10187;
playSoundDevice = _psave_10191;
recordSoundDevice = _psave_10193;
soundBuffers = _psave_10195;
xJackDevice = _psave_10197;
aecLevel = _psave_10199;
country = _psave_10201;
blasterDevice = _psave_10203;
}
// SpeedDialSelectDlg
#line 833 "resources.prc"
SpeedDialSelectDlg::SpeedDialSelectDlg(PInteractor * parent, PRESOURCE_ID id)
: PDialog(parent, id)
{
#line 837 "resources.prc"
PNEW PStaticText(this, 10111, PNotifier(), NULL);
#line 838 "resources.prc"
enteredDTMF = PNEW PStaticText(this, 10112, PNotifier(), NULL);
#line 839 "resources.prc"
speedDialList = PNEW PStringListBox(this, 10113, PNotifier(), NULL);
SetStdButtons(NULL, NULL, NULL);
ConstructEnd(id);
}
// NetworkingOptionsDlg
#line 890 "resources.prc"
NetworkingOptionsDlg::NetworkingOptionsDlg(PInteractor * parent, PRESOURCE_ID id)
: PModalDialog(parent, id)
{
#line 893 "resources.prc"
PNEW PStaticText(this, 10142, PNotifier(), NULL);
#line 894 "resources.prc"
PNEW PChoiceBox(this, 10143, PCREATE_NOTIFIER(BandwidthChange), &bandwidthType);
#line 900 "resources.prc"
bandwidthBox = PNEW PFloatEditBox(this, 10144, PNotifier(), &bandwidth);
#line 901 "resources.prc"
PNEW PStaticText(this, 10145, PNotifier(), NULL);
#line 903 "resources.prc"
PNEW PStaticText(this, 10146, PNotifier(), NULL);
#line 904 "resources.prc"
PNEW PIntegerEditBox(this, 10147, PNotifier(), &tcpBase);
#line 905 "resources.prc"
PNEW PStaticText(this, 10148, PNotifier(), NULL);
#line 906 "resources.prc"
PNEW PIntegerEditBox(this, 10149, PNotifier(), &tcpMax);
#line 908 "resources.prc"
PNEW PStaticText(this, 10150, PNotifier(), NULL);
#line 909 "resources.prc"
PNEW PIntegerEditBox(this, 10151, PNotifier(), &udpBase);
#line 910 "resources.prc"
PNEW PStaticText(this, 10152, PNotifier(), NULL);
#line 911 "resources.prc"
PNEW PIntegerEditBox(this, 10153, PNotifier(), &udpMax);
#line 913 "resources.prc"
PNEW PStaticText(this, 10154, PNotifier(), NULL);
#line 914 "resources.prc"
PNEW PIntegerEditBox(this, 10155, PNotifier(), &rtpBase);
#line 915 "resources.prc"
PNEW PStaticText(this, 10156, PNotifier(), NULL);
#line 916 "resources.prc"
PNEW PIntegerEditBox(this, 10157, PNotifier(), &rtpMax);
#line 918 "resources.prc"
PNEW PStaticText(this, 10158, PNotifier(), NULL);
#line 919 "resources.prc"
PNEW PIntegerEditBox(this, 10159, PNotifier(), &ipTOS);
#line 920 "resources.prc"
PNEW PStaticText(this, 10160, PNotifier(), NULL);
#line 922 "resources.prc"
ok = PNEW PTextButton(this, 1, PNotifier(), NULL);
#line 923 "resources.prc"
cancel = PNEW PTextButton(this, 2, PNotifier(), NULL);
SetStdButtons(ok, cancel, NULL);
ConstructEnd(id);
}
void NetworkingOptionsDlg::Save()
{
_psave_10143 = bandwidthType;
_psave_10144 = bandwidth;
_psave_10147 = tcpBase;
_psave_10149 = tcpMax;
_psave_10151 = udpBase;
_psave_10153 = udpMax;
_psave_10155 = rtpBase;
_psave_10157 = rtpMax;
_psave_10159 = ipTOS;
}
void NetworkingOptionsDlg::Restore()
{
bandwidthType = _psave_10143;
bandwidth = _psave_10144;
tcpBase = _psave_10147;
tcpMax = _psave_10149;
udpBase = _psave_10151;
udpMax = _psave_10153;
rtpBase = _psave_10155;
rtpMax = _psave_10157;
ipTOS = _psave_10159;
}
// StatisticsDlg
#line 1103 "resources.prc"
StatisticsDlg::StatisticsDlg(PInteractor * parent, PRESOURCE_ID id)
: PDialog(parent, id)
{
#line 1106 "resources.prc"
PNEW PStaticBox(this, 10257, PNotifier(), NULL);
#line 1107 "resources.prc"
PNEW PStaticText(this, 10258, PNotifier(), NULL);
#line 1108 "resources.prc"
packetsSent = PNEW PStaticText(this, 10259, PNotifier(), NULL);
#line 1109 "resources.prc"
PNEW PStaticText(this, 10260, PNotifier(), NULL);
#line 1110 "resources.prc"
octetsSent = PNEW PStaticText(this, 10261, PNotifier(), NULL);
#line 1111 "resources.prc"
PNEW PStaticText(this, 10262, PNotifier(), NULL);
#line 1112 "resources.prc"
averageSendTime = PNEW PStaticText(this, 10263, PNotifier(), NULL);
#line 1113 "resources.prc"
PNEW PStaticText(this, 10264, PNotifier(), NULL);
#line 1114 "resources.prc"
PNEW PStaticText(this, 10265, PNotifier(), NULL);
#line 1115 "resources.prc"
maximumSendTime = PNEW PStaticText(this, 10266, PNotifier(), NULL);
#line 1116 "resources.prc"
PNEW PStaticText(this, 10267, PNotifier(), NULL);
#line 1117 "resources.prc"
PNEW PStaticText(this, 10268, PNotifier(), NULL);
#line 1118 "resources.prc"
minimumSendTime = PNEW PStaticText(this, 10269, PNotifier(), NULL);
#line 1119 "resources.prc"
PNEW PStaticText(this, 10270, PNotifier(), NULL);
#line 1121 "resources.prc"
PNEW PStaticBox(this, 10271, PNotifier(), NULL);
#line 1122 "resources.prc"
PNEW PStaticText(this, 10272, PNotifier(), NULL);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -