mirror of
https://git.code.sf.net/p/fldigi/fldigi
synced 2026-08-13 17:47:54 -04:00
TX_PWR macro
* add processing options
. number of samples for averaging
. number of samples to select peak
. report average / peak power
This commit is contained in:
parent
c207d29c8e
commit
97d9ef6110
23 changed files with 6643 additions and 6536 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#include "debug_dialog.h"
|
||||
|
||||
|
|
@ -81,7 +81,7 @@ Fl_Browser *btext=(Fl_Browser *)0;
|
|||
Fl_Double_Window* debug_dialog() {
|
||||
Fl_Double_Window* w;
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(570, 240, "Event Log");
|
||||
w = o; if (w) {/* empty */}
|
||||
w = o; (void)w;
|
||||
{ Fl_Group* o = new Fl_Group(0, 0, 570, 60);
|
||||
o->box(FL_ENGRAVED_BOX);
|
||||
{ Fl_Group* o = new Fl_Group(0, 0, 140, 60);
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1,8 +1,10 @@
|
|||
# data file for the Fltk User Interface Designer (fluid)
|
||||
version 1.0310
|
||||
version 1.0403
|
||||
i18n_type 1
|
||||
i18n_include "gettext.h"
|
||||
i18n_function _
|
||||
i18n_include {"gettext.h"}
|
||||
i18n_conditional {}
|
||||
i18n_gnu_function gettext
|
||||
i18n_gnu_static_function gettext_noop
|
||||
header_name {.h}
|
||||
code_name {.cxx}
|
||||
decl {\#include <config.h>} {private local
|
||||
|
|
@ -503,7 +505,7 @@ static const char szBaudRates[] = "300|600|1200|2400|4800|9600|19200|38400|57600
|
|||
static const char szProsigns[] = "~|%|&|+|=|{|}|<|>|[|]| ";} {}
|
||||
Fl_Window {} {
|
||||
label {Fldigi configuration} open
|
||||
xywh {1057 93 800 380} type Double color 45 selection_color 51 labelsize 18 align 80 resizable size_range {750 380 0 380} visible
|
||||
xywh {653 125 800 380} type Double color 45 selection_color 51 labelsize 18 align 80 resizable size_range {750 380 0 380} visible
|
||||
} {
|
||||
Fl_Group {} {
|
||||
xywh {0 0 201 380} resizable
|
||||
|
|
@ -3423,7 +3425,7 @@ progdefaults.changed = true;}
|
|||
}
|
||||
}
|
||||
Fl_Group {} {
|
||||
label {Logging/QSO logging}
|
||||
label {Logging/QSO logging} open selected
|
||||
xywh {200 0 600 350} box ENGRAVED_BOX align 21 hide
|
||||
code0 {CONFIG_PAGE *p = new CONFIG_PAGE(o, _("Logging/QSO logging"));}
|
||||
code1 {config_pages.push_back(p);}
|
||||
|
|
@ -3504,12 +3506,31 @@ progdefaults.changed = true;}
|
|||
tooltip {The filename is written to the RX text area} xywh {255 181 277 20} down_box DOWN_BOX
|
||||
code0 {o->value(progdefaults.DisplayLogbookRead);}
|
||||
}
|
||||
Fl_Check_Button btn_log_power_meter {
|
||||
label {Log power meter }
|
||||
callback {progdefaults.log_power_meter=o->value();
|
||||
Fl_Group {} {
|
||||
label {Logbook Recorded Power} open
|
||||
xywh {432 220 260 120} box ENGRAVED_BOX align 17
|
||||
} {
|
||||
Fl_Check_Button btn_log_power_meter {
|
||||
label {Log power meter }
|
||||
callback {progdefaults.log_power_meter=o->value();
|
||||
progdefaults.changed = true;}
|
||||
tooltip {Bug me about saving log entries} xywh {444 221 155 20} down_box DOWN_BOX value 1
|
||||
code0 {o->value(progdefaults.log_power_meter);}
|
||||
tooltip {Bug me about saving log entries} xywh {442 250 155 20} down_box DOWN_BOX value 1
|
||||
code0 {o->value(progdefaults.log_power_meter);}
|
||||
}
|
||||
Fl_Counter pwr_set_size {
|
||||
label {sample set size}
|
||||
callback {progdefaults.pwr_set_size = o->value();
|
||||
progdefaults.changed = true;}
|
||||
tooltip {average / peak over number of samples} xywh {442 280 60 22} type Simple align 8 minimum 1 maximum 50 step 1 value 20
|
||||
code0 {o->value(progdefaults.pwr_set_size);}
|
||||
}
|
||||
Fl_Check_Button btn_use_average_power {
|
||||
label {Use Average powef}
|
||||
callback {progdefaults.report_average_power = o->value();
|
||||
progdefaults.changed = true;}
|
||||
tooltip {Report average power if selected; peak otherwise} xywh {442 312 78 22} down_box DOWN_BOX value 1
|
||||
code0 {o->value(progdefaults.report_average_power);}
|
||||
}
|
||||
}
|
||||
}
|
||||
Fl_Group {} {
|
||||
|
|
@ -8409,7 +8430,7 @@ progdefaults.changed = true;}
|
|||
}
|
||||
}
|
||||
Fl_Group {} {
|
||||
label {Misc/Save Parameters} open selected
|
||||
label {Misc/Save Parameters} open
|
||||
xywh {200 0 600 350} box ENGRAVED_BOX align 21 hide
|
||||
code0 {CONFIG_PAGE *p = new CONFIG_PAGE(o, _("Misc/Save Parameters"));}
|
||||
code1 {config_pages.push_back(p);}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#include "gettext.h"
|
||||
#include "notifydialog.h"
|
||||
#include "gettext.h"
|
||||
#ifndef gettext_noop
|
||||
# define gettext_noop(text) text
|
||||
#endif
|
||||
#include <config.h>
|
||||
#include "notify.h"
|
||||
|
||||
|
|
@ -19,12 +22,12 @@ Fl_Round_Button *chkNotifyFilterCall=(Fl_Round_Button *)0;
|
|||
|
||||
static void cb_chkNotifyFilterCall(Fl_Round_Button* o, void*) {
|
||||
if (!o->value()) {
|
||||
o->value(1);
|
||||
return;
|
||||
}
|
||||
inpNotifyFilterCall->show();
|
||||
btnNotifyFilterDXCC->hide();
|
||||
chkNotifyFilterDXCC->value(0);
|
||||
o->value(1);
|
||||
return;
|
||||
}
|
||||
inpNotifyFilterCall->show();
|
||||
btnNotifyFilterDXCC->hide();
|
||||
chkNotifyFilterDXCC->value(0);
|
||||
}
|
||||
|
||||
Fl_Input2 *inpNotifyFilterCall=(Fl_Input2 *)0;
|
||||
|
|
@ -33,12 +36,12 @@ Fl_Round_Button *chkNotifyFilterDXCC=(Fl_Round_Button *)0;
|
|||
|
||||
static void cb_chkNotifyFilterDXCC(Fl_Round_Button* o, void*) {
|
||||
if (!o->value()) {
|
||||
o->value(1);
|
||||
return;
|
||||
}
|
||||
inpNotifyFilterCall->hide();
|
||||
btnNotifyFilterDXCC->show();
|
||||
chkNotifyFilterCall->value(0);
|
||||
o->value(1);
|
||||
return;
|
||||
}
|
||||
inpNotifyFilterCall->hide();
|
||||
btnNotifyFilterDXCC->show();
|
||||
chkNotifyFilterCall->value(0);
|
||||
}
|
||||
|
||||
Fl_Button *btnNotifyFilterDXCC=(Fl_Button *)0;
|
||||
|
|
@ -101,17 +104,17 @@ Table *tblNotifyList=(Table *)0;
|
|||
|
||||
Fl_Double_Window* make_notify_window() {
|
||||
Fl_Double_Window* w;
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(500, 550, _("Notifications"));
|
||||
w = o; if (w) {/* empty */}
|
||||
{ grpNotifyEvent = new Fl_Group(2, 2, 219, 126, _("Event"));
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(500, 550, gettext("Notifications"));
|
||||
w = o; (void)w;
|
||||
{ grpNotifyEvent = new Fl_Group(2, 2, 219, 126, gettext("Event"));
|
||||
grpNotifyEvent->box(FL_ENGRAVED_FRAME);
|
||||
grpNotifyEvent->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
{ mnuNotifyEvent = new Fl_Choice(10, 29, 205, 22);
|
||||
mnuNotifyEvent->down_box(FL_BORDER_BOX);
|
||||
} // Fl_Choice* mnuNotifyEvent
|
||||
{ btnNotifyEnabled = new Fl_Light_Button(131, 94, 80, 23, _("Enabled"));
|
||||
{ btnNotifyEnabled = new Fl_Light_Button(131, 94, 80, 23, gettext("Enabled"));
|
||||
} // Fl_Light_Button* btnNotifyEnabled
|
||||
{ Fl_Input2* o = inpNotifyRE = new Fl_Input2(36, 61, 175, 23, _("RE:"));
|
||||
{ Fl_Input2* o = inpNotifyRE = new Fl_Input2(36, 61, 175, 23, gettext("RE:"));
|
||||
inpNotifyRE->box(FL_DOWN_BOX);
|
||||
inpNotifyRE->color(FL_BACKGROUND2_COLOR);
|
||||
inpNotifyRE->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -125,10 +128,10 @@ Fl_Double_Window* make_notify_window() {
|
|||
} // Fl_Input2* inpNotifyRE
|
||||
grpNotifyEvent->end();
|
||||
} // Fl_Group* grpNotifyEvent
|
||||
{ grpNotifyFilter = new Fl_Group(2, 130, 219, 176, _("Filter"));
|
||||
{ grpNotifyFilter = new Fl_Group(2, 130, 219, 176, gettext("Filter"));
|
||||
grpNotifyFilter->box(FL_ENGRAVED_FRAME);
|
||||
grpNotifyFilter->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
{ chkNotifyFilterCall = new Fl_Round_Button(12, 157, 80, 20, _("Callsign"));
|
||||
{ chkNotifyFilterCall = new Fl_Round_Button(12, 157, 80, 20, gettext("Callsign"));
|
||||
chkNotifyFilterCall->down_box(FL_ROUND_DOWN_BOX);
|
||||
chkNotifyFilterCall->callback((Fl_Callback*)cb_chkNotifyFilterCall);
|
||||
} // Fl_Round_Button* chkNotifyFilterCall
|
||||
|
|
@ -143,34 +146,34 @@ Fl_Double_Window* make_notify_window() {
|
|||
inpNotifyFilterCall->align(Fl_Align(FL_ALIGN_CENTER));
|
||||
inpNotifyFilterCall->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpNotifyFilterCall
|
||||
{ chkNotifyFilterDXCC = new Fl_Round_Button(12, 186, 110, 20, _("DXCC entity"));
|
||||
{ chkNotifyFilterDXCC = new Fl_Round_Button(12, 186, 110, 20, gettext("DXCC entity"));
|
||||
chkNotifyFilterDXCC->down_box(FL_ROUND_DOWN_BOX);
|
||||
chkNotifyFilterDXCC->callback((Fl_Callback*)cb_chkNotifyFilterDXCC);
|
||||
} // Fl_Round_Button* chkNotifyFilterDXCC
|
||||
{ btnNotifyFilterDXCC = new Fl_Button(183, 183, 28, 23);
|
||||
btnNotifyFilterDXCC->tooltip(_("Show DXCC entities"));
|
||||
btnNotifyFilterDXCC->tooltip(gettext("Show DXCC entities"));
|
||||
} // Fl_Button* btnNotifyFilterDXCC
|
||||
{ chkNotifyFilterNWB = new Fl_Check_Button(12, 216, 155, 20, _("Not worked before"));
|
||||
{ chkNotifyFilterNWB = new Fl_Check_Button(12, 216, 155, 20, gettext("Not worked before"));
|
||||
chkNotifyFilterNWB->down_box(FL_DOWN_BOX);
|
||||
} // Fl_Check_Button* chkNotifyFilterNWB
|
||||
{ chkNotifyFilterLOTW = new Fl_Check_Button(12, 246, 100, 20, _("LotW user"));
|
||||
{ chkNotifyFilterLOTW = new Fl_Check_Button(12, 246, 100, 20, gettext("LotW user"));
|
||||
chkNotifyFilterLOTW->down_box(FL_DOWN_BOX);
|
||||
} // Fl_Check_Button* chkNotifyFilterLOTW
|
||||
{ chkNotifyFilterEQSL = new Fl_Check_Button(12, 276, 100, 20, _("eQSL user"));
|
||||
{ chkNotifyFilterEQSL = new Fl_Check_Button(12, 276, 100, 20, gettext("eQSL user"));
|
||||
chkNotifyFilterEQSL->down_box(FL_DOWN_BOX);
|
||||
} // Fl_Check_Button* chkNotifyFilterEQSL
|
||||
grpNotifyFilter->end();
|
||||
} // Fl_Group* grpNotifyFilter
|
||||
{ grpNotifyDup = new Fl_Group(2, 308, 219, 149, _("Duplicates"));
|
||||
{ grpNotifyDup = new Fl_Group(2, 308, 219, 149, gettext("Duplicates"));
|
||||
grpNotifyDup->box(FL_ENGRAVED_FRAME);
|
||||
grpNotifyDup->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
{ chkNotifyDupIgnore = new Fl_Check_Button(12, 337, 145, 20, _("Ignore duplicates"));
|
||||
{ chkNotifyDupIgnore = new Fl_Check_Button(12, 337, 145, 20, gettext("Ignore duplicates"));
|
||||
chkNotifyDupIgnore->down_box(FL_DOWN_BOX);
|
||||
} // Fl_Check_Button* chkNotifyDupIgnore
|
||||
{ mnuNotifyDupWhich = new Fl_Choice(33, 367, 120, 20, _("in:"));
|
||||
{ mnuNotifyDupWhich = new Fl_Choice(33, 367, 120, 20, gettext("in:"));
|
||||
mnuNotifyDupWhich->down_box(FL_BORDER_BOX);
|
||||
} // Fl_Choice* mnuNotifyDupWhich
|
||||
{ Fl_Spinner2* o = cntNotifyDupTime = new Fl_Spinner2(93, 397, 60, 20, _("Time (s):"));
|
||||
{ Fl_Spinner2* o = cntNotifyDupTime = new Fl_Spinner2(93, 397, 60, 20, gettext("Time (s):"));
|
||||
cntNotifyDupTime->box(FL_NO_BOX);
|
||||
cntNotifyDupTime->color(FL_BACKGROUND_COLOR);
|
||||
cntNotifyDupTime->selection_color(FL_BACKGROUND_COLOR);
|
||||
|
|
@ -185,19 +188,19 @@ Fl_Double_Window* make_notify_window() {
|
|||
cntNotifyDupTime->when(FL_WHEN_RELEASE);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Spinner2* cntNotifyDupTime
|
||||
{ chkNotifyDupBand = new Fl_Check_Button(12, 427, 65, 20, _("Band"));
|
||||
{ chkNotifyDupBand = new Fl_Check_Button(12, 427, 65, 20, gettext("Band"));
|
||||
chkNotifyDupBand->down_box(FL_DOWN_BOX);
|
||||
} // Fl_Check_Button* chkNotifyDupBand
|
||||
{ chkNotifyDupMode = new Fl_Check_Button(94, 427, 60, 20, _("Mode"));
|
||||
{ chkNotifyDupMode = new Fl_Check_Button(94, 427, 60, 20, gettext("Mode"));
|
||||
chkNotifyDupMode->down_box(FL_DOWN_BOX);
|
||||
} // Fl_Check_Button* chkNotifyDupMode
|
||||
grpNotifyDup->end();
|
||||
} // Fl_Group* grpNotifyDup
|
||||
{ grpNotifyAction = new Fl_Group(222, 2, 276, 394, _("Action"));
|
||||
{ grpNotifyAction = new Fl_Group(222, 2, 276, 394, gettext("Action"));
|
||||
grpNotifyAction->box(FL_ENGRAVED_FRAME);
|
||||
grpNotifyAction->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
{ Fl_Spinner2* o = cntNotifyActionLimit = new Fl_Spinner2(232, 40, 52, 20, _("Trigger limit (s):"));
|
||||
cntNotifyActionLimit->tooltip(_("Minimum time between events"));
|
||||
{ Fl_Spinner2* o = cntNotifyActionLimit = new Fl_Spinner2(232, 40, 52, 20, gettext("Trigger limit (s):"));
|
||||
cntNotifyActionLimit->tooltip(gettext("Minimum time between events"));
|
||||
cntNotifyActionLimit->box(FL_NO_BOX);
|
||||
cntNotifyActionLimit->color(FL_BACKGROUND_COLOR);
|
||||
cntNotifyActionLimit->selection_color(FL_BACKGROUND_COLOR);
|
||||
|
|
@ -211,7 +214,7 @@ Fl_Double_Window* make_notify_window() {
|
|||
cntNotifyActionLimit->when(FL_WHEN_RELEASE);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Spinner2* cntNotifyActionLimit
|
||||
{ Fl_Input2* o = inpNotifyActionDialog = new Fl_Input2(232, 82, 218, 60, _("Show alert window:"));
|
||||
{ Fl_Input2* o = inpNotifyActionDialog = new Fl_Input2(232, 82, 218, 60, gettext("Show alert window:"));
|
||||
inpNotifyActionDialog->type(4);
|
||||
inpNotifyActionDialog->box(FL_DOWN_BOX);
|
||||
inpNotifyActionDialog->color(FL_BACKGROUND2_COLOR);
|
||||
|
|
@ -225,9 +228,9 @@ Fl_Double_Window* make_notify_window() {
|
|||
o->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Input2* inpNotifyActionDialog
|
||||
{ btnNotifyActionDialogDefault = new Fl_Button(460, 100, 28, 23);
|
||||
btnNotifyActionDialogDefault->tooltip(_("Insert default text"));
|
||||
btnNotifyActionDialogDefault->tooltip(gettext("Insert default text"));
|
||||
} // Fl_Button* btnNotifyActionDialogDefault
|
||||
{ Fl_Spinner2* o = cntNotifyActionDialogTimeout = new Fl_Spinner2(232, 164, 52, 20, _("Hide window after (s):"));
|
||||
{ Fl_Spinner2* o = cntNotifyActionDialogTimeout = new Fl_Spinner2(232, 164, 52, 20, gettext("Hide window after (s):"));
|
||||
cntNotifyActionDialogTimeout->box(FL_NO_BOX);
|
||||
cntNotifyActionDialogTimeout->color(FL_BACKGROUND_COLOR);
|
||||
cntNotifyActionDialogTimeout->selection_color(FL_BACKGROUND_COLOR);
|
||||
|
|
@ -242,7 +245,7 @@ Fl_Double_Window* make_notify_window() {
|
|||
cntNotifyActionDialogTimeout->when(FL_WHEN_RELEASE);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Spinner2* cntNotifyActionDialogTimeout
|
||||
{ Fl_Input2* o = inpNotifyActionRXMarker = new Fl_Input2(232, 205, 218, 60, _("Append to RX text:"));
|
||||
{ Fl_Input2* o = inpNotifyActionRXMarker = new Fl_Input2(232, 205, 218, 60, gettext("Append to RX text:"));
|
||||
inpNotifyActionRXMarker->type(4);
|
||||
inpNotifyActionRXMarker->box(FL_DOWN_BOX);
|
||||
inpNotifyActionRXMarker->color(FL_BACKGROUND2_COLOR);
|
||||
|
|
@ -256,9 +259,9 @@ Fl_Double_Window* make_notify_window() {
|
|||
o->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Input2* inpNotifyActionRXMarker
|
||||
{ btnNotifyActionMarkerDefault = new Fl_Button(460, 223, 28, 23);
|
||||
btnNotifyActionMarkerDefault->tooltip(_("Insert default text"));
|
||||
btnNotifyActionMarkerDefault->tooltip(gettext("Insert default text"));
|
||||
} // Fl_Button* btnNotifyActionMarkerDefault
|
||||
{ Fl_Input2* o = inpNotifyActionMacro = new Fl_Input2(232, 287, 218, 60, _("Append to TX text:"));
|
||||
{ Fl_Input2* o = inpNotifyActionMacro = new Fl_Input2(232, 287, 218, 60, gettext("Append to TX text:"));
|
||||
inpNotifyActionMacro->type(4);
|
||||
inpNotifyActionMacro->box(FL_DOWN_BOX);
|
||||
inpNotifyActionMacro->color(FL_BACKGROUND2_COLOR);
|
||||
|
|
@ -272,9 +275,9 @@ Fl_Double_Window* make_notify_window() {
|
|||
o->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Input2* inpNotifyActionMacro
|
||||
{ btnNotifyActionMacro = new Fl_Button(460, 305, 28, 23);
|
||||
btnNotifyActionMacro->tooltip(_("Show macro editor"));
|
||||
btnNotifyActionMacro->tooltip(gettext("Show macro editor"));
|
||||
} // Fl_Button* btnNotifyActionMacro
|
||||
{ Fl_Input2* o = inpNotifyActionProgram = new Fl_Input2(232, 368, 218, 23, _("Run program:"));
|
||||
{ Fl_Input2* o = inpNotifyActionProgram = new Fl_Input2(232, 368, 218, 23, gettext("Run program:"));
|
||||
inpNotifyActionProgram->box(FL_DOWN_BOX);
|
||||
inpNotifyActionProgram->color(FL_BACKGROUND2_COLOR);
|
||||
inpNotifyActionProgram->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -337,8 +340,8 @@ static void cb_btnNotifyDXCCClose(Fl_Button* o, void*) {
|
|||
|
||||
Fl_Double_Window* make_dxcc_window() {
|
||||
Fl_Double_Window* w;
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(435, 450, _("DXCC entities"));
|
||||
w = o; if (w) {/* empty */}
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(435, 450, gettext("DXCC entities"));
|
||||
w = o; (void)w;
|
||||
{ tblNotifyFilterDXCC = new Table(2, 2, 432, 370);
|
||||
tblNotifyFilterDXCC->box(FL_UP_FRAME);
|
||||
tblNotifyFilterDXCC->color(FL_BACKGROUND2_COLOR);
|
||||
|
|
@ -351,8 +354,8 @@ Fl_Double_Window* make_dxcc_window() {
|
|||
tblNotifyFilterDXCC->when(FL_WHEN_RELEASE);
|
||||
Fl_Group::current()->resizable(tblNotifyFilterDXCC);
|
||||
} // Table* tblNotifyFilterDXCC
|
||||
{ Fl_Input2* o = inpNotifyDXCCSearchCountry = new Fl_Input2(104, 382, 120, 23, _("Find country:"));
|
||||
inpNotifyDXCCSearchCountry->tooltip(_("Press return to continue the search"));
|
||||
{ Fl_Input2* o = inpNotifyDXCCSearchCountry = new Fl_Input2(104, 382, 120, 23, gettext("Find country:"));
|
||||
inpNotifyDXCCSearchCountry->tooltip(gettext("Press return to continue the search"));
|
||||
inpNotifyDXCCSearchCountry->box(FL_DOWN_BOX);
|
||||
inpNotifyDXCCSearchCountry->color(FL_BACKGROUND2_COLOR);
|
||||
inpNotifyDXCCSearchCountry->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -364,7 +367,7 @@ Fl_Double_Window* make_dxcc_window() {
|
|||
inpNotifyDXCCSearchCountry->when(FL_WHEN_RELEASE);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Input2* inpNotifyDXCCSearchCountry
|
||||
{ Fl_Input2* o = inpNotifyDXCCSearchCallsign = new Fl_Input2(104, 415, 120, 23, _("Find prefix:"));
|
||||
{ Fl_Input2* o = inpNotifyDXCCSearchCallsign = new Fl_Input2(104, 415, 120, 23, gettext("Find prefix:"));
|
||||
inpNotifyDXCCSearchCallsign->box(FL_DOWN_BOX);
|
||||
inpNotifyDXCCSearchCallsign->color(FL_BACKGROUND2_COLOR);
|
||||
inpNotifyDXCCSearchCallsign->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#include "gettext.h"
|
||||
#include "record_browse.h"
|
||||
#include "gettext.h"
|
||||
#ifndef gettext_noop
|
||||
# define gettext_noop(text) text
|
||||
#endif
|
||||
#include <config.h>
|
||||
|
||||
Fl_Group *tabDataFiles=(Fl_Group *)0;
|
||||
|
|
@ -22,12 +25,12 @@ static void cb_btnDataSourceReset(Fl_Button*, void*) {
|
|||
|
||||
Fl_Double_Window* make_record_loader_window() {
|
||||
Fl_Double_Window* w;
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(540, 280, _("Data files sources"));
|
||||
w = o; if (w) {/* empty */}
|
||||
o->tooltip(_("Data files update"));
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(540, 280, gettext("Data files sources"));
|
||||
w = o; (void)w;
|
||||
o->tooltip(gettext("Data files update"));
|
||||
{ tabDataFiles = new Fl_Group(3, 18, 535, 255);
|
||||
tabDataFiles->tooltip(_("Tabular data sources"));
|
||||
{ DerivedRecordLst* o = new DerivedRecordLst(4, 18, 529, 217, _("Data files sources"));
|
||||
tabDataFiles->tooltip(gettext("Tabular data sources"));
|
||||
{ DerivedRecordLst* o = new DerivedRecordLst(4, 18, 529, 217, gettext("Data files sources"));
|
||||
o->box(FL_THIN_DOWN_FRAME);
|
||||
o->color(FL_BACKGROUND_COLOR);
|
||||
o->selection_color(FL_BACKGROUND_COLOR);
|
||||
|
|
@ -40,16 +43,16 @@ Fl_Double_Window* make_record_loader_window() {
|
|||
o->end();
|
||||
Fl_Group::current()->resizable(o);
|
||||
} // DerivedRecordLst* o
|
||||
{ inpDataSources = new Fl_Input_Choice(4, 247, 284, 21, _("Data source"));
|
||||
inpDataSources->tooltip(_("Data files repository"));
|
||||
{ inpDataSources = new Fl_Input_Choice(4, 247, 284, 21, gettext("Data source"));
|
||||
inpDataSources->tooltip(gettext("Data files repository"));
|
||||
inpDataSources->align(Fl_Align(FL_ALIGN_RIGHT));
|
||||
} // Fl_Input_Choice* inpDataSources
|
||||
{ btnDataSourceUpdate = new Fl_Light_Button(385, 247, 74, 20, _("Update"));
|
||||
btnDataSourceUpdate->tooltip(_("Update selected local data files with repository content"));
|
||||
{ btnDataSourceUpdate = new Fl_Light_Button(385, 247, 74, 20, gettext("Update"));
|
||||
btnDataSourceUpdate->tooltip(gettext("Update selected local data files with repository content"));
|
||||
btnDataSourceUpdate->callback((Fl_Callback*)cb_btnDataSourceUpdate);
|
||||
} // Fl_Light_Button* btnDataSourceUpdate
|
||||
{ btnDataSourceReset = new Fl_Button(463, 247, 70, 20, _("Reset"));
|
||||
btnDataSourceReset->tooltip(_("Delete local data files if selected."));
|
||||
{ btnDataSourceReset = new Fl_Button(463, 247, 70, 20, gettext("Reset"));
|
||||
btnDataSourceReset->tooltip(gettext("Delete local data files if selected."));
|
||||
btnDataSourceReset->callback((Fl_Callback*)cb_btnDataSourceReset);
|
||||
} // Fl_Button* btnDataSourceReset
|
||||
tabDataFiles->end();
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#include "gettext.h"
|
||||
#include "rxmon.h"
|
||||
#include "gettext.h"
|
||||
#ifndef gettext_noop
|
||||
# define gettext_noop(text) text
|
||||
#endif
|
||||
#include <config.h>
|
||||
#include <FL/Fl_Tooltip.H>
|
||||
#include <FL/Fl_Box.H>
|
||||
|
|
@ -25,7 +28,7 @@ Fl_Value_Slider2 *sldrRxFilt_vol=(Fl_Value_Slider2 *)0;
|
|||
|
||||
static void cb_sldrRxFilt_vol(Fl_Value_Slider2* o, void*) {
|
||||
progdefaults.RxFilt_vol = o->value();
|
||||
progdefaults.changed = true;
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
Fl_Check_Button *btn_rxgain_x10=(Fl_Check_Button *)0;
|
||||
|
|
@ -45,20 +48,20 @@ Fl_Value_Slider2 *sldrRxFilt_bw=(Fl_Value_Slider2 *)0;
|
|||
static void cb_sldrRxFilt_bw(Fl_Value_Slider2* o, void*) {
|
||||
progdefaults.RxFilt_bw = o->value();
|
||||
|
||||
int bw2 = progdefaults.RxFilt_bw / 2;
|
||||
progdefaults.RxFilt_low = progdefaults.RxFilt_mid - bw2;
|
||||
if (progdefaults.RxFilt_low < 100) progdefaults.RxFilt_low = 100;
|
||||
int bw2 = progdefaults.RxFilt_bw / 2;
|
||||
progdefaults.RxFilt_low = progdefaults.RxFilt_mid - bw2;
|
||||
if (progdefaults.RxFilt_low < 100) progdefaults.RxFilt_low = 100;
|
||||
|
||||
progdefaults.RxFilt_high = progdefaults.RxFilt_mid + bw2;
|
||||
if (progdefaults.RxFilt_high > 4000) progdefaults.RxFilt_high = 4000;
|
||||
progdefaults.RxFilt_high = progdefaults.RxFilt_mid + bw2;
|
||||
if (progdefaults.RxFilt_high > 4000) progdefaults.RxFilt_high = 4000;
|
||||
|
||||
sldrRxFilt_low->value(progdefaults.RxFilt_low);
|
||||
sldrRxFilt_low->redraw();
|
||||
sldrRxFilt_high->value(progdefaults.RxFilt_high);
|
||||
sldrRxFilt_high->redraw();
|
||||
sldrRxFilt_low->value(progdefaults.RxFilt_low);
|
||||
sldrRxFilt_low->redraw();
|
||||
sldrRxFilt_high->value(progdefaults.RxFilt_high);
|
||||
sldrRxFilt_high->redraw();
|
||||
|
||||
progdefaults.changed = true;
|
||||
audio_alert->init_filter();
|
||||
progdefaults.changed = true;
|
||||
audio_alert->init_filter();
|
||||
}
|
||||
|
||||
Fl_Value_Slider2 *sldrRxFilt_mid=(Fl_Value_Slider2 *)0;
|
||||
|
|
@ -66,20 +69,20 @@ Fl_Value_Slider2 *sldrRxFilt_mid=(Fl_Value_Slider2 *)0;
|
|||
static void cb_sldrRxFilt_mid(Fl_Value_Slider2* o, void*) {
|
||||
progdefaults.RxFilt_mid = o->value();
|
||||
|
||||
int bw2 = progdefaults.RxFilt_bw / 2;
|
||||
progdefaults.RxFilt_low = progdefaults.RxFilt_mid - bw2;
|
||||
if (progdefaults.RxFilt_low < 100) progdefaults.RxFilt_low = 100;
|
||||
int bw2 = progdefaults.RxFilt_bw / 2;
|
||||
progdefaults.RxFilt_low = progdefaults.RxFilt_mid - bw2;
|
||||
if (progdefaults.RxFilt_low < 100) progdefaults.RxFilt_low = 100;
|
||||
|
||||
progdefaults.RxFilt_high = progdefaults.RxFilt_mid + bw2;
|
||||
if (progdefaults.RxFilt_high > 4000) progdefaults.RxFilt_high = 4000;
|
||||
progdefaults.RxFilt_high = progdefaults.RxFilt_mid + bw2;
|
||||
if (progdefaults.RxFilt_high > 4000) progdefaults.RxFilt_high = 4000;
|
||||
|
||||
sldrRxFilt_low->value(progdefaults.RxFilt_low);
|
||||
sldrRxFilt_low->redraw();
|
||||
sldrRxFilt_high->value(progdefaults.RxFilt_high);
|
||||
sldrRxFilt_high->redraw();
|
||||
sldrRxFilt_low->value(progdefaults.RxFilt_low);
|
||||
sldrRxFilt_low->redraw();
|
||||
sldrRxFilt_high->value(progdefaults.RxFilt_high);
|
||||
sldrRxFilt_high->redraw();
|
||||
|
||||
progdefaults.changed = true;
|
||||
audio_alert->init_filter();
|
||||
progdefaults.changed = true;
|
||||
audio_alert->init_filter();
|
||||
}
|
||||
|
||||
Fl_Value_Slider2 *sldrRxFilt_low=(Fl_Value_Slider2 *)0;
|
||||
|
|
@ -87,18 +90,18 @@ Fl_Value_Slider2 *sldrRxFilt_low=(Fl_Value_Slider2 *)0;
|
|||
static void cb_sldrRxFilt_low(Fl_Value_Slider2* o, void*) {
|
||||
progdefaults.RxFilt_low = o->value();
|
||||
|
||||
int bw = progdefaults.RxFilt_high - progdefaults.RxFilt_low;
|
||||
progdefaults.RxFilt_bw = bw;
|
||||
sldrRxFilt_bw->value(bw);
|
||||
sldrRxFilt_bw->redraw();
|
||||
int bw = progdefaults.RxFilt_high - progdefaults.RxFilt_low;
|
||||
progdefaults.RxFilt_bw = bw;
|
||||
sldrRxFilt_bw->value(bw);
|
||||
sldrRxFilt_bw->redraw();
|
||||
|
||||
int mid = (progdefaults.RxFilt_high + progdefaults.RxFilt_low) / 2;
|
||||
progdefaults.RxFilt_mid = mid;
|
||||
sldrRxFilt_mid->value(mid);
|
||||
sldrRxFilt_mid->redraw();
|
||||
int mid = (progdefaults.RxFilt_high + progdefaults.RxFilt_low) / 2;
|
||||
progdefaults.RxFilt_mid = mid;
|
||||
sldrRxFilt_mid->value(mid);
|
||||
sldrRxFilt_mid->redraw();
|
||||
|
||||
progdefaults.changed = true;
|
||||
audio_alert->init_filter();
|
||||
progdefaults.changed = true;
|
||||
audio_alert->init_filter();
|
||||
}
|
||||
|
||||
Fl_Value_Slider2 *sldrRxFilt_high=(Fl_Value_Slider2 *)0;
|
||||
|
|
@ -106,18 +109,18 @@ Fl_Value_Slider2 *sldrRxFilt_high=(Fl_Value_Slider2 *)0;
|
|||
static void cb_sldrRxFilt_high(Fl_Value_Slider2* o, void*) {
|
||||
progdefaults.RxFilt_high = o->value();
|
||||
|
||||
int bw = progdefaults.RxFilt_high - progdefaults.RxFilt_low;
|
||||
progdefaults.RxFilt_bw = bw;
|
||||
sldrRxFilt_bw->value(bw);
|
||||
sldrRxFilt_bw->redraw();
|
||||
int bw = progdefaults.RxFilt_high - progdefaults.RxFilt_low;
|
||||
progdefaults.RxFilt_bw = bw;
|
||||
sldrRxFilt_bw->value(bw);
|
||||
sldrRxFilt_bw->redraw();
|
||||
|
||||
int mid = (progdefaults.RxFilt_high + progdefaults.RxFilt_low) / 2;
|
||||
progdefaults.RxFilt_mid = mid;
|
||||
sldrRxFilt_mid->value(mid);
|
||||
sldrRxFilt_mid->redraw();
|
||||
int mid = (progdefaults.RxFilt_high + progdefaults.RxFilt_low) / 2;
|
||||
progdefaults.RxFilt_mid = mid;
|
||||
sldrRxFilt_mid->value(mid);
|
||||
sldrRxFilt_mid->redraw();
|
||||
|
||||
progdefaults.changed = true;
|
||||
audio_alert->init_filter();
|
||||
progdefaults.changed = true;
|
||||
audio_alert->init_filter();
|
||||
}
|
||||
|
||||
Fl_Check_Button *btn_RxFilt_at_track=(Fl_Check_Button *)0;
|
||||
|
|
@ -125,7 +128,7 @@ Fl_Check_Button *btn_RxFilt_at_track=(Fl_Check_Button *)0;
|
|||
static void cb_btn_RxFilt_at_track(Fl_Check_Button* o, void*) {
|
||||
progdefaults.RxFilt_track_wf = o->value();
|
||||
|
||||
if (o->value() == 1) center_rxfilt_at_track();
|
||||
if (o->value() == 1) center_rxfilt_at_track();
|
||||
}
|
||||
|
||||
Fl_Check_Button *btn_mon_wf_display=(Fl_Check_Button *)0;
|
||||
|
|
@ -144,24 +147,24 @@ Fl_Value_Slider2 *sldr_tx_vol=(Fl_Value_Slider2 *)0;
|
|||
|
||||
static void cb_sldr_tx_vol(Fl_Value_Slider2* o, void*) {
|
||||
progdefaults.mon_tx_vol = o->value();
|
||||
progdefaults.changed = true;
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
Fl_Double_Window* make_rxaudio_dialog() {
|
||||
Fl_Double_Window* w;
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(360, 290, _("Rx Audio Monitor"));
|
||||
w = o; if (w) {/* empty */}
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(360, 290, gettext("Rx Audio Monitor"));
|
||||
w = o; (void)w;
|
||||
{ Fl_Group* o = new Fl_Group(5, 4, 350, 50);
|
||||
o->box(FL_BORDER_FRAME);
|
||||
o->color(FL_FOREGROUND_COLOR);
|
||||
{ Fl_Check_Button* o = btn_mon_xcvr_audio = new Fl_Check_Button(15, 8, 70, 18, _("RX Monitor"));
|
||||
btn_mon_xcvr_audio->tooltip(_("Rx audio stream ON"));
|
||||
{ Fl_Check_Button* o = btn_mon_xcvr_audio = new Fl_Check_Button(15, 8, 70, 18, gettext("RX Monitor"));
|
||||
btn_mon_xcvr_audio->tooltip(gettext("Rx audio stream ON"));
|
||||
btn_mon_xcvr_audio->down_box(FL_DOWN_BOX);
|
||||
btn_mon_xcvr_audio->callback((Fl_Callback*)cb_btn_mon_xcvr_audio);
|
||||
o->value(progdefaults.mon_xcvr_audio);
|
||||
} // Fl_Check_Button* btn_mon_xcvr_audio
|
||||
{ Fl_Value_Slider2* o = sldrRxFilt_vol = new Fl_Value_Slider2(15, 28, 290, 20, _("Rx Vol"));
|
||||
sldrRxFilt_vol->tooltip(_("Rx audio volume"));
|
||||
{ Fl_Value_Slider2* o = sldrRxFilt_vol = new Fl_Value_Slider2(15, 28, 290, 20, gettext("Rx Vol"));
|
||||
sldrRxFilt_vol->tooltip(gettext("Rx audio volume"));
|
||||
sldrRxFilt_vol->type(5);
|
||||
sldrRxFilt_vol->box(FL_DOWN_BOX);
|
||||
sldrRxFilt_vol->color((Fl_Color)206);
|
||||
|
|
@ -179,26 +182,26 @@ Fl_Double_Window* make_rxaudio_dialog() {
|
|||
sldrRxFilt_vol->when(FL_WHEN_CHANGED);
|
||||
o->value(progdefaults.RxFilt_vol);
|
||||
} // Fl_Value_Slider2* sldrRxFilt_vol
|
||||
{ Fl_Check_Button* o = btn_rxgain_x10 = new Fl_Check_Button(212, 7, 93, 18, _("Gain X 10"));
|
||||
btn_rxgain_x10->tooltip(_("Rx audio stream ON"));
|
||||
{ Fl_Check_Button* o = btn_rxgain_x10 = new Fl_Check_Button(212, 7, 93, 18, gettext("Gain X 10"));
|
||||
btn_rxgain_x10->tooltip(gettext("Rx audio stream ON"));
|
||||
btn_rxgain_x10->down_box(FL_DOWN_BOX);
|
||||
btn_rxgain_x10->callback((Fl_Callback*)cb_btn_rxgain_x10);
|
||||
o->value(progdefaults.rxgain_x10);
|
||||
} // Fl_Check_Button* btn_rxgain_x10
|
||||
o->end();
|
||||
} // Fl_Group* o
|
||||
{ Fl_Group* o = new Fl_Group(5, 58, 350, 168, _("Filter Settings"));
|
||||
{ Fl_Group* o = new Fl_Group(5, 58, 350, 168, gettext("Filter Settings"));
|
||||
o->box(FL_BORDER_FRAME);
|
||||
o->color(FL_FOREGROUND_COLOR);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
{ Fl_Check_Button* o = btn_mon_dsp_audio = new Fl_Check_Button(191, 68, 70, 18, _("Rx audio filter ON"));
|
||||
btn_mon_dsp_audio->tooltip(_("Enable DSP filtering of rx audio stream"));
|
||||
{ Fl_Check_Button* o = btn_mon_dsp_audio = new Fl_Check_Button(191, 68, 70, 18, gettext("Rx audio filter ON"));
|
||||
btn_mon_dsp_audio->tooltip(gettext("Enable DSP filtering of rx audio stream"));
|
||||
btn_mon_dsp_audio->down_box(FL_DOWN_BOX);
|
||||
btn_mon_dsp_audio->callback((Fl_Callback*)cb_btn_mon_dsp_audio);
|
||||
o->value(progdefaults.mon_dsp_audio);
|
||||
} // Fl_Check_Button* btn_mon_dsp_audio
|
||||
{ Fl_Value_Slider2* o = sldrRxFilt_bw = new Fl_Value_Slider2(10, 93, 300, 20, _("BW"));
|
||||
sldrRxFilt_bw->tooltip(_("Filter bandwidth"));
|
||||
{ Fl_Value_Slider2* o = sldrRxFilt_bw = new Fl_Value_Slider2(10, 93, 300, 20, gettext("BW"));
|
||||
sldrRxFilt_bw->tooltip(gettext("Filter bandwidth"));
|
||||
sldrRxFilt_bw->type(5);
|
||||
sldrRxFilt_bw->box(FL_DOWN_BOX);
|
||||
sldrRxFilt_bw->color((Fl_Color)206);
|
||||
|
|
@ -217,8 +220,8 @@ Fl_Double_Window* make_rxaudio_dialog() {
|
|||
sldrRxFilt_bw->when(FL_WHEN_CHANGED);
|
||||
o->value(progdefaults.RxFilt_bw);
|
||||
} // Fl_Value_Slider2* sldrRxFilt_bw
|
||||
{ Fl_Value_Slider2* o = sldrRxFilt_mid = new Fl_Value_Slider2(10, 120, 300, 20, _("Mid"));
|
||||
sldrRxFilt_mid->tooltip(_("Filter center frequ ency"));
|
||||
{ Fl_Value_Slider2* o = sldrRxFilt_mid = new Fl_Value_Slider2(10, 120, 300, 20, gettext("Mid"));
|
||||
sldrRxFilt_mid->tooltip(gettext("Filter center frequ ency"));
|
||||
sldrRxFilt_mid->type(5);
|
||||
sldrRxFilt_mid->box(FL_DOWN_BOX);
|
||||
sldrRxFilt_mid->color((Fl_Color)206);
|
||||
|
|
@ -237,8 +240,8 @@ Fl_Double_Window* make_rxaudio_dialog() {
|
|||
sldrRxFilt_mid->when(FL_WHEN_CHANGED);
|
||||
o->value(progdefaults.RxFilt_mid);
|
||||
} // Fl_Value_Slider2* sldrRxFilt_mid
|
||||
{ Fl_Value_Slider2* o = sldrRxFilt_low = new Fl_Value_Slider2(10, 147, 300, 20, _("Low"));
|
||||
sldrRxFilt_low->tooltip(_("Filter low cutoff frequency"));
|
||||
{ Fl_Value_Slider2* o = sldrRxFilt_low = new Fl_Value_Slider2(10, 147, 300, 20, gettext("Low"));
|
||||
sldrRxFilt_low->tooltip(gettext("Filter low cutoff frequency"));
|
||||
sldrRxFilt_low->type(5);
|
||||
sldrRxFilt_low->box(FL_DOWN_BOX);
|
||||
sldrRxFilt_low->color((Fl_Color)206);
|
||||
|
|
@ -257,8 +260,8 @@ Fl_Double_Window* make_rxaudio_dialog() {
|
|||
sldrRxFilt_low->when(FL_WHEN_CHANGED);
|
||||
o->value(progdefaults.RxFilt_low);
|
||||
} // Fl_Value_Slider2* sldrRxFilt_low
|
||||
{ Fl_Value_Slider2* o = sldrRxFilt_high = new Fl_Value_Slider2(10, 174, 300, 20, _("High"));
|
||||
sldrRxFilt_high->tooltip(_("Filter high cutoff frequency"));
|
||||
{ Fl_Value_Slider2* o = sldrRxFilt_high = new Fl_Value_Slider2(10, 174, 300, 20, gettext("High"));
|
||||
sldrRxFilt_high->tooltip(gettext("Filter high cutoff frequency"));
|
||||
sldrRxFilt_high->type(5);
|
||||
sldrRxFilt_high->box(FL_DOWN_BOX);
|
||||
sldrRxFilt_high->color((Fl_Color)206);
|
||||
|
|
@ -277,14 +280,14 @@ Fl_Double_Window* make_rxaudio_dialog() {
|
|||
sldrRxFilt_high->when(FL_WHEN_CHANGED);
|
||||
o->value(progdefaults.RxFilt_high);
|
||||
} // Fl_Value_Slider2* sldrRxFilt_high
|
||||
{ Fl_Check_Button* o = btn_RxFilt_at_track = new Fl_Check_Button(15, 201, 70, 18, _("track WF cursor"));
|
||||
btn_RxFilt_at_track->tooltip(_("Filter center freq tracks waterfall track point"));
|
||||
{ Fl_Check_Button* o = btn_RxFilt_at_track = new Fl_Check_Button(15, 201, 70, 18, gettext("track WF cursor"));
|
||||
btn_RxFilt_at_track->tooltip(gettext("Filter center freq tracks waterfall track point"));
|
||||
btn_RxFilt_at_track->down_box(FL_DOWN_BOX);
|
||||
btn_RxFilt_at_track->callback((Fl_Callback*)cb_btn_RxFilt_at_track);
|
||||
o->value(progdefaults.RxFilt_track_wf);
|
||||
} // Fl_Check_Button* btn_RxFilt_at_track
|
||||
{ Fl_Check_Button* o = btn_mon_wf_display = new Fl_Check_Button(195, 201, 70, 18, _("Waterfall display"));
|
||||
btn_mon_wf_display->tooltip(_("DSP filter width visible on waterfall"));
|
||||
{ Fl_Check_Button* o = btn_mon_wf_display = new Fl_Check_Button(195, 201, 70, 18, gettext("Waterfall display"));
|
||||
btn_mon_wf_display->tooltip(gettext("DSP filter width visible on waterfall"));
|
||||
btn_mon_wf_display->down_box(FL_DOWN_BOX);
|
||||
btn_mon_wf_display->callback((Fl_Callback*)cb_btn_mon_wf_display);
|
||||
o->value(progdefaults.mon_wf_display);
|
||||
|
|
@ -294,14 +297,14 @@ Fl_Double_Window* make_rxaudio_dialog() {
|
|||
{ Fl_Group* o = new Fl_Group(5, 230, 350, 54);
|
||||
o->box(FL_BORDER_FRAME);
|
||||
o->color(FL_FOREGROUND_COLOR);
|
||||
{ Fl_Check_Button* o = btn_mon_xmt_audio = new Fl_Check_Button(10, 238, 70, 18, _("TX Monitor"));
|
||||
btn_mon_xmt_audio->tooltip(_("Transmit audio monitored"));
|
||||
{ Fl_Check_Button* o = btn_mon_xmt_audio = new Fl_Check_Button(10, 238, 70, 18, gettext("TX Monitor"));
|
||||
btn_mon_xmt_audio->tooltip(gettext("Transmit audio monitored"));
|
||||
btn_mon_xmt_audio->down_box(FL_DOWN_BOX);
|
||||
btn_mon_xmt_audio->callback((Fl_Callback*)cb_btn_mon_xmt_audio);
|
||||
o->value(progdefaults.mon_xmt_audio);
|
||||
} // Fl_Check_Button* btn_mon_xmt_audio
|
||||
{ Fl_Value_Slider2* o = sldr_tx_vol = new Fl_Value_Slider2(10, 257, 290, 20, _("Tx Vol"));
|
||||
sldr_tx_vol->tooltip(_("Rx audio volume"));
|
||||
{ Fl_Value_Slider2* o = sldr_tx_vol = new Fl_Value_Slider2(10, 257, 290, 20, gettext("Tx Vol"));
|
||||
sldr_tx_vol->tooltip(gettext("Rx audio volume"));
|
||||
sldr_tx_vol->type(5);
|
||||
sldr_tx_vol->box(FL_DOWN_BOX);
|
||||
sldr_tx_vol->color((Fl_Color)206);
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#include "gettext.h"
|
||||
#include "testsigs.h"
|
||||
#include "gettext.h"
|
||||
#ifndef gettext_noop
|
||||
# define gettext_noop(text) text
|
||||
#endif
|
||||
#include "configuration.h"
|
||||
|
||||
Fl_Counter2 *noiseDB=(Fl_Counter2 *)0;
|
||||
|
|
@ -26,9 +29,9 @@ Fl_Check_Button *btn_imd_on=(Fl_Check_Button *)0;
|
|||
|
||||
Fl_Double_Window* make_testdialog() {
|
||||
Fl_Double_Window* w;
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(480, 100, _("Test Signals"));
|
||||
w = o; if (w) {/* empty */}
|
||||
{ Fl_Counter2* o = noiseDB = new Fl_Counter2(10, 41, 127, 21, _("Noise level (db)"));
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(480, 100, gettext("Test Signals"));
|
||||
w = o; (void)w;
|
||||
{ Fl_Counter2* o = noiseDB = new Fl_Counter2(10, 41, 127, 21, gettext("Noise level (db)"));
|
||||
noiseDB->box(FL_UP_BOX);
|
||||
noiseDB->color(FL_BACKGROUND_COLOR);
|
||||
noiseDB->selection_color(FL_INACTIVE_COLOR);
|
||||
|
|
@ -45,22 +48,22 @@ Fl_Double_Window* make_testdialog() {
|
|||
o->value(progdefaults.s2n);
|
||||
o->lstep(1);
|
||||
} // Fl_Counter2* noiseDB
|
||||
{ Fl_Check_Button* o = btnNoiseOn = new Fl_Check_Button(39, 73, 68, 12, _("Noise on"));
|
||||
{ Fl_Check_Button* o = btnNoiseOn = new Fl_Check_Button(39, 73, 68, 12, gettext("Noise on"));
|
||||
btnNoiseOn->down_box(FL_DOWN_BOX);
|
||||
btnNoiseOn->callback((Fl_Callback*)cb_btnNoiseOn);
|
||||
o->value(progdefaults.noise);
|
||||
} // Fl_Check_Button* btnNoiseOn
|
||||
{ Fl_Counter* o = ctrl_freq_offset = new Fl_Counter(174, 41, 127, 21, _("freq-offset"));
|
||||
ctrl_freq_offset->tooltip(_("ONLY FOR TESTING !"));
|
||||
{ Fl_Counter* o = ctrl_freq_offset = new Fl_Counter(174, 41, 127, 21, gettext("freq-offset"));
|
||||
ctrl_freq_offset->tooltip(gettext("ONLY FOR TESTING !"));
|
||||
ctrl_freq_offset->minimum(-250);
|
||||
ctrl_freq_offset->maximum(250);
|
||||
ctrl_freq_offset->align(Fl_Align(FL_ALIGN_TOP));
|
||||
o->lstep(10);
|
||||
} // Fl_Counter* ctrl_freq_offset
|
||||
{ btnOffsetOn = new Fl_Check_Button(203, 73, 68, 12, _("Offset on"));
|
||||
{ btnOffsetOn = new Fl_Check_Button(203, 73, 68, 12, gettext("Offset on"));
|
||||
btnOffsetOn->down_box(FL_DOWN_BOX);
|
||||
} // Fl_Check_Button* btnOffsetOn
|
||||
{ Fl_Counter2* o = xmtimd = new Fl_Counter2(339, 41, 127, 21, _("PSK IMD\nlevel (db)"));
|
||||
{ Fl_Counter2* o = xmtimd = new Fl_Counter2(339, 41, 127, 21, gettext("PSK IMD\nlevel (db)"));
|
||||
xmtimd->box(FL_UP_BOX);
|
||||
xmtimd->color(FL_BACKGROUND_COLOR);
|
||||
xmtimd->selection_color(FL_INACTIVE_COLOR);
|
||||
|
|
@ -75,10 +78,10 @@ Fl_Double_Window* make_testdialog() {
|
|||
xmtimd->when(FL_WHEN_CHANGED);
|
||||
o->lstep(1.0);
|
||||
} // Fl_Counter2* xmtimd
|
||||
{ btn_imd_on = new Fl_Check_Button(368, 73, 68, 12, _("IMD on"));
|
||||
{ btn_imd_on = new Fl_Check_Button(368, 73, 68, 12, gettext("IMD on"));
|
||||
btn_imd_on->down_box(FL_DOWN_BOX);
|
||||
} // Fl_Check_Button* btn_imd_on
|
||||
{ Fl_Box* o = new Fl_Box(2, 2, 368, 20, _("!! DO NOT USE ON LIVE TRANSMITER !!"));
|
||||
{ Fl_Box* o = new Fl_Box(2, 2, 368, 20, gettext("!! DO NOT USE ON LIVE TRANSMITER !!"));
|
||||
o->labelcolor((Fl_Color)80);
|
||||
} // Fl_Box* o
|
||||
o->end();
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#include "gettext.h"
|
||||
#include "dx_dialog.h"
|
||||
#include "gettext.h"
|
||||
#ifndef gettext_noop
|
||||
# define gettext_noop(text) text
|
||||
#endif
|
||||
#include "Fl_Text_Buffer_mod.H"
|
||||
static Fl_Text_Buffer_mod telnet_txt_buffer;
|
||||
static Fl_Text_Buffer_mod telnet_view_buffer;
|
||||
static Fl_Text_Buffer_mod telnet_txt_buffer;
|
||||
static Fl_Text_Buffer_mod telnet_view_buffer;
|
||||
#include "configuration.h"
|
||||
#include "dx_cluster.h"
|
||||
|
||||
|
|
@ -14,28 +17,28 @@ Fl_Input2 *inp_dxcc_host_url=(Fl_Input2 *)0;
|
|||
|
||||
static void cb_inp_dxcc_host_url(Fl_Input2* o, void*) {
|
||||
progdefaults.dxcc_host_url=o->value();
|
||||
progdefaults.changed = true;
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
Fl_Button *btn_show_host_tab=(Fl_Button *)0;
|
||||
|
||||
static void cb_btn_show_host_tab(Fl_Button*, void*) {
|
||||
cluster_tabs->value(tabDXclusterConfig);
|
||||
cluster_tabs->redraw();
|
||||
cluster_tabs->redraw();
|
||||
}
|
||||
|
||||
Fl_Input2 *inp_dccc_host_port=(Fl_Input2 *)0;
|
||||
|
||||
static void cb_inp_dccc_host_port(Fl_Input2* o, void*) {
|
||||
progdefaults.dxcc_host_port=o->value();
|
||||
progdefaults.changed = true;
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
Fl_Input2 *inp_dccc_login=(Fl_Input2 *)0;
|
||||
|
||||
static void cb_inp_dccc_login(Fl_Input2* o, void*) {
|
||||
progdefaults.dxcc_login=o->value();
|
||||
progdefaults.changed = true;
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
Fl_Input2 *inp_dxcc_password=(Fl_Input2 *)0;
|
||||
|
|
@ -48,14 +51,14 @@ Fl_Button *btnDXCLUSTERpasswordShow=(Fl_Button *)0;
|
|||
|
||||
static void cb_btnDXCLUSTERpasswordShow(Fl_Button*, void*) {
|
||||
inp_dxcc_password->type(inp_dxcc_password->type() ^ FL_SECRET_INPUT);
|
||||
inp_dxcc_password->redraw();
|
||||
inp_dxcc_password->redraw();
|
||||
}
|
||||
|
||||
Fl_Check_Button *btn_dxcc_connect=(Fl_Check_Button *)0;
|
||||
|
||||
static void cb_btn_dxcc_connect(Fl_Check_Button* o, void*) {
|
||||
progStatus.cluster_connected=o->value();
|
||||
DXcluster_connect(o->value());
|
||||
DXcluster_connect(o->value());
|
||||
}
|
||||
|
||||
Fl_Box *lbl_dxc_connected=(Fl_Box *)0;
|
||||
|
|
@ -64,7 +67,7 @@ Fl_Check_Button *btn_dxc_auto_connect=(Fl_Check_Button *)0;
|
|||
|
||||
static void cb_btn_dxc_auto_connect(Fl_Check_Button* o, void*) {
|
||||
progdefaults.dxc_auto_connect = o->value();
|
||||
progdefaults.changed = true;
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
Fl_Tabs *cluster_tabs=(Fl_Tabs *)0;
|
||||
|
|
@ -127,8 +130,8 @@ Fl_Check_Button *brws_order=(Fl_Check_Button *)0;
|
|||
|
||||
static void cb_brws_order(Fl_Check_Button* o, void*) {
|
||||
progdefaults.dxc_topline = o->value();
|
||||
dxc_lines();
|
||||
progdefaults.changed=true;
|
||||
dxc_lines();
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Button *btn_cluster_spot2=(Fl_Button *)0;
|
||||
|
|
@ -161,134 +164,134 @@ Fl_Check_Button *btn_spot_when_logged=(Fl_Check_Button *)0;
|
|||
|
||||
static void cb_btn_spot_when_logged(Fl_Check_Button* o, void*) {
|
||||
progdefaults.spot_when_logged = o->value();
|
||||
progdefaults.changed = true;
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
Fl_Check_Button *btn_dxc_hertz=(Fl_Check_Button *)0;
|
||||
|
||||
static void cb_btn_dxc_hertz(Fl_Check_Button* o, void*) {
|
||||
progdefaults.dxc_hertz = o->value();
|
||||
progdefaults.changed = true;
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
Fl_Input *mlabel_1=(Fl_Input *)0;
|
||||
|
||||
static void cb_mlabel_1(Fl_Input* o, void*) {
|
||||
progdefaults.dxcm_label_1=o->value();
|
||||
dxc_macro_1->label(progdefaults.dxcm_label_1.c_str());
|
||||
progdefaults.changed=true;
|
||||
dxc_macro_1->label(progdefaults.dxcm_label_1.c_str());
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input2 *mtext_1=(Fl_Input2 *)0;
|
||||
|
||||
static void cb_mtext_1(Fl_Input2* o, void*) {
|
||||
progdefaults.dxcm_text_1=o->value();
|
||||
progdefaults.changed=true;
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input *mlabel_2=(Fl_Input *)0;
|
||||
|
||||
static void cb_mlabel_2(Fl_Input* o, void*) {
|
||||
progdefaults.dxcm_label_2=o->value();
|
||||
dxc_macro_2->label(progdefaults.dxcm_label_2.c_str());
|
||||
progdefaults.changed=true;
|
||||
dxc_macro_2->label(progdefaults.dxcm_label_2.c_str());
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input2 *mtext_2=(Fl_Input2 *)0;
|
||||
|
||||
static void cb_mtext_2(Fl_Input2* o, void*) {
|
||||
progdefaults.dxcm_text_2=o->value();
|
||||
progdefaults.changed=true;
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input *mlabel_3=(Fl_Input *)0;
|
||||
|
||||
static void cb_mlabel_3(Fl_Input* o, void*) {
|
||||
progdefaults.dxcm_label_3=o->value();
|
||||
dxc_macro_3->label(progdefaults.dxcm_label_3.c_str());
|
||||
progdefaults.changed=true;
|
||||
dxc_macro_3->label(progdefaults.dxcm_label_3.c_str());
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input2 *mtext_3=(Fl_Input2 *)0;
|
||||
|
||||
static void cb_mtext_3(Fl_Input2* o, void*) {
|
||||
progdefaults.dxcm_text_3=o->value();
|
||||
progdefaults.changed=true;
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input *mlabel_4=(Fl_Input *)0;
|
||||
|
||||
static void cb_mlabel_4(Fl_Input* o, void*) {
|
||||
progdefaults.dxcm_label_4=o->value();
|
||||
dxc_macro_4->label(progdefaults.dxcm_label_4.c_str());
|
||||
progdefaults.changed=true;
|
||||
dxc_macro_4->label(progdefaults.dxcm_label_4.c_str());
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input2 *mtext_4=(Fl_Input2 *)0;
|
||||
|
||||
static void cb_mtext_4(Fl_Input2* o, void*) {
|
||||
progdefaults.dxcm_text_4=o->value();
|
||||
progdefaults.changed=true;
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input *mlabel_5=(Fl_Input *)0;
|
||||
|
||||
static void cb_mlabel_5(Fl_Input* o, void*) {
|
||||
progdefaults.dxcm_label_5=o->value();
|
||||
dxc_macro_5->label(progdefaults.dxcm_label_5.c_str());
|
||||
progdefaults.changed=true;
|
||||
dxc_macro_5->label(progdefaults.dxcm_label_5.c_str());
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input2 *mtext_5=(Fl_Input2 *)0;
|
||||
|
||||
static void cb_mtext_5(Fl_Input2* o, void*) {
|
||||
progdefaults.dxcm_text_5=o->value();
|
||||
progdefaults.changed=true;
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input *mlabel_6=(Fl_Input *)0;
|
||||
|
||||
static void cb_mlabel_6(Fl_Input* o, void*) {
|
||||
progdefaults.dxcm_label_6=o->value();
|
||||
dxc_macro_6->label(progdefaults.dxcm_label_6.c_str());
|
||||
progdefaults.changed=true;
|
||||
dxc_macro_6->label(progdefaults.dxcm_label_6.c_str());
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input2 *mtext_6=(Fl_Input2 *)0;
|
||||
|
||||
static void cb_mtext_6(Fl_Input2* o, void*) {
|
||||
progdefaults.dxcm_text_6=o->value();
|
||||
progdefaults.changed=true;
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input *mlabel_7=(Fl_Input *)0;
|
||||
|
||||
static void cb_mlabel_7(Fl_Input* o, void*) {
|
||||
progdefaults.dxcm_label_7=o->value();
|
||||
dxc_macro_7->label(progdefaults.dxcm_label_7.c_str());
|
||||
progdefaults.changed=true;
|
||||
dxc_macro_7->label(progdefaults.dxcm_label_7.c_str());
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input2 *mtext_7=(Fl_Input2 *)0;
|
||||
|
||||
static void cb_mtext_7(Fl_Input2* o, void*) {
|
||||
progdefaults.dxcm_text_7=o->value();
|
||||
progdefaults.changed=true;
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input *mlabel_8=(Fl_Input *)0;
|
||||
|
||||
static void cb_mlabel_8(Fl_Input* o, void*) {
|
||||
progdefaults.dxcm_label_8=o->value();
|
||||
dxc_macro_8->label(progdefaults.dxcm_label_8.c_str());
|
||||
progdefaults.changed=true;
|
||||
dxc_macro_8->label(progdefaults.dxcm_label_8.c_str());
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Input2 *mtext_8=(Fl_Input2 *)0;
|
||||
|
||||
static void cb_mtext_8(Fl_Input2* o, void*) {
|
||||
progdefaults.dxcm_text_8=o->value();
|
||||
progdefaults.changed=true;
|
||||
progdefaults.changed=true;
|
||||
}
|
||||
|
||||
Fl_Button *btn_dxcluster_ar_help=(Fl_Button *)0;
|
||||
|
|
@ -321,12 +324,12 @@ static void cb_btn_dxc_help_clear(Fl_Button*, void*) {
|
|||
|
||||
Fl_Double_Window* dxc_window() {
|
||||
Fl_Double_Window* w;
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(680, 400, _("DX Cluster Spotting"));
|
||||
w = o; if (w) {/* empty */}
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(680, 400, gettext("DX Cluster Spotting"));
|
||||
w = o; (void)w;
|
||||
{ btn_select_host = new Fl_Group(1, 2, 678, 50);
|
||||
btn_select_host->box(FL_ENGRAVED_BOX);
|
||||
{ Fl_Input2* o = inp_dxcc_host_url = new Fl_Input2(6, 25, 256, 22, _("DX HOST hostname/IP"));
|
||||
inp_dxcc_host_url->tooltip(_("telnet server URL"));
|
||||
{ Fl_Input2* o = inp_dxcc_host_url = new Fl_Input2(6, 25, 256, 22, gettext("DX HOST hostname/IP"));
|
||||
inp_dxcc_host_url->tooltip(gettext("telnet server URL"));
|
||||
inp_dxcc_host_url->box(FL_DOWN_BOX);
|
||||
inp_dxcc_host_url->color(FL_BACKGROUND2_COLOR);
|
||||
inp_dxcc_host_url->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -339,11 +342,11 @@ Fl_Double_Window* dxc_window() {
|
|||
inp_dxcc_host_url->when(FL_WHEN_RELEASE);
|
||||
o->value(progdefaults.dxcc_host_url.c_str());
|
||||
} // Fl_Input2* inp_dxcc_host_url
|
||||
{ btn_show_host_tab = new Fl_Button(263, 25, 20, 22, _("@2>"));
|
||||
{ btn_show_host_tab = new Fl_Button(263, 25, 20, 22, gettext("@2>"));
|
||||
btn_show_host_tab->callback((Fl_Callback*)cb_btn_show_host_tab);
|
||||
} // Fl_Button* btn_show_host_tab
|
||||
{ Fl_Input2* o = inp_dccc_host_port = new Fl_Input2(285, 25, 50, 22, _("Port"));
|
||||
inp_dccc_host_port->tooltip(_("telnet server port"));
|
||||
{ Fl_Input2* o = inp_dccc_host_port = new Fl_Input2(285, 25, 50, 22, gettext("Port"));
|
||||
inp_dccc_host_port->tooltip(gettext("telnet server port"));
|
||||
inp_dccc_host_port->box(FL_DOWN_BOX);
|
||||
inp_dccc_host_port->color(FL_BACKGROUND2_COLOR);
|
||||
inp_dccc_host_port->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -356,8 +359,8 @@ Fl_Double_Window* dxc_window() {
|
|||
inp_dccc_host_port->when(FL_WHEN_RELEASE);
|
||||
o->value(progdefaults.dxcc_host_port.c_str());
|
||||
} // Fl_Input2* inp_dccc_host_port
|
||||
{ Fl_Input2* o = inp_dccc_login = new Fl_Input2(336, 25, 80, 22, _("Login as"));
|
||||
inp_dccc_login->tooltip(_("login call sign"));
|
||||
{ Fl_Input2* o = inp_dccc_login = new Fl_Input2(336, 25, 80, 22, gettext("Login as"));
|
||||
inp_dccc_login->tooltip(gettext("login call sign"));
|
||||
inp_dccc_login->box(FL_DOWN_BOX);
|
||||
inp_dccc_login->color(FL_BACKGROUND2_COLOR);
|
||||
inp_dccc_login->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -370,8 +373,8 @@ Fl_Double_Window* dxc_window() {
|
|||
inp_dccc_login->when(FL_WHEN_RELEASE);
|
||||
o->value(progdefaults.dxcc_login.c_str());
|
||||
} // Fl_Input2* inp_dccc_login
|
||||
{ Fl_Input2* o = inp_dxcc_password = new Fl_Input2(420, 25, 80, 22, _("Password"));
|
||||
inp_dxcc_password->tooltip(_("Your login password"));
|
||||
{ Fl_Input2* o = inp_dxcc_password = new Fl_Input2(420, 25, 80, 22, gettext("Password"));
|
||||
inp_dxcc_password->tooltip(gettext("Your login password"));
|
||||
inp_dxcc_password->box(FL_DOWN_BOX);
|
||||
inp_dxcc_password->color(FL_BACKGROUND2_COLOR);
|
||||
inp_dxcc_password->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -386,24 +389,24 @@ Fl_Double_Window* dxc_window() {
|
|||
o->type(FL_SECRET_INPUT);
|
||||
inp_dxcc_password->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Input2* inp_dxcc_password
|
||||
{ btnDXCLUSTERpasswordShow = new Fl_Button(503, 25, 22, 22, _("?"));
|
||||
btnDXCLUSTERpasswordShow->tooltip(_("Show password in plain text"));
|
||||
{ btnDXCLUSTERpasswordShow = new Fl_Button(503, 25, 22, 22, gettext("?"));
|
||||
btnDXCLUSTERpasswordShow->tooltip(gettext("Show password in plain text"));
|
||||
btnDXCLUSTERpasswordShow->callback((Fl_Callback*)cb_btnDXCLUSTERpasswordShow);
|
||||
} // Fl_Button* btnDXCLUSTERpasswordShow
|
||||
{ Fl_Check_Button* o = btn_dxcc_connect = new Fl_Check_Button(571, 10, 101, 15, _("Connect"));
|
||||
btn_dxcc_connect->tooltip(_("Connect / Disconnect"));
|
||||
{ Fl_Check_Button* o = btn_dxcc_connect = new Fl_Check_Button(571, 10, 101, 15, gettext("Connect"));
|
||||
btn_dxcc_connect->tooltip(gettext("Connect / Disconnect"));
|
||||
btn_dxcc_connect->down_box(FL_DOWN_BOX);
|
||||
btn_dxcc_connect->callback((Fl_Callback*)cb_btn_dxcc_connect);
|
||||
o->value(progStatus.cluster_connected);
|
||||
} // Fl_Check_Button* btn_dxcc_connect
|
||||
{ lbl_dxc_connected = new Fl_Box(540, 17, 20, 20);
|
||||
lbl_dxc_connected->tooltip(_("Connected State"));
|
||||
lbl_dxc_connected->tooltip(gettext("Connected State"));
|
||||
lbl_dxc_connected->box(FL_DIAMOND_DOWN_BOX);
|
||||
lbl_dxc_connected->color((Fl_Color)55);
|
||||
lbl_dxc_connected->align(Fl_Align(FL_ALIGN_RIGHT));
|
||||
} // Fl_Box* lbl_dxc_connected
|
||||
{ Fl_Check_Button* o = btn_dxc_auto_connect = new Fl_Check_Button(571, 31, 101, 15, _("Auto conn\'"));
|
||||
btn_dxc_auto_connect->tooltip(_("Connect to host when starting fldigi"));
|
||||
{ Fl_Check_Button* o = btn_dxc_auto_connect = new Fl_Check_Button(571, 31, 101, 15, gettext("Auto conn\'"));
|
||||
btn_dxc_auto_connect->tooltip(gettext("Connect to host when starting fldigi"));
|
||||
btn_dxc_auto_connect->down_box(FL_DOWN_BOX);
|
||||
btn_dxc_auto_connect->callback((Fl_Callback*)cb_btn_dxc_auto_connect);
|
||||
o->value(progdefaults.dxc_auto_connect);
|
||||
|
|
@ -411,11 +414,11 @@ Fl_Double_Window* dxc_window() {
|
|||
btn_select_host->end();
|
||||
} // Fl_Group* btn_select_host
|
||||
{ cluster_tabs = new Fl_Tabs(0, 55, 680, 340);
|
||||
{ tabDXclusterTelNetStream = new Fl_Group(1, 80, 677, 314, _("TelNet stream"));
|
||||
{ tabDXclusterTelNetStream = new Fl_Group(1, 80, 677, 314, gettext("TelNet stream"));
|
||||
{ Fl_Group* o = new Fl_Group(2, 82, 676, 276);
|
||||
o->box(FL_ENGRAVED_FRAME);
|
||||
{ brws_tcpip_stream = new FTextView(4, 85, 668, 240);
|
||||
brws_tcpip_stream->tooltip(_("Cluster server command strings"));
|
||||
brws_tcpip_stream->tooltip(gettext("Cluster server command strings"));
|
||||
brws_tcpip_stream->box(FL_DOWN_FRAME);
|
||||
brws_tcpip_stream->color(FL_BACKGROUND2_COLOR);
|
||||
brws_tcpip_stream->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -428,44 +431,44 @@ Fl_Double_Window* dxc_window() {
|
|||
brws_tcpip_stream->when(FL_WHEN_RELEASE);
|
||||
Fl_Group::current()->resizable(brws_tcpip_stream);
|
||||
} // FTextView* brws_tcpip_stream
|
||||
{ Fl_Button* o = dxc_macro_1 = new Fl_Button(4, 331, 80, 22, _("m1"));
|
||||
dxc_macro_1->tooltip(_("DX cluster macro\\nLeft click execute\\nRight click edit"));
|
||||
{ Fl_Button* o = dxc_macro_1 = new Fl_Button(4, 331, 80, 22, gettext("m1"));
|
||||
dxc_macro_1->tooltip(gettext("DX cluster macro\\nLeft click execute\\nRight click edit"));
|
||||
dxc_macro_1->callback((Fl_Callback*)dxc_click_m1);
|
||||
o->label(progdefaults.dxcm_label_1.c_str());
|
||||
} // Fl_Button* dxc_macro_1
|
||||
{ Fl_Button* o = dxc_macro_2 = new Fl_Button(88, 331, 80, 22, _("m2"));
|
||||
{ Fl_Button* o = dxc_macro_2 = new Fl_Button(88, 331, 80, 22, gettext("m2"));
|
||||
dxc_macro_2->callback((Fl_Callback*)dxc_click_m2);
|
||||
o->label(progdefaults.dxcm_label_2.c_str());
|
||||
} // Fl_Button* dxc_macro_2
|
||||
{ Fl_Button* o = dxc_macro_3 = new Fl_Button(172, 331, 80, 22, _("m3"));
|
||||
{ Fl_Button* o = dxc_macro_3 = new Fl_Button(172, 331, 80, 22, gettext("m3"));
|
||||
dxc_macro_3->callback((Fl_Callback*)dxc_click_m3);
|
||||
o->label(progdefaults.dxcm_label_3.c_str());
|
||||
} // Fl_Button* dxc_macro_3
|
||||
{ Fl_Button* o = dxc_macro_4 = new Fl_Button(256, 331, 80, 22, _("m4"));
|
||||
{ Fl_Button* o = dxc_macro_4 = new Fl_Button(256, 331, 80, 22, gettext("m4"));
|
||||
dxc_macro_4->callback((Fl_Callback*)dxc_click_m4);
|
||||
o->label(progdefaults.dxcm_label_4.c_str());
|
||||
} // Fl_Button* dxc_macro_4
|
||||
{ Fl_Button* o = dxc_macro_5 = new Fl_Button(340, 331, 80, 22, _("m5"));
|
||||
{ Fl_Button* o = dxc_macro_5 = new Fl_Button(340, 331, 80, 22, gettext("m5"));
|
||||
dxc_macro_5->callback((Fl_Callback*)dxc_click_m5);
|
||||
o->label(progdefaults.dxcm_label_5.c_str());
|
||||
} // Fl_Button* dxc_macro_5
|
||||
{ Fl_Button* o = dxc_macro_6 = new Fl_Button(424, 331, 80, 22, _("m6"));
|
||||
{ Fl_Button* o = dxc_macro_6 = new Fl_Button(424, 331, 80, 22, gettext("m6"));
|
||||
dxc_macro_6->callback((Fl_Callback*)dxc_click_m6);
|
||||
o->label(progdefaults.dxcm_label_6.c_str());
|
||||
} // Fl_Button* dxc_macro_6
|
||||
{ Fl_Button* o = dxc_macro_7 = new Fl_Button(508, 331, 80, 22, _("m7"));
|
||||
{ Fl_Button* o = dxc_macro_7 = new Fl_Button(508, 331, 80, 22, gettext("m7"));
|
||||
dxc_macro_7->callback((Fl_Callback*)dxc_click_m7);
|
||||
o->label(progdefaults.dxcm_label_7.c_str());
|
||||
} // Fl_Button* dxc_macro_7
|
||||
{ Fl_Button* o = dxc_macro_8 = new Fl_Button(592, 331, 80, 22, _("m8"));
|
||||
dxc_macro_8->tooltip(_("DX cluster macro\\nLeft click execute\\nRight click edit"));
|
||||
{ Fl_Button* o = dxc_macro_8 = new Fl_Button(592, 331, 80, 22, gettext("m8"));
|
||||
dxc_macro_8->tooltip(gettext("DX cluster macro\\nLeft click execute\\nRight click edit"));
|
||||
dxc_macro_8->callback((Fl_Callback*)dxc_click_m8);
|
||||
o->label(progdefaults.dxcm_label_8.c_str());
|
||||
} // Fl_Button* dxc_macro_8
|
||||
o->end();
|
||||
} // Fl_Group* o
|
||||
{ inp_dxcluster_cmd = new Fl_Input2(43, 364, 480, 22, _("Cmd:"));
|
||||
inp_dxcluster_cmd->tooltip(_("Command string"));
|
||||
{ inp_dxcluster_cmd = new Fl_Input2(43, 364, 480, 22, gettext("Cmd:"));
|
||||
inp_dxcluster_cmd->tooltip(gettext("Command string"));
|
||||
inp_dxcluster_cmd->box(FL_DOWN_BOX);
|
||||
inp_dxcluster_cmd->color(FL_BACKGROUND2_COLOR);
|
||||
inp_dxcluster_cmd->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -477,53 +480,53 @@ Fl_Double_Window* dxc_window() {
|
|||
inp_dxcluster_cmd->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
inp_dxcluster_cmd->when(FL_WHEN_ENTER_KEY);
|
||||
} // Fl_Input2* inp_dxcluster_cmd
|
||||
{ btn_cluster_spot = new Fl_Button(527, 364, 70, 22, _("Spot"));
|
||||
btn_cluster_spot->tooltip(_("Send SPOT string to server"));
|
||||
{ btn_cluster_spot = new Fl_Button(527, 364, 70, 22, gettext("Spot"));
|
||||
btn_cluster_spot->tooltip(gettext("Send SPOT string to server"));
|
||||
btn_cluster_spot->callback((Fl_Callback*)cb_btn_cluster_spot);
|
||||
} // Fl_Button* btn_cluster_spot
|
||||
{ btn_cluster_submit = new Fl_Button(602, 364, 70, 22, _("Submit"));
|
||||
btn_cluster_submit->tooltip(_("Send command to server"));
|
||||
{ btn_cluster_submit = new Fl_Button(602, 364, 70, 22, gettext("Submit"));
|
||||
btn_cluster_submit->tooltip(gettext("Send command to server"));
|
||||
btn_cluster_submit->callback((Fl_Callback*)cb_btn_cluster_submit);
|
||||
} // Fl_Button* btn_cluster_submit
|
||||
tabDXclusterTelNetStream->end();
|
||||
} // Fl_Group* tabDXclusterTelNetStream
|
||||
{ tabDXclusterReports = new Fl_Group(1, 80, 673, 314, _("DX Reports"));
|
||||
{ tabDXclusterReports = new Fl_Group(1, 80, 673, 314, gettext("DX Reports"));
|
||||
tabDXclusterReports->hide();
|
||||
{ reports_header = new Fl_Browser(3, 84, 671, 20);
|
||||
reports_header->color(FL_LIGHT2);
|
||||
reports_header->textfont(4);
|
||||
reports_header->when(FL_WHEN_NEVER);
|
||||
reports_header->when(FL_WHEN_NOT_CHANGED);
|
||||
} // Fl_Browser* reports_header
|
||||
{ brws_dx_cluster = new Fl_Browser(3, 104, 671, 260);
|
||||
brws_dx_cluster->tooltip(_("Left Click to select SPOT"));
|
||||
brws_dx_cluster->tooltip(gettext("Left Click to select SPOT"));
|
||||
brws_dx_cluster->type(2);
|
||||
brws_dx_cluster->textfont(4);
|
||||
brws_dx_cluster->callback((Fl_Callback*)cb_brws_dx_cluster);
|
||||
brws_dx_cluster->align(Fl_Align(FL_ALIGN_BOTTOM|FL_ALIGN_INSIDE));
|
||||
Fl_Group::current()->resizable(brws_dx_cluster);
|
||||
} // Fl_Browser* brws_dx_cluster
|
||||
{ btn_dxc_cluster_clear = new Fl_Button(294, 366, 72, 22, _("Clear"));
|
||||
btn_dxc_cluster_clear->tooltip(_("Clear parsed data stream"));
|
||||
{ btn_dxc_cluster_clear = new Fl_Button(294, 366, 72, 22, gettext("Clear"));
|
||||
btn_dxc_cluster_clear->tooltip(gettext("Clear parsed data stream"));
|
||||
btn_dxc_cluster_clear->callback((Fl_Callback*)cb_btn_dxc_cluster_clear);
|
||||
} // Fl_Button* btn_dxc_cluster_clear
|
||||
{ Fl_Check_Button* o = brws_order = new Fl_Check_Button(31, 371, 186, 15, _("New entries in first line"));
|
||||
{ Fl_Check_Button* o = brws_order = new Fl_Check_Button(31, 371, 186, 15, gettext("New entries in first line"));
|
||||
brws_order->down_box(FL_DOWN_BOX);
|
||||
brws_order->callback((Fl_Callback*)cb_brws_order);
|
||||
brws_order->when(FL_WHEN_CHANGED);
|
||||
o->value(progdefaults.dxc_topline);
|
||||
} // Fl_Check_Button* brws_order
|
||||
{ btn_cluster_spot2 = new Fl_Button(585, 368, 70, 22, _("Spot"));
|
||||
btn_cluster_spot2->tooltip(_("Send SPOT string to server"));
|
||||
{ btn_cluster_spot2 = new Fl_Button(585, 368, 70, 22, gettext("Spot"));
|
||||
btn_cluster_spot2->tooltip(gettext("Send SPOT string to server"));
|
||||
btn_cluster_spot2->callback((Fl_Callback*)cb_btn_cluster_spot2);
|
||||
} // Fl_Button* btn_cluster_spot2
|
||||
tabDXclusterReports->end();
|
||||
} // Fl_Group* tabDXclusterReports
|
||||
{ tabDXclusterConfig = new Fl_Group(0, 80, 676, 314, _("Config"));
|
||||
tabDXclusterConfig->tooltip(_("Initialization strings for telnet cluster host"));
|
||||
{ tabDXclusterConfig = new Fl_Group(0, 80, 676, 314, gettext("Config"));
|
||||
tabDXclusterConfig->tooltip(gettext("Initialization strings for telnet cluster host"));
|
||||
tabDXclusterConfig->hide();
|
||||
{ Fl_Group* o = new Fl_Group(0, 82, 676, 130);
|
||||
{ Fl_Group* o = new Fl_Group(1, 82, 348, 124);
|
||||
{ Fl_Browser* o = brws_dxcluster_hosts = new Fl_Browser(5, 100, 278, 100, _("Hosts"));
|
||||
{ Fl_Browser* o = brws_dxcluster_hosts = new Fl_Browser(5, 100, 278, 100, gettext("Hosts"));
|
||||
brws_dxcluster_hosts->type(2);
|
||||
brws_dxcluster_hosts->textfont(4);
|
||||
brws_dxcluster_hosts->align(Fl_Align(FL_ALIGN_TOP));
|
||||
|
|
@ -534,20 +537,20 @@ Fl_Double_Window* dxc_window() {
|
|||
dxcluster_hosts_load();
|
||||
} // Fl_Browser* brws_dxcluster_hosts
|
||||
{ Fl_Group* o = new Fl_Group(286, 100, 61, 100);
|
||||
{ btn_dxcluster_hosts_select = new Fl_Button(290, 106, 54, 19, _("Select"));
|
||||
btn_dxcluster_hosts_select->tooltip(_("Select highlighted DX cluster host"));
|
||||
{ btn_dxcluster_hosts_select = new Fl_Button(290, 106, 54, 19, gettext("Select"));
|
||||
btn_dxcluster_hosts_select->tooltip(gettext("Select highlighted DX cluster host"));
|
||||
btn_dxcluster_hosts_select->callback((Fl_Callback*)dxcluster_hosts_select);
|
||||
} // Fl_Button* btn_dxcluster_hosts_select
|
||||
{ btn_dxcluster_hosts_add = new Fl_Button(290, 128, 54, 19, _("Add"));
|
||||
btn_dxcluster_hosts_add->tooltip(_("Add current DX cluster host"));
|
||||
{ btn_dxcluster_hosts_add = new Fl_Button(290, 128, 54, 19, gettext("Add"));
|
||||
btn_dxcluster_hosts_add->tooltip(gettext("Add current DX cluster host"));
|
||||
btn_dxcluster_hosts_add->callback((Fl_Callback*)dxcluster_hosts_add);
|
||||
} // Fl_Button* btn_dxcluster_hosts_add
|
||||
{ btn_dxcluster_hosts_delete = new Fl_Button(290, 151, 54, 19, _("Delete"));
|
||||
btn_dxcluster_hosts_delete->tooltip(_("Delete highlighted DX cluster host"));
|
||||
{ btn_dxcluster_hosts_delete = new Fl_Button(290, 151, 54, 19, gettext("Delete"));
|
||||
btn_dxcluster_hosts_delete->tooltip(gettext("Delete highlighted DX cluster host"));
|
||||
btn_dxcluster_hosts_delete->callback((Fl_Callback*)dxcluster_hosts_delete);
|
||||
} // Fl_Button* btn_dxcluster_hosts_delete
|
||||
{ btn_dxcluster_servers = new Fl_Button(290, 174, 54, 19, _("Srvrs"));
|
||||
btn_dxcluster_servers->tooltip(_("Server List"));
|
||||
{ btn_dxcluster_servers = new Fl_Button(290, 174, 54, 19, gettext("Srvrs"));
|
||||
btn_dxcluster_servers->tooltip(gettext("Server List"));
|
||||
btn_dxcluster_servers->callback((Fl_Callback*)dxcluster_servers);
|
||||
} // Fl_Button* btn_dxcluster_servers
|
||||
{ Fl_Group* o = new Fl_Group(290, 195, 54, 2);
|
||||
|
|
@ -559,8 +562,8 @@ Fl_Double_Window* dxc_window() {
|
|||
o->end();
|
||||
} // Fl_Group* o
|
||||
{ Fl_Group* o = new Fl_Group(350, 82, 325, 103);
|
||||
{ ed_telnet_cmds = new FTextEdit(354, 100, 248, 80, _("Cluster Server Setup Cmds"));
|
||||
ed_telnet_cmds->tooltip(_("Cluster server command strings"));
|
||||
{ ed_telnet_cmds = new FTextEdit(354, 100, 248, 80, gettext("Cluster Server Setup Cmds"));
|
||||
ed_telnet_cmds->tooltip(gettext("Cluster server command strings"));
|
||||
ed_telnet_cmds->box(FL_DOWN_FRAME);
|
||||
ed_telnet_cmds->color(FL_BACKGROUND2_COLOR);
|
||||
ed_telnet_cmds->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -574,16 +577,16 @@ Fl_Double_Window* dxc_window() {
|
|||
Fl_Group::current()->resizable(ed_telnet_cmds);
|
||||
} // FTextEdit* ed_telnet_cmds
|
||||
{ Fl_Group* o = new Fl_Group(606, 100, 59, 82);
|
||||
{ btn_dxcluster_hosts_load_setup = new Fl_Button(610, 106, 54, 19, _("Load"));
|
||||
btn_dxcluster_hosts_load_setup->tooltip(_("Load Cluster Setup Commands"));
|
||||
{ btn_dxcluster_hosts_load_setup = new Fl_Button(610, 106, 54, 19, gettext("Load"));
|
||||
btn_dxcluster_hosts_load_setup->tooltip(gettext("Load Cluster Setup Commands"));
|
||||
btn_dxcluster_hosts_load_setup->callback((Fl_Callback*)dxcluster_hosts_load_setup);
|
||||
} // Fl_Button* btn_dxcluster_hosts_load_setup
|
||||
{ btn_dxcluster_hosts_save_setup = new Fl_Button(610, 128, 54, 19, _("Save"));
|
||||
btn_dxcluster_hosts_save_setup->tooltip(_("Save Cluster Setup Commands"));
|
||||
{ btn_dxcluster_hosts_save_setup = new Fl_Button(610, 128, 54, 19, gettext("Save"));
|
||||
btn_dxcluster_hosts_save_setup->tooltip(gettext("Save Cluster Setup Commands"));
|
||||
btn_dxcluster_hosts_save_setup->callback((Fl_Callback*)dxcluster_hosts_save_setup);
|
||||
} // Fl_Button* btn_dxcluster_hosts_save_setup
|
||||
{ btn_dxcluster_hosts_send_setup = new Fl_Button(610, 151, 54, 19, _("Send"));
|
||||
btn_dxcluster_hosts_send_setup->tooltip(_("Send Commands to Cluster Server"));
|
||||
{ btn_dxcluster_hosts_send_setup = new Fl_Button(610, 151, 54, 19, gettext("Send"));
|
||||
btn_dxcluster_hosts_send_setup->tooltip(gettext("Send Commands to Cluster Server"));
|
||||
btn_dxcluster_hosts_send_setup->callback((Fl_Callback*)dxcluster_hosts_send_setup);
|
||||
} // Fl_Button* btn_dxcluster_hosts_send_setup
|
||||
{ Fl_Group* o = new Fl_Group(610, 174, 54, 2);
|
||||
|
|
@ -594,14 +597,14 @@ Fl_Double_Window* dxc_window() {
|
|||
} // Fl_Group* o
|
||||
o->end();
|
||||
} // Fl_Group* o
|
||||
{ Fl_Check_Button* o = btn_spot_when_logged = new Fl_Check_Button(354, 188, 146, 15, _("Spot when logged"));
|
||||
btn_spot_when_logged->tooltip(_("Create DX spot when logging contact"));
|
||||
{ Fl_Check_Button* o = btn_spot_when_logged = new Fl_Check_Button(354, 188, 146, 15, gettext("Spot when logged"));
|
||||
btn_spot_when_logged->tooltip(gettext("Create DX spot when logging contact"));
|
||||
btn_spot_when_logged->down_box(FL_DOWN_BOX);
|
||||
btn_spot_when_logged->callback((Fl_Callback*)cb_btn_spot_when_logged);
|
||||
o->value(progdefaults.spot_when_logged);
|
||||
} // Fl_Check_Button* btn_spot_when_logged
|
||||
{ Fl_Check_Button* o = btn_dxc_hertz = new Fl_Check_Button(512, 188, 146, 15, _("Report [0..99 Hz]"));
|
||||
btn_dxc_hertz->tooltip(_("Add [0..99] Hz WF value to DX report notes"));
|
||||
{ Fl_Check_Button* o = btn_dxc_hertz = new Fl_Check_Button(512, 188, 146, 15, gettext("Report [0..99 Hz]"));
|
||||
btn_dxc_hertz->tooltip(gettext("Add [0..99] Hz WF value to DX report notes"));
|
||||
btn_dxc_hertz->down_box(FL_DOWN_BOX);
|
||||
btn_dxc_hertz->callback((Fl_Callback*)cb_btn_dxc_hertz);
|
||||
o->value(progdefaults.dxc_hertz);
|
||||
|
|
@ -612,12 +615,12 @@ Fl_Double_Window* dxc_window() {
|
|||
{ Fl_Group* o = new Fl_Group(0, 218, 676, 174);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP|FL_ALIGN_INSIDE));
|
||||
{ Fl_Group* o = new Fl_Group(1, 218, 307, 170);
|
||||
{ Fl_Input* o = mlabel_1 = new Fl_Input(5, 238, 80, 22, _("label 1"));
|
||||
{ Fl_Input* o = mlabel_1 = new Fl_Input(5, 238, 80, 22, gettext("label 1"));
|
||||
mlabel_1->callback((Fl_Callback*)cb_mlabel_1);
|
||||
mlabel_1->align(Fl_Align(FL_ALIGN_TOP));
|
||||
o->value(progdefaults.dxcm_label_1.c_str());
|
||||
} // Fl_Input* mlabel_1
|
||||
{ Fl_Input2* o = mtext_1 = new Fl_Input2(87, 238, 220, 22, _("macro text"));
|
||||
{ Fl_Input2* o = mtext_1 = new Fl_Input2(87, 238, 220, 22, gettext("macro text"));
|
||||
mtext_1->box(FL_DOWN_BOX);
|
||||
mtext_1->color(FL_BACKGROUND2_COLOR);
|
||||
mtext_1->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -630,7 +633,7 @@ Fl_Double_Window* dxc_window() {
|
|||
mtext_1->when(FL_WHEN_RELEASE);
|
||||
o->value(progdefaults.dxcm_text_1.c_str());
|
||||
} // Fl_Input2* mtext_1
|
||||
{ Fl_Input* o = mlabel_2 = new Fl_Input(5, 278, 80, 22, _("label 2"));
|
||||
{ Fl_Input* o = mlabel_2 = new Fl_Input(5, 278, 80, 22, gettext("label 2"));
|
||||
mlabel_2->callback((Fl_Callback*)cb_mlabel_2);
|
||||
mlabel_2->align(Fl_Align(FL_ALIGN_TOP));
|
||||
o->value(progdefaults.dxcm_label_2.c_str());
|
||||
|
|
@ -648,7 +651,7 @@ Fl_Double_Window* dxc_window() {
|
|||
mtext_2->when(FL_WHEN_RELEASE);
|
||||
o->value(progdefaults.dxcm_text_2.c_str());
|
||||
} // Fl_Input2* mtext_2
|
||||
{ Fl_Input* o = mlabel_3 = new Fl_Input(5, 318, 80, 22, _("label 3"));
|
||||
{ Fl_Input* o = mlabel_3 = new Fl_Input(5, 318, 80, 22, gettext("label 3"));
|
||||
mlabel_3->callback((Fl_Callback*)cb_mlabel_3);
|
||||
mlabel_3->align(Fl_Align(FL_ALIGN_TOP));
|
||||
o->value(progdefaults.dxcm_label_3.c_str());
|
||||
|
|
@ -666,7 +669,7 @@ Fl_Double_Window* dxc_window() {
|
|||
mtext_3->when(FL_WHEN_RELEASE);
|
||||
o->value(progdefaults.dxcm_text_3.c_str());
|
||||
} // Fl_Input2* mtext_3
|
||||
{ Fl_Input* o = mlabel_4 = new Fl_Input(5, 358, 80, 22, _("label 4"));
|
||||
{ Fl_Input* o = mlabel_4 = new Fl_Input(5, 358, 80, 22, gettext("label 4"));
|
||||
mlabel_4->callback((Fl_Callback*)cb_mlabel_4);
|
||||
mlabel_4->align(Fl_Align(FL_ALIGN_TOP));
|
||||
o->value(progdefaults.dxcm_label_4.c_str());
|
||||
|
|
@ -687,12 +690,12 @@ Fl_Double_Window* dxc_window() {
|
|||
o->end();
|
||||
} // Fl_Group* o
|
||||
{ Fl_Group* o = new Fl_Group(308, 218, 307, 170);
|
||||
{ Fl_Input* o = mlabel_5 = new Fl_Input(310, 237, 80, 22, _("label 5"));
|
||||
{ Fl_Input* o = mlabel_5 = new Fl_Input(310, 237, 80, 22, gettext("label 5"));
|
||||
mlabel_5->callback((Fl_Callback*)cb_mlabel_5);
|
||||
mlabel_5->align(Fl_Align(FL_ALIGN_TOP));
|
||||
o->value(progdefaults.dxcm_label_5.c_str());
|
||||
} // Fl_Input* mlabel_5
|
||||
{ Fl_Input2* o = mtext_5 = new Fl_Input2(391, 237, 220, 22, _("macro text"));
|
||||
{ Fl_Input2* o = mtext_5 = new Fl_Input2(391, 237, 220, 22, gettext("macro text"));
|
||||
mtext_5->box(FL_DOWN_BOX);
|
||||
mtext_5->color(FL_BACKGROUND2_COLOR);
|
||||
mtext_5->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -705,7 +708,7 @@ Fl_Double_Window* dxc_window() {
|
|||
mtext_5->when(FL_WHEN_RELEASE);
|
||||
o->value(progdefaults.dxcm_text_5.c_str());
|
||||
} // Fl_Input2* mtext_5
|
||||
{ Fl_Input* o = mlabel_6 = new Fl_Input(310, 277, 80, 22, _("label 6"));
|
||||
{ Fl_Input* o = mlabel_6 = new Fl_Input(310, 277, 80, 22, gettext("label 6"));
|
||||
mlabel_6->callback((Fl_Callback*)cb_mlabel_6);
|
||||
mlabel_6->align(Fl_Align(FL_ALIGN_TOP));
|
||||
o->value(progdefaults.dxcm_label_6.c_str());
|
||||
|
|
@ -723,7 +726,7 @@ Fl_Double_Window* dxc_window() {
|
|||
mtext_6->when(FL_WHEN_RELEASE);
|
||||
o->value(progdefaults.dxcm_text_6.c_str());
|
||||
} // Fl_Input2* mtext_6
|
||||
{ Fl_Input* o = mlabel_7 = new Fl_Input(310, 317, 80, 22, _("label 7"));
|
||||
{ Fl_Input* o = mlabel_7 = new Fl_Input(310, 317, 80, 22, gettext("label 7"));
|
||||
mlabel_7->callback((Fl_Callback*)cb_mlabel_7);
|
||||
mlabel_7->align(Fl_Align(FL_ALIGN_TOP));
|
||||
o->value(progdefaults.dxcm_label_7.c_str());
|
||||
|
|
@ -741,7 +744,7 @@ Fl_Double_Window* dxc_window() {
|
|||
mtext_7->when(FL_WHEN_RELEASE);
|
||||
o->value(progdefaults.dxcm_text_7.c_str());
|
||||
} // Fl_Input2* mtext_7
|
||||
{ Fl_Input* o = mlabel_8 = new Fl_Input(310, 357, 80, 22, _("label 8"));
|
||||
{ Fl_Input* o = mlabel_8 = new Fl_Input(310, 357, 80, 22, gettext("label 8"));
|
||||
mlabel_8->callback((Fl_Callback*)cb_mlabel_8);
|
||||
mlabel_8->align(Fl_Align(FL_ALIGN_TOP));
|
||||
o->value(progdefaults.dxcm_label_8.c_str());
|
||||
|
|
@ -761,26 +764,26 @@ Fl_Double_Window* dxc_window() {
|
|||
} // Fl_Input2* mtext_8
|
||||
o->end();
|
||||
} // Fl_Group* o
|
||||
{ btn_dxcluster_ar_help = new Fl_Button(618, 230, 56, 22, _("AR ?"));
|
||||
btn_dxcluster_ar_help->tooltip(_("AR Commands"));
|
||||
{ btn_dxcluster_ar_help = new Fl_Button(618, 230, 56, 22, gettext("AR ?"));
|
||||
btn_dxcluster_ar_help->tooltip(gettext("AR Commands"));
|
||||
btn_dxcluster_ar_help->callback((Fl_Callback*)dxcluster_ar_help);
|
||||
} // Fl_Button* btn_dxcluster_ar_help
|
||||
{ btn_dxcluster_cc_help = new Fl_Button(618, 272, 56, 22, _("CC ?"));
|
||||
btn_dxcluster_cc_help->tooltip(_("CC Commands"));
|
||||
{ btn_dxcluster_cc_help = new Fl_Button(618, 272, 56, 22, gettext("CC ?"));
|
||||
btn_dxcluster_cc_help->tooltip(gettext("CC Commands"));
|
||||
btn_dxcluster_cc_help->callback((Fl_Callback*)dxcluster_cc_help);
|
||||
} // Fl_Button* btn_dxcluster_cc_help
|
||||
{ btn_dxcluster_dx_help = new Fl_Button(618, 315, 56, 22, _("DX ?"));
|
||||
btn_dxcluster_dx_help->tooltip(_("Spider Commands"));
|
||||
{ btn_dxcluster_dx_help = new Fl_Button(618, 315, 56, 22, gettext("DX ?"));
|
||||
btn_dxcluster_dx_help->tooltip(gettext("Spider Commands"));
|
||||
btn_dxcluster_dx_help->callback((Fl_Callback*)dxcluster_dx_help);
|
||||
} // Fl_Button* btn_dxcluster_dx_help
|
||||
o->end();
|
||||
} // Fl_Group* o
|
||||
tabDXclusterConfig->end();
|
||||
} // Fl_Group* tabDXclusterConfig
|
||||
{ tabDXclusterHelp = new Fl_Group(1, 80, 675, 314, _("Help"));
|
||||
{ tabDXclusterHelp = new Fl_Group(1, 80, 675, 314, gettext("Help"));
|
||||
tabDXclusterHelp->hide();
|
||||
{ brws_dxc_help = new FTextView(3, 84, 673, 281);
|
||||
brws_dxc_help->tooltip(_("Cluster server command strings"));
|
||||
brws_dxc_help->tooltip(gettext("Cluster server command strings"));
|
||||
brws_dxc_help->box(FL_DOWN_FRAME);
|
||||
brws_dxc_help->color(FL_BACKGROUND2_COLOR);
|
||||
brws_dxc_help->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -793,12 +796,12 @@ Fl_Double_Window* dxc_window() {
|
|||
brws_dxc_help->when(FL_WHEN_RELEASE);
|
||||
Fl_Group::current()->resizable(brws_dxc_help);
|
||||
} // FTextView* brws_dxc_help
|
||||
{ btn_dxc_help_query = new Fl_Button(441, 368, 70, 22, _("Get Help"));
|
||||
btn_dxc_help_query->tooltip(_("Get WWV sunspot events"));
|
||||
{ btn_dxc_help_query = new Fl_Button(441, 368, 70, 22, gettext("Get Help"));
|
||||
btn_dxc_help_query->tooltip(gettext("Get WWV sunspot events"));
|
||||
btn_dxc_help_query->callback((Fl_Callback*)cb_btn_dxc_help_query);
|
||||
} // Fl_Button* btn_dxc_help_query
|
||||
{ inp_help_string = new Fl_Input2(265, 368, 172, 22, _("Help on:"));
|
||||
inp_help_string->tooltip(_("Leave blank for general help\nEnter subject, e.g. DX"));
|
||||
{ inp_help_string = new Fl_Input2(265, 368, 172, 22, gettext("Help on:"));
|
||||
inp_help_string->tooltip(gettext("Leave blank for general help\nEnter subject, e.g. DX"));
|
||||
inp_help_string->box(FL_DOWN_BOX);
|
||||
inp_help_string->color(FL_BACKGROUND2_COLOR);
|
||||
inp_help_string->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -810,8 +813,8 @@ Fl_Double_Window* dxc_window() {
|
|||
inp_help_string->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
inp_help_string->when(FL_WHEN_ENTER_KEY);
|
||||
} // Fl_Input2* inp_help_string
|
||||
{ btn_dxc_help_clear = new Fl_Button(517, 368, 71, 22, _("Clear"));
|
||||
btn_dxc_help_clear->tooltip(_("Clear help panel"));
|
||||
{ btn_dxc_help_clear = new Fl_Button(517, 368, 71, 22, gettext("Clear"));
|
||||
btn_dxc_help_clear->tooltip(gettext("Clear help panel"));
|
||||
btn_dxc_help_clear->callback((Fl_Callback*)cb_btn_dxc_help_clear);
|
||||
} // Fl_Button* btn_dxc_help_clear
|
||||
tabDXclusterHelp->end();
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#ifndef confdialog_h
|
||||
#define confdialog_h
|
||||
|
|
@ -11,10 +11,10 @@
|
|||
#include "flinput2.h"
|
||||
#include "flslider2.h"
|
||||
#include "flmisc.h"
|
||||
extern Fl_Double_Window *dlgConfig;
|
||||
extern Mode_Browser* mode_browser;
|
||||
struct CONFIG_PAGE {Fl_Group *grp; std::string label; CONFIG_PAGE(Fl_Group *_grp = 0, std::string _lbl = "") { grp = _grp; label = _lbl; } ~CONFIG_PAGE() { if (grp) delete grp; } };
|
||||
extern std::vector<CONFIG_PAGE *> config_pages;
|
||||
extern Fl_Double_Window *dlgConfig;
|
||||
extern Mode_Browser* mode_browser;
|
||||
struct CONFIG_PAGE {Fl_Group *grp; std::string label; CONFIG_PAGE(Fl_Group *_grp = 0, std::string _lbl = "") { grp = _grp; label = _lbl; } ~CONFIG_PAGE() { if (grp) delete grp; } };
|
||||
extern std::vector<CONFIG_PAGE *> config_pages;
|
||||
void SelectItem_CB(Fl_Widget *w);
|
||||
void cbWaterfallFontBrowser(Fl_Widget*, void*);
|
||||
void cbViewerFontBrowser(Fl_Widget*, void*);
|
||||
|
|
@ -313,6 +313,8 @@ extern Fl_Check_Button *btnRSTdefault;
|
|||
extern Fl_Input2 *inpMyPower;
|
||||
extern Fl_Check_Button *btnDisplayLogbookRead;
|
||||
extern Fl_Check_Button *btn_log_power_meter;
|
||||
extern Fl_Counter *pwr_set_size;
|
||||
extern Fl_Check_Button *btn_use_average_power;
|
||||
extern Fl_Counter *cntSoftStart;
|
||||
extern Fl_Check_Button *btn_softPSK;
|
||||
extern Fl_Check_Button *btn_softMFSK;
|
||||
|
|
|
|||
|
|
@ -1868,6 +1868,12 @@
|
|||
ELEM_(bool, log_power_meter, "LOG_POWER_METER", \
|
||||
"Use power meter reading for logged TX power", \
|
||||
true) \
|
||||
ELEM_(bool, report_average_power, "REPORT_AVERAGE_POWER", \
|
||||
"true - report average power, false - report peak power", \
|
||||
true) \
|
||||
ELEM_(int, pwr_set_size, "PWR_SET_SIZE", \
|
||||
"number of power samples over which to computer peak/average, max 50", \
|
||||
20) \
|
||||
ELEM_(std::string, my_FD_call, "FD_CALL", \
|
||||
"Field Day call sign", \
|
||||
"") \
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#ifndef debug_dialog_h
|
||||
#define debug_dialog_h
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#ifndef dx_dialog_h
|
||||
#define dx_dialog_h
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#ifndef fd_view_h
|
||||
#define fd_view_h
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#ifndef lgbook_h
|
||||
#define lgbook_h
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#ifndef notifydialog_h
|
||||
#define notifydialog_h
|
||||
|
|
|
|||
|
|
@ -46,7 +46,8 @@ enum {P25, P50, P100, P200, AUTO};
|
|||
|
||||
private:
|
||||
double value_, peak_, peaks_[NPEAKS],
|
||||
maximum_;
|
||||
maximum_, avg_;
|
||||
int npeaks;
|
||||
int ppeak;
|
||||
int sval; // Size of sval bar...
|
||||
int bx, by, bw, bh; // Box areas...
|
||||
|
|
@ -74,17 +75,30 @@ public:
|
|||
|
||||
void value(double v) {
|
||||
value_ = v;
|
||||
if (ppeak++ > 9) ppeak = 0;
|
||||
if (ppeak++ > npeaks) ppeak = 0;
|
||||
peaks_[ppeak] = value_;
|
||||
peak_ = 0;
|
||||
for (int n = 0; n < NPEAKS; n++) {
|
||||
avg_ = 0;
|
||||
for (int n = 0; n < npeaks; n++) {
|
||||
if (peaks_[n] > peak_)
|
||||
peak_ = peaks_[n];
|
||||
avg_ += v;
|
||||
}
|
||||
// redraw();
|
||||
avg_ /= npeaks;
|
||||
}
|
||||
|
||||
double value() const { return (value_); }
|
||||
double peak() const { return (peak_); }
|
||||
double average() const { return (avg_); }
|
||||
|
||||
void set_npeaks(int nbr) {
|
||||
if (nbr < 1) nbr = 1;
|
||||
if (nbr > NPEAKS) nbr = NPEAKS;
|
||||
npeaks = nbr;
|
||||
for (int n = 0; n < npeaks; n++) peaks_[n] = 0;
|
||||
avg_ = 0.0;
|
||||
peak_ = 0.0;
|
||||
}
|
||||
|
||||
void resize(int x, int y, int w, int h);
|
||||
int handle(int);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#ifndef record_browse_h
|
||||
#define record_browse_h
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#ifndef rxmon_h
|
||||
#define rxmon_h
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#ifndef testsigs_h
|
||||
#define testsigs_h
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0310
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0403
|
||||
|
||||
#include "gettext.h"
|
||||
#include "fd_view.h"
|
||||
#include "gettext.h"
|
||||
#ifndef gettext_noop
|
||||
# define gettext_noop(text) text
|
||||
#endif
|
||||
#include "configuration.h"
|
||||
|
||||
Fl_Output *view_FD_call=(Fl_Output *)0;
|
||||
|
|
@ -30,59 +33,59 @@ Fl_Input2 *inp_fd_tcpip_addr=(Fl_Input2 *)0;
|
|||
|
||||
static void cb_inp_fd_tcpip_addr(Fl_Input2* o, void*) {
|
||||
progdefaults.fd_tcpip_addr=o->value();
|
||||
progdefaults.changed = true;
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
Fl_Input2 *inp_fd_tcpip_port=(Fl_Input2 *)0;
|
||||
|
||||
static void cb_inp_fd_tcpip_port(Fl_Input2* o, void*) {
|
||||
progdefaults.fd_tcpip_port=o->value();
|
||||
progdefaults.changed = true;
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
Fl_Input2 *inp_fd_op_call=(Fl_Input2 *)0;
|
||||
|
||||
static void cb_inp_fd_op_call(Fl_Input2* o, void*) {
|
||||
progdefaults.fd_op_call=o->value();
|
||||
progdefaults.changed = true;
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
Fl_Check_Button *btn_fd_connect=(Fl_Check_Button *)0;
|
||||
|
||||
static void cb_btn_fd_connect(Fl_Check_Button* o, void*) {
|
||||
progdefaults.connect_to_fdserver=o->value();
|
||||
if (progdefaults.connect_to_fdserver) {
|
||||
listbox_contest->index(LOG_FD);
|
||||
progdefaults.logging = LOG_FD;
|
||||
} else {
|
||||
listbox_contest->index(LOG_QSO);
|
||||
progdefaults.logging = LOG_QSO;
|
||||
}
|
||||
UI_select();
|
||||
if (progdefaults.connect_to_fdserver) {
|
||||
listbox_contest->index(LOG_FD);
|
||||
progdefaults.logging = LOG_FD;
|
||||
} else {
|
||||
listbox_contest->index(LOG_QSO);
|
||||
progdefaults.logging = LOG_QSO;
|
||||
}
|
||||
UI_select();
|
||||
}
|
||||
|
||||
Fl_Box *box_fdserver_connected=(Fl_Box *)0;
|
||||
|
||||
Fl_Double_Window* make_fd_view() {
|
||||
Fl_Double_Window* w;
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(670, 270, _("Field Day Viewer - use with program \'fdserver\'"));
|
||||
w = o; if (w) {/* empty */}
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(670, 270, gettext("Field Day Viewer - use with program \'fdserver\'"));
|
||||
w = o; (void)w;
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
{ Fl_Output* o = view_FD_call = new Fl_Output(59, 6, 77, 24, _("FD Call"));
|
||||
{ Fl_Output* o = view_FD_call = new Fl_Output(59, 6, 77, 24, gettext("FD Call"));
|
||||
o->value(progdefaults.my_FD_call.c_str());
|
||||
} // Fl_Output* view_FD_call
|
||||
{ Fl_Output* o = view_FD_class = new Fl_Output(219, 5, 38, 24, _("FD Class"));
|
||||
{ Fl_Output* o = view_FD_class = new Fl_Output(219, 5, 38, 24, gettext("FD Class"));
|
||||
o->value(progdefaults.my_FD_class.c_str());
|
||||
} // Fl_Output* view_FD_class
|
||||
{ Fl_Output* o = view_FD_section = new Fl_Output(341, 5, 38, 24, _("FD Section"));
|
||||
{ Fl_Output* o = view_FD_section = new Fl_Output(341, 5, 38, 24, gettext("FD Section"));
|
||||
o->value(progdefaults.my_FD_section.c_str());
|
||||
} // Fl_Output* view_FD_section
|
||||
{ Fl_Output* o = view_FD_mult = new Fl_Output(462, 5, 38, 24, _("FD Mult"));
|
||||
{ Fl_Output* o = view_FD_mult = new Fl_Output(462, 5, 38, 24, gettext("FD Mult"));
|
||||
o->value(progdefaults.my_FD_mult.c_str());
|
||||
} // Fl_Output* view_FD_mult
|
||||
{ view_FD_score = new Fl_Output(584, 5, 80, 24, _("Score"));
|
||||
{ view_FD_score = new Fl_Output(584, 5, 80, 24, gettext("Score"));
|
||||
} // Fl_Output* view_FD_score
|
||||
{ view_FD_CW[0] = new Fl_Output(55, 49, 50, 24, _("CW"));
|
||||
{ view_FD_CW[0] = new Fl_Output(55, 49, 50, 24, gettext("CW"));
|
||||
view_FD_CW[0]->textfont(4);
|
||||
view_FD_CW[0]->textsize(12);
|
||||
} // Fl_Output* view_FD_CW[0]
|
||||
|
|
@ -141,7 +144,7 @@ Fl_Double_Window* make_fd_view() {
|
|||
view_FD_CW[11]->textsize(12);
|
||||
view_FD_CW[11]->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
} // Fl_Output* view_FD_CW[11]
|
||||
{ view_FD_CW_OP[0] = new Fl_Output(55, 75, 50, 24, _("Oper\'"));
|
||||
{ view_FD_CW_OP[0] = new Fl_Output(55, 75, 50, 24, gettext("Oper\'"));
|
||||
view_FD_CW_OP[0]->textfont(4);
|
||||
view_FD_CW_OP[0]->textsize(12);
|
||||
} // Fl_Output* view_FD_CW_OP[0]
|
||||
|
|
@ -200,7 +203,7 @@ Fl_Double_Window* make_fd_view() {
|
|||
view_FD_CW_OP[11]->textsize(12);
|
||||
view_FD_CW_OP[11]->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
} // Fl_Output* view_FD_CW_OP[11]
|
||||
{ view_FD_DIG[0] = new Fl_Output(55, 102, 50, 24, _("DIG"));
|
||||
{ view_FD_DIG[0] = new Fl_Output(55, 102, 50, 24, gettext("DIG"));
|
||||
view_FD_DIG[0]->textfont(4);
|
||||
view_FD_DIG[0]->textsize(12);
|
||||
} // Fl_Output* view_FD_DIG[0]
|
||||
|
|
@ -259,7 +262,7 @@ Fl_Double_Window* make_fd_view() {
|
|||
view_FD_DIG[11]->textsize(12);
|
||||
view_FD_DIG[11]->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
} // Fl_Output* view_FD_DIG[11]
|
||||
{ view_FD_DIG_OP[0] = new Fl_Output(55, 129, 50, 24, _("Oper\'"));
|
||||
{ view_FD_DIG_OP[0] = new Fl_Output(55, 129, 50, 24, gettext("Oper\'"));
|
||||
view_FD_DIG_OP[0]->textfont(4);
|
||||
view_FD_DIG_OP[0]->textsize(12);
|
||||
} // Fl_Output* view_FD_DIG_OP[0]
|
||||
|
|
@ -318,7 +321,7 @@ Fl_Double_Window* make_fd_view() {
|
|||
view_FD_DIG_OP[11]->textsize(12);
|
||||
view_FD_DIG_OP[11]->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
} // Fl_Output* view_FD_DIG_OP[11]
|
||||
{ view_FD_PHONE[0] = new Fl_Output(55, 156, 50, 24, _("PHONE"));
|
||||
{ view_FD_PHONE[0] = new Fl_Output(55, 156, 50, 24, gettext("PHONE"));
|
||||
view_FD_PHONE[0]->textfont(4);
|
||||
view_FD_PHONE[0]->textsize(12);
|
||||
} // Fl_Output* view_FD_PHONE[0]
|
||||
|
|
@ -377,7 +380,7 @@ Fl_Double_Window* make_fd_view() {
|
|||
view_FD_PHONE[11]->textsize(12);
|
||||
view_FD_PHONE[11]->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
} // Fl_Output* view_FD_PHONE[11]
|
||||
{ view_FD_PHONE_OP[0] = new Fl_Output(55, 183, 50, 24, _("Oper\'"));
|
||||
{ view_FD_PHONE_OP[0] = new Fl_Output(55, 183, 50, 24, gettext("Oper\'"));
|
||||
view_FD_PHONE_OP[0]->textfont(4);
|
||||
view_FD_PHONE_OP[0]->textsize(12);
|
||||
} // Fl_Output* view_FD_PHONE_OP[0]
|
||||
|
|
@ -436,47 +439,47 @@ Fl_Double_Window* make_fd_view() {
|
|||
view_FD_PHONE_OP[11]->textsize(12);
|
||||
view_FD_PHONE_OP[11]->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
} // Fl_Output* view_FD_PHONE_OP[11]
|
||||
{ Fl_Box* o = new Fl_Box(60, 33, 40, 17, _("160"));
|
||||
{ Fl_Box* o = new Fl_Box(60, 33, 40, 17, gettext("160"));
|
||||
o->box(FL_FLAT_BOX);
|
||||
} // Fl_Box* o
|
||||
{ Fl_Box* o = new Fl_Box(111, 33, 40, 17, _("80"));
|
||||
{ Fl_Box* o = new Fl_Box(111, 33, 40, 17, gettext("80"));
|
||||
o->box(FL_FLAT_BOX);
|
||||
} // Fl_Box* o
|
||||
{ Fl_Box* o = new Fl_Box(161, 33, 40, 17, _("40"));
|
||||
{ Fl_Box* o = new Fl_Box(161, 33, 40, 17, gettext("40"));
|
||||
o->box(FL_FLAT_BOX);
|
||||
} // Fl_Box* o
|
||||
{ Fl_Box* o = new Fl_Box(212, 33, 40, 17, _("20"));
|
||||
{ Fl_Box* o = new Fl_Box(212, 33, 40, 17, gettext("20"));
|
||||
o->box(FL_FLAT_BOX);
|
||||
} // Fl_Box* o
|
||||
{ Fl_Box* o = new Fl_Box(263, 33, 40, 17, _("17"));
|
||||
{ Fl_Box* o = new Fl_Box(263, 33, 40, 17, gettext("17"));
|
||||
o->box(FL_FLAT_BOX);
|
||||
} // Fl_Box* o
|
||||
{ Fl_Box* o = new Fl_Box(314, 33, 40, 17, _("15"));
|
||||
{ Fl_Box* o = new Fl_Box(314, 33, 40, 17, gettext("15"));
|
||||
o->box(FL_FLAT_BOX);
|
||||
} // Fl_Box* o
|
||||
{ Fl_Box* o = new Fl_Box(365, 33, 40, 17, _("12"));
|
||||
{ Fl_Box* o = new Fl_Box(365, 33, 40, 17, gettext("12"));
|
||||
o->box(FL_FLAT_BOX);
|
||||
} // Fl_Box* o
|
||||
{ Fl_Box* o = new Fl_Box(416, 33, 40, 17, _("10"));
|
||||
{ Fl_Box* o = new Fl_Box(416, 33, 40, 17, gettext("10"));
|
||||
o->box(FL_FLAT_BOX);
|
||||
} // Fl_Box* o
|
||||
{ Fl_Box* o = new Fl_Box(467, 33, 40, 17, _("6"));
|
||||
{ Fl_Box* o = new Fl_Box(467, 33, 40, 17, gettext("6"));
|
||||
o->box(FL_FLAT_BOX);
|
||||
} // Fl_Box* o
|
||||
{ Fl_Box* o = new Fl_Box(518, 33, 40, 17, _("2"));
|
||||
{ Fl_Box* o = new Fl_Box(518, 33, 40, 17, gettext("2"));
|
||||
o->box(FL_FLAT_BOX);
|
||||
} // Fl_Box* o
|
||||
{ Fl_Box* o = new Fl_Box(569, 33, 40, 17, _("220"));
|
||||
{ Fl_Box* o = new Fl_Box(569, 33, 40, 17, gettext("220"));
|
||||
o->box(FL_FLAT_BOX);
|
||||
} // Fl_Box* o
|
||||
{ Fl_Box* o = new Fl_Box(620, 33, 40, 17, _("440"));
|
||||
{ Fl_Box* o = new Fl_Box(620, 33, 40, 17, gettext("440"));
|
||||
o->box(FL_FLAT_BOX);
|
||||
} // Fl_Box* o
|
||||
{ Fl_Group* o = new Fl_Group(5, 212, 660, 55, _("\"fdserver\" Client"));
|
||||
{ Fl_Group* o = new Fl_Group(5, 212, 660, 55, gettext("\"fdserver\" Client"));
|
||||
o->box(FL_ENGRAVED_BOX);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
{ Fl_Input2* o = inp_fd_tcpip_addr = new Fl_Input2(85, 234, 150, 24, _("tcpip addr"));
|
||||
inp_fd_tcpip_addr->tooltip(_("fdserver tcipip address"));
|
||||
{ Fl_Input2* o = inp_fd_tcpip_addr = new Fl_Input2(85, 234, 150, 24, gettext("tcpip addr"));
|
||||
inp_fd_tcpip_addr->tooltip(gettext("fdserver tcipip address"));
|
||||
inp_fd_tcpip_addr->box(FL_DOWN_BOX);
|
||||
inp_fd_tcpip_addr->color(FL_BACKGROUND2_COLOR);
|
||||
inp_fd_tcpip_addr->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -489,8 +492,8 @@ Fl_Double_Window* make_fd_view() {
|
|||
inp_fd_tcpip_addr->when(FL_WHEN_RELEASE);
|
||||
o->value(progdefaults.fd_tcpip_addr.c_str());
|
||||
} // Fl_Input2* inp_fd_tcpip_addr
|
||||
{ Fl_Input2* o = inp_fd_tcpip_port = new Fl_Input2(273, 234, 75, 24, _("port"));
|
||||
inp_fd_tcpip_port->tooltip(_("fdserver tcpip port"));
|
||||
{ Fl_Input2* o = inp_fd_tcpip_port = new Fl_Input2(273, 234, 75, 24, gettext("port"));
|
||||
inp_fd_tcpip_port->tooltip(gettext("fdserver tcpip port"));
|
||||
inp_fd_tcpip_port->box(FL_DOWN_BOX);
|
||||
inp_fd_tcpip_port->color(FL_BACKGROUND2_COLOR);
|
||||
inp_fd_tcpip_port->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -503,8 +506,8 @@ Fl_Double_Window* make_fd_view() {
|
|||
inp_fd_tcpip_port->when(FL_WHEN_RELEASE);
|
||||
o->value(progdefaults.fd_tcpip_port.c_str());
|
||||
} // Fl_Input2* inp_fd_tcpip_port
|
||||
{ Fl_Input2* o = inp_fd_op_call = new Fl_Input2(402, 234, 90, 24, _("OP call"));
|
||||
inp_fd_op_call->tooltip(_("free form exchange"));
|
||||
{ Fl_Input2* o = inp_fd_op_call = new Fl_Input2(402, 234, 90, 24, gettext("OP call"));
|
||||
inp_fd_op_call->tooltip(gettext("free form exchange"));
|
||||
inp_fd_op_call->box(FL_DOWN_BOX);
|
||||
inp_fd_op_call->color(FL_BACKGROUND2_COLOR);
|
||||
inp_fd_op_call->selection_color(FL_SELECTION_COLOR);
|
||||
|
|
@ -517,13 +520,13 @@ Fl_Double_Window* make_fd_view() {
|
|||
inp_fd_op_call->when(FL_WHEN_RELEASE);
|
||||
o->value(progdefaults.fd_op_call.c_str());
|
||||
} // Fl_Input2* inp_fd_op_call
|
||||
{ Fl_Check_Button* o = btn_fd_connect = new Fl_Check_Button(502, 236, 70, 20, _("Connect"));
|
||||
btn_fd_connect->tooltip(_("Connect / Disconnect^jAddr/Port/OP required"));
|
||||
{ Fl_Check_Button* o = btn_fd_connect = new Fl_Check_Button(502, 236, 70, 20, gettext("Connect"));
|
||||
btn_fd_connect->tooltip(gettext("Connect / Disconnect^jAddr/Port/OP required"));
|
||||
btn_fd_connect->down_box(FL_DOWN_BOX);
|
||||
btn_fd_connect->callback((Fl_Callback*)cb_btn_fd_connect);
|
||||
o->value(progdefaults.connect_to_fdserver);
|
||||
} // Fl_Check_Button* btn_fd_connect
|
||||
{ box_fdserver_connected = new Fl_Box(608, 237, 18, 18, _("Connected"));
|
||||
{ box_fdserver_connected = new Fl_Box(608, 237, 18, 18, gettext("Connected"));
|
||||
box_fdserver_connected->box(FL_ROUND_DOWN_BOX);
|
||||
box_fdserver_connected->color((Fl_Color)31);
|
||||
box_fdserver_connected->align(Fl_Align(FL_ALIGN_TOP));
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -1906,7 +1906,8 @@ const char *log_power()
|
|||
static std::string stemp;
|
||||
if (progdefaults.log_power_meter) {
|
||||
static char sval[20];
|
||||
snprintf(sval, sizeof(sval), "%3.0f", pwrmeter->peak());
|
||||
snprintf(sval, sizeof(sval), "%3.0f",
|
||||
progdefaults.report_average_power ? pwrmeter->average() : pwrmeter->peak());
|
||||
stemp = sval;
|
||||
strtrim(stemp);
|
||||
} else
|
||||
|
|
|
|||
|
|
@ -155,7 +155,9 @@ PWRmeter::PWRmeter(int X, int Y, int W, int H, const char* l)
|
|||
maximum_ = 100.0;
|
||||
value_ = 0.0;
|
||||
peak_ = 0.0;
|
||||
avg_ = 0.0;
|
||||
ppeak = 0;
|
||||
npeaks = NPEAKS;
|
||||
for (int n = 0; n < NPEAKS; n++) peaks_[n] = 0.0;
|
||||
|
||||
select_ = 2; // 100 W scale
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue