kopia lustrzana https://github.com/jamescoxon/dl-fldigi
FLTK-1.1.x
* Added code to allow source reversion to use Fltk-1.1.10 lib * Needed by users who either cannot or prefer not to update their Linux distributions to the current model. * The new UTF-8 capability is not available when compiled against Fltk-1.1.10pull/1/head
rodzic
7bd9355e01
commit
a2393632e9
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0300
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0110
|
||||
|
||||
#include "gettext.h"
|
||||
#include "colorsfonts.h"
|
||||
|
@ -11,15 +11,15 @@
|
|||
|
||||
void selectColorsFonts() {
|
||||
if (!dlgColorFont)
|
||||
make_colorsfonts();
|
||||
dlgColorFont->show();
|
||||
make_colorsfonts();
|
||||
dlgColorFont->show();
|
||||
}
|
||||
|
||||
static void choose_color(Fl_Color & c) {
|
||||
unsigned char r, g, b;
|
||||
Fl::get_color(c, r, g, b);
|
||||
if (fl_color_chooser("Font color", r, g, b))
|
||||
c = fl_rgb_color(r, g, b);
|
||||
Fl::get_color(c, r, g, b);
|
||||
if (fl_color_chooser("Font color", r, g, b))
|
||||
c = fl_rgb_color(r, g, b);
|
||||
}
|
||||
|
||||
static void adjust_label(Fl_Widget* w) {
|
||||
|
@ -28,127 +28,127 @@ static void adjust_label(Fl_Widget* w) {
|
|||
|
||||
static void cbRxFontBrowser(Fl_Widget*, void*) {
|
||||
Fl_Font font = font_browser->fontNumber();
|
||||
int size = font_browser->fontSize();
|
||||
Fl_Color color = font_browser->fontColor();
|
||||
|
||||
RxText->textfont(font);
|
||||
RxText->textsize(size);
|
||||
RxText->textcolor(color);
|
||||
RxText->redraw();
|
||||
|
||||
progdefaults.RxFontnbr = font;
|
||||
progdefaults.RxFontsize = size;
|
||||
progdefaults.RxFontcolor = color;
|
||||
|
||||
ReceiveText->setFont(font);
|
||||
ReceiveText->setFontSize(size);
|
||||
ReceiveText->setFontColor(progdefaults.RxFontcolor, FTextBase::RECV);
|
||||
|
||||
font_browser->hide();
|
||||
|
||||
progdefaults.changed = true;
|
||||
int size = font_browser->fontSize();
|
||||
Fl_Color color = font_browser->fontColor();
|
||||
|
||||
RxText->textfont(font);
|
||||
RxText->textsize(size);
|
||||
RxText->textcolor(color);
|
||||
RxText->redraw();
|
||||
|
||||
progdefaults.RxFontnbr = font;
|
||||
progdefaults.RxFontsize = size;
|
||||
progdefaults.RxFontcolor = color;
|
||||
|
||||
ReceiveText->setFont(font);
|
||||
ReceiveText->setFontSize(size);
|
||||
ReceiveText->setFontColor(progdefaults.RxFontcolor, FTextBase::RECV);
|
||||
|
||||
font_browser->hide();
|
||||
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
static void cbTxFontBrowser(Fl_Widget*, void*) {
|
||||
Fl_Font font = font_browser->fontNumber();
|
||||
int size = font_browser->fontSize();
|
||||
Fl_Color color = font_browser->fontColor();
|
||||
|
||||
TxText->textfont(font);
|
||||
TxText->textsize(size);
|
||||
TxText->textcolor(color);
|
||||
TxText->redraw();
|
||||
|
||||
progdefaults.TxFontnbr = font;
|
||||
progdefaults.TxFontsize = size;
|
||||
progdefaults.TxFontcolor = color;
|
||||
|
||||
TransmitText->setFont(font);
|
||||
TransmitText->setFontSize(size);
|
||||
TransmitText->setFontColor(progdefaults.TxFontcolor, FTextBase::RECV);
|
||||
|
||||
font_browser->hide();
|
||||
|
||||
progdefaults.changed = true;
|
||||
int size = font_browser->fontSize();
|
||||
Fl_Color color = font_browser->fontColor();
|
||||
|
||||
TxText->textfont(font);
|
||||
TxText->textsize(size);
|
||||
TxText->textcolor(color);
|
||||
TxText->redraw();
|
||||
|
||||
progdefaults.TxFontnbr = font;
|
||||
progdefaults.TxFontsize = size;
|
||||
progdefaults.TxFontcolor = color;
|
||||
|
||||
TransmitText->setFont(font);
|
||||
TransmitText->setFontSize(size);
|
||||
TransmitText->setFontColor(progdefaults.TxFontcolor, FTextBase::RECV);
|
||||
|
||||
font_browser->hide();
|
||||
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
void cbWaterfallFontBrowser(Fl_Widget*, void*) {
|
||||
Fl_Font fnt = font_browser->fontNumber();
|
||||
int size = font_browser->fontSize();
|
||||
|
||||
progdefaults.WaterfallFontnbr = fnt;
|
||||
progdefaults.WaterfallFontsize = size;
|
||||
progdefaults.changed = true;
|
||||
|
||||
font_browser->hide();
|
||||
int size = font_browser->fontSize();
|
||||
|
||||
progdefaults.WaterfallFontnbr = fnt;
|
||||
progdefaults.WaterfallFontsize = size;
|
||||
progdefaults.changed = true;
|
||||
|
||||
font_browser->hide();
|
||||
}
|
||||
|
||||
void cbViewerFontBrowser(Fl_Widget*, void*) {
|
||||
progdefaults.ViewerFontnbr = font_browser->fontNumber();
|
||||
progdefaults.ViewerFontsize = font_browser->fontSize();
|
||||
initViewer();
|
||||
progdefaults.changed = true;
|
||||
|
||||
font_browser->hide();
|
||||
progdefaults.ViewerFontsize = font_browser->fontSize();
|
||||
initViewer();
|
||||
progdefaults.changed = true;
|
||||
|
||||
font_browser->hide();
|
||||
}
|
||||
|
||||
void cbFreqControlFontBrowser(Fl_Widget*, void*) {
|
||||
Fl_Font fnt = font_browser->fontNumber();
|
||||
progdefaults.FreqControlFontnbr = fnt;
|
||||
progdefaults.changed = true;
|
||||
|
||||
FDdisplay->labelfont(progdefaults.FreqControlFontnbr);
|
||||
FDdisplay->redraw();
|
||||
qsoFreqDisp1->font(progdefaults.FreqControlFontnbr);
|
||||
qsoFreqDisp2->font(progdefaults.FreqControlFontnbr);
|
||||
qsoFreqDisp3->font(progdefaults.FreqControlFontnbr);
|
||||
qsoFreqDisp1->redraw();
|
||||
qsoFreqDisp2->redraw();
|
||||
qsoFreqDisp3->redraw();
|
||||
|
||||
font_browser->hide();
|
||||
progdefaults.FreqControlFontnbr = fnt;
|
||||
progdefaults.changed = true;
|
||||
|
||||
FDdisplay->labelfont(progdefaults.FreqControlFontnbr);
|
||||
FDdisplay->redraw();
|
||||
qsoFreqDisp1->font(progdefaults.FreqControlFontnbr);
|
||||
qsoFreqDisp2->font(progdefaults.FreqControlFontnbr);
|
||||
qsoFreqDisp3->font(progdefaults.FreqControlFontnbr);
|
||||
qsoFreqDisp1->redraw();
|
||||
qsoFreqDisp2->redraw();
|
||||
qsoFreqDisp3->redraw();
|
||||
|
||||
font_browser->hide();
|
||||
}
|
||||
|
||||
static void cbLOGGINGFontBrowser(Fl_Widget*, void*) {
|
||||
Fl_Font font = font_browser->fontNumber();
|
||||
int size = font_browser->fontSize();
|
||||
Fl_Color color = font_browser->fontColor();
|
||||
|
||||
progdefaults.LOGGINGtextfont = font;
|
||||
progdefaults.LOGGINGtextsize = size;
|
||||
progdefaults.LOGGINGtextcolor = color;
|
||||
|
||||
LOGGINGdisplay->textsize(size);
|
||||
LOGGINGdisplay->textcolor(color);
|
||||
LOGGINGdisplay->textfont(font);
|
||||
LOGGINGdisplay->redraw();
|
||||
|
||||
LOGGING_colors_font();
|
||||
|
||||
font_browser->hide();
|
||||
|
||||
progdefaults.changed = true;
|
||||
int size = font_browser->fontSize();
|
||||
Fl_Color color = font_browser->fontColor();
|
||||
|
||||
progdefaults.LOGGINGtextfont = font;
|
||||
progdefaults.LOGGINGtextsize = size;
|
||||
progdefaults.LOGGINGtextcolor = color;
|
||||
|
||||
LOGGINGdisplay->textsize(size);
|
||||
LOGGINGdisplay->textcolor(color);
|
||||
LOGGINGdisplay->textfont(font);
|
||||
LOGGINGdisplay->redraw();
|
||||
|
||||
LOGGING_colors_font();
|
||||
|
||||
font_browser->hide();
|
||||
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
static void cbLOGBOOKFontBrowser(Fl_Widget*, void*) {
|
||||
Fl_Font font = font_browser->fontNumber();
|
||||
int size = font_browser->fontSize();
|
||||
Fl_Color color = font_browser->fontColor();
|
||||
|
||||
progdefaults.LOGBOOKtextfont = font;
|
||||
progdefaults.LOGBOOKtextsize = size;
|
||||
progdefaults.LOGBOOKtextcolor = color;
|
||||
|
||||
LOGBOOKdisplay->textsize(size);
|
||||
LOGBOOKdisplay->textcolor(color);
|
||||
LOGBOOKdisplay->textfont(font);
|
||||
LOGBOOKdisplay->redraw();
|
||||
|
||||
LOGBOOK_colors_font();
|
||||
|
||||
font_browser->hide();
|
||||
|
||||
progdefaults.changed = true;
|
||||
int size = font_browser->fontSize();
|
||||
Fl_Color color = font_browser->fontColor();
|
||||
|
||||
progdefaults.LOGBOOKtextfont = font;
|
||||
progdefaults.LOGBOOKtextsize = size;
|
||||
progdefaults.LOGBOOKtextcolor = color;
|
||||
|
||||
LOGBOOKdisplay->textsize(size);
|
||||
LOGBOOKdisplay->textcolor(color);
|
||||
LOGBOOKdisplay->textfont(font);
|
||||
LOGBOOKdisplay->redraw();
|
||||
|
||||
LOGBOOK_colors_font();
|
||||
|
||||
font_browser->hide();
|
||||
|
||||
progdefaults.changed = true;
|
||||
}
|
||||
|
||||
Fl_Double_Window *dlgColorFont=(Fl_Double_Window *)0;
|
||||
|
@ -960,6 +960,8 @@ progdefaults.changed = true;
|
|||
|
||||
Fl_Menu_Button *CHARSETstatus=(Fl_Menu_Button *)0;
|
||||
|
||||
Fl_Box *CHARSETlabel=(Fl_Box *)0;
|
||||
|
||||
Fl_Double_Window* make_colorsfonts() {
|
||||
font_browser = new Font_Browser;
|
||||
{ dlgColorFont = new Fl_Double_Window(375, 220, _("Colors and Fonts"));
|
||||
|
@ -1059,31 +1061,31 @@ Fl_Double_Window* make_colorsfonts() {
|
|||
{ btnXMIT = new Fl_Button(5, 134, 40, 21, _("XMIT"));
|
||||
btnXMIT->tooltip(_("Sent chars in Rx/Tx pane"));
|
||||
btnXMIT->callback((Fl_Callback*)cb_btnXMIT);
|
||||
btnXMIT->align(Fl_Align(FL_ALIGN_BOTTOM));
|
||||
btnXMIT->align(FL_ALIGN_BOTTOM);
|
||||
btnXMIT->color(progdefaults.XMITcolor);
|
||||
} // Fl_Button* btnXMIT
|
||||
{ btnCTRL = new Fl_Button(48, 134, 40, 21, _("CTRL"));
|
||||
btnCTRL->tooltip(_("Control chars in Rx/Tx pane"));
|
||||
btnCTRL->callback((Fl_Callback*)cb_btnCTRL);
|
||||
btnCTRL->align(Fl_Align(FL_ALIGN_BOTTOM));
|
||||
btnCTRL->align(FL_ALIGN_BOTTOM);
|
||||
btnCTRL->color(progdefaults.CTRLcolor);
|
||||
} // Fl_Button* btnCTRL
|
||||
{ btnSKIP = new Fl_Button(92, 134, 40, 21, _("SKIP"));
|
||||
btnSKIP->tooltip(_("Skipped chars in Tx pane\n(Tx on/off in CW)"));
|
||||
btnSKIP->callback((Fl_Callback*)cb_btnSKIP);
|
||||
btnSKIP->align(Fl_Align(FL_ALIGN_BOTTOM));
|
||||
btnSKIP->align(FL_ALIGN_BOTTOM);
|
||||
btnSKIP->color(progdefaults.SKIPcolor);
|
||||
} // Fl_Button* btnSKIP
|
||||
{ btnALTR = new Fl_Button(135, 134, 40, 21, _("ALTR"));
|
||||
btnALTR->tooltip(_("Alternate character color in Rx panelr"));
|
||||
btnALTR->callback((Fl_Callback*)cb_btnALTR);
|
||||
btnALTR->align(Fl_Align(FL_ALIGN_BOTTOM));
|
||||
btnALTR->align(FL_ALIGN_BOTTOM);
|
||||
btnALTR->color(progdefaults.ALTRcolor);
|
||||
} // Fl_Button* btnALTR
|
||||
{ btnSEL = new Fl_Button(179, 134, 39, 21, _("SEL"));
|
||||
btnSEL->tooltip(_("Selection background color in Rx Tx panels"));
|
||||
btnSEL->callback((Fl_Callback*)cb_btnSEL);
|
||||
btnSEL->align(Fl_Align(FL_ALIGN_BOTTOM));
|
||||
btnSEL->align(FL_ALIGN_BOTTOM);
|
||||
btnSEL->color(progdefaults.RxTxSelectcolor);
|
||||
} // Fl_Button* btnSEL
|
||||
{ btnNoTextColor = new Fl_Button(226, 134, 70, 21, _("System"));
|
||||
|
@ -1180,7 +1182,7 @@ Fl_Double_Window* make_colorsfonts() {
|
|||
o->color(progdefaults.Sql2Color);
|
||||
} // Fl_Box* sql2color
|
||||
{ Fl_Box* o = new Fl_Box(140, 159, 220, 20, _("Lighted button enabled colors"));
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
|
||||
} // Fl_Box* o
|
||||
o->end();
|
||||
} // Fl_Group* o
|
||||
|
@ -1191,7 +1193,7 @@ Fl_Double_Window* make_colorsfonts() {
|
|||
} // Fl_Button* btnLowSignal
|
||||
{ Fl_Box* o = lowcolor = new Fl_Box(81, 73, 21, 21);
|
||||
lowcolor->box(FL_DIAMOND_DOWN_BOX);
|
||||
lowcolor->color(FL_FOREGROUND_COLOR);
|
||||
lowcolor->color((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
o->color(progdefaults.LowSignal);
|
||||
} // Fl_Box* lowcolor
|
||||
{ btnHighSignal = new Fl_Button(102, 111, 70, 21, _("High"));
|
||||
|
@ -1226,7 +1228,7 @@ Fl_Double_Window* make_colorsfonts() {
|
|||
o->hide();
|
||||
{ Fl_Group* o = new Fl_Group(1, 33, 372, 65, _("Logging Panel Controls"));
|
||||
o->box(FL_ENGRAVED_FRAME);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
|
||||
{ Fl_Output* o = LOGGINGdisplay = new Fl_Output(19, 57, 98, 25);
|
||||
o->textfont(progdefaults.LOGGINGtextfont);o->textsize(progdefaults.LOGGINGtextsize);o->textcolor(progdefaults.LOGGINGtextcolor);
|
||||
o->color(progdefaults.LOGGINGcolor);
|
||||
|
@ -1246,7 +1248,7 @@ Fl_Double_Window* make_colorsfonts() {
|
|||
} // Fl_Group* o
|
||||
{ Fl_Group* o = new Fl_Group(3, 108, 370, 65, _("Logbook Dialog"));
|
||||
o->box(FL_ENGRAVED_FRAME);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
|
||||
{ Fl_Output* o = LOGBOOKdisplay = new Fl_Output(19, 132, 98, 25);
|
||||
o->textfont(progdefaults.LOGGINGtextfont);o->textsize(progdefaults.LOGGINGtextsize);o->textcolor(progdefaults.LOGBOOKtextcolor);
|
||||
o->color(progdefaults.LOGBOOKcolor);
|
||||
|
@ -1271,11 +1273,11 @@ Fl_Double_Window* make_colorsfonts() {
|
|||
{ CHARSETstatus = new Fl_Menu_Button(3, 192, 120, 24, _("Char set"));
|
||||
CHARSETstatus->tooltip(_("Select Rx/Tx Character Set"));
|
||||
CHARSETstatus->color((Fl_Color)55);
|
||||
CHARSETstatus->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
CHARSETstatus->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
||||
} // Fl_Menu_Button* CHARSETstatus
|
||||
{ Fl_Box* o = new Fl_Box(125, 192, 125, 25, _("Select Char Set"));
|
||||
o->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
} // Fl_Box* o
|
||||
{ CHARSETlabel = new Fl_Box(125, 192, 125, 25, _("Select Char Set"));
|
||||
CHARSETlabel->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
||||
} // Fl_Box* CHARSETlabel
|
||||
dlgColorFont->xclass(PACKAGE_TARNAME);
|
||||
dlgColorFont->end();
|
||||
} // Fl_Double_Window* dlgColorFont
|
||||
|
|
|
@ -1,30 +1,28 @@
|
|||
# data file for the Fltk User Interface Designer (fluid)
|
||||
version 1.0300
|
||||
version 1.0110
|
||||
i18n_type 1
|
||||
i18n_include "gettext.h"
|
||||
i18n_function _
|
||||
header_name {.h}
|
||||
code_name {.cxx}
|
||||
decl {\#include <config.h>} {private global
|
||||
decl {\#include <config.h>} {global
|
||||
}
|
||||
|
||||
decl {\#include "fl_digi.h"} {private global
|
||||
decl {\#include "fl_digi.h"} {global
|
||||
}
|
||||
|
||||
decl {\#include "configuration.h"} {private global
|
||||
decl {\#include "configuration.h"} {global
|
||||
}
|
||||
|
||||
decl {\#include "Viewer.h"} {private global
|
||||
decl {\#include "Viewer.h"} {global
|
||||
}
|
||||
|
||||
decl {\#include "font_browser.h"} {public global
|
||||
}
|
||||
|
||||
decl {\#include <FL/Fl_Color_Chooser.H>} {private local
|
||||
}
|
||||
decl {\#include <FL/Fl_Color_Chooser.H>} {}
|
||||
|
||||
decl {\#include <FL/fl_show_colormap.H>} {private local
|
||||
}
|
||||
decl {\#include <FL/fl_show_colormap.H>} {}
|
||||
|
||||
Function {selectColorsFonts()} {open return_type void
|
||||
} {
|
||||
|
@ -1075,12 +1073,12 @@ progdefaults.changed = true;}
|
|||
}
|
||||
}
|
||||
Fl_Menu_Button CHARSETstatus {
|
||||
label {Char set} open
|
||||
label {Char set} open selected
|
||||
tooltip {Select Rx/Tx Character Set} xywh {3 192 120 24} color 55 align 20
|
||||
code0 {\#include "fl_digi.h"}
|
||||
} {}
|
||||
Fl_Box {} {
|
||||
label {Select Char Set} selected
|
||||
Fl_Box CHARSETlabel {
|
||||
label {Select Char Set}
|
||||
xywh {125 192 125 25} align 20
|
||||
}
|
||||
}
|
||||
|
|
Plik diff jest za duży
Load Diff
|
@ -1,106 +1,84 @@
|
|||
# data file for the Fltk User Interface Designer (fluid)
|
||||
version 1.0300
|
||||
version 1.0110
|
||||
i18n_type 1
|
||||
i18n_include "gettext.h"
|
||||
i18n_function _
|
||||
header_name {.h}
|
||||
code_name {.cxx}
|
||||
decl {\#include <config.h>} {private local
|
||||
decl {\#include <config.h>} {}
|
||||
|
||||
decl {\#include <FL/Fl_Tooltip.H>} {}
|
||||
|
||||
decl {\#include <FL/Fl_Box.H>} {}
|
||||
|
||||
decl {\#include <FL/filename.H>} {}
|
||||
|
||||
decl {\#include <FL/Fl_File_Chooser.H>} {}
|
||||
|
||||
decl {\#include "main.h"} {}
|
||||
|
||||
decl {\#include "fl_digi.h"} {}
|
||||
|
||||
decl {\#include "soundconf.h"} {}
|
||||
|
||||
decl {\#include "globals.h"} {public
|
||||
}
|
||||
|
||||
decl {\#include <FL/Fl_Tooltip.H>} {private local
|
||||
decl {\#include "modem.h"} {public
|
||||
}
|
||||
|
||||
decl {\#include <FL/Fl_Box.H>} {private local
|
||||
decl {\#include "configuration.h"} {public
|
||||
}
|
||||
|
||||
decl {\#include <FL/filename.H>} {private local
|
||||
decl {\#include "combo.h"} {public
|
||||
}
|
||||
|
||||
decl {\#include <FL/Fl_File_Chooser.H>} {private local
|
||||
decl {\#include "colorsfonts.h"} {}
|
||||
|
||||
decl {\#include "waterfall.h"} {}
|
||||
|
||||
decl {\#include "rigxml.h"} {}
|
||||
|
||||
decl {\#include "lookupcall.h"} {}
|
||||
|
||||
decl {\#include "icons.h"} {}
|
||||
|
||||
decl {\#include "Viewer.h"} {}
|
||||
|
||||
decl {\#include "pskrep.h"} {global
|
||||
}
|
||||
|
||||
decl {\#include "main.h"} {private local
|
||||
decl {\#include "flinput2.h"} {public
|
||||
}
|
||||
|
||||
decl {\#include "fl_digi.h"} {private local
|
||||
decl {\#include "flslider2.h"} {public
|
||||
}
|
||||
|
||||
decl {\#include "soundconf.h"} {private local
|
||||
decl {\#include "flmisc.h"} {public
|
||||
}
|
||||
|
||||
decl {\#include "globals.h"} {public local
|
||||
}
|
||||
decl {\#include "logsupport.h"} {}
|
||||
|
||||
decl {\#include "modem.h"} {public local
|
||||
}
|
||||
decl {\#include "notify.h"} {}
|
||||
|
||||
decl {\#include "configuration.h"} {public local
|
||||
}
|
||||
decl {\#include "debug.h"} {}
|
||||
|
||||
decl {\#include "combo.h"} {public local
|
||||
}
|
||||
decl {\#include "status.h"} {}
|
||||
|
||||
decl {\#include "colorsfonts.h"} {private local
|
||||
}
|
||||
decl {\#include "rx_extract.h"} {}
|
||||
|
||||
decl {\#include "waterfall.h"} {private local
|
||||
}
|
||||
decl {extern void WefaxDestDirSet(Fl_File_Chooser *w, void *userdata);} {}
|
||||
|
||||
decl {\#include "rigxml.h"} {private local
|
||||
}
|
||||
|
||||
decl {\#include "lookupcall.h"} {private local
|
||||
}
|
||||
|
||||
decl {\#include "icons.h"} {private local
|
||||
}
|
||||
|
||||
decl {\#include "Viewer.h"} {private local
|
||||
}
|
||||
|
||||
decl {\#include "pskrep.h"} {private global
|
||||
}
|
||||
|
||||
decl {\#include "flinput2.h"} {public local
|
||||
}
|
||||
|
||||
decl {\#include "flslider2.h"} {public local
|
||||
}
|
||||
|
||||
decl {\#include "flmisc.h"} {public local
|
||||
}
|
||||
|
||||
decl {\#include "logsupport.h"} {private local
|
||||
}
|
||||
|
||||
decl {\#include "notify.h"} {private local
|
||||
}
|
||||
|
||||
decl {\#include "debug.h"} {private local
|
||||
}
|
||||
|
||||
decl {\#include "status.h"} {private local
|
||||
}
|
||||
|
||||
decl {\#include "rx_extract.h"} {private local
|
||||
}
|
||||
|
||||
decl {extern void WefaxDestDirSet(Fl_File_Chooser *w, void *userdata);} {private local
|
||||
}
|
||||
|
||||
decl {extern void NvtxCatalogSet(Fl_File_Chooser *w, void *userdata);} {private local
|
||||
}
|
||||
decl {extern void NvtxCatalogSet(Fl_File_Chooser *w, void *userdata);} {}
|
||||
|
||||
decl {\#if USE_HAMLIB
|
||||
\#include "hamlib.h"
|
||||
\#endif} {private local
|
||||
\#endif} {}
|
||||
|
||||
decl {Fl_Double_Window *dlgConfig;} {public
|
||||
}
|
||||
|
||||
decl {Fl_Double_Window *dlgConfig;} {public local
|
||||
}
|
||||
|
||||
decl {Mode_Browser* mode_browser;} {public local
|
||||
decl {Mode_Browser* mode_browser;} {public
|
||||
}
|
||||
|
||||
Function {set_qrzxml_buttons(Fl_Button* b)} {return_type void
|
||||
|
|
|
@ -6324,7 +6324,11 @@ int get_tx_char(void)
|
|||
if (progStatus.repeatMacro > -1 && text2repeat.length()) {
|
||||
char *repeat_content = &text2repeat[repeatchar];
|
||||
tx_encoder.push(repeat_content);
|
||||
#if FLDIGI_FLTK_API_MAJOR == 1 && FLDIGI_FLTK_API_MINOR == 3
|
||||
repeatchar += fl_utf8len1(*repeat_content);
|
||||
#else
|
||||
repeatchar += 1;
|
||||
#endif
|
||||
|
||||
if (repeatchar == text2repeat.length()) {
|
||||
text2repeat.clear();
|
||||
|
@ -6381,18 +6385,30 @@ int get_tx_char(void)
|
|||
}
|
||||
break;
|
||||
default:
|
||||
#if FLDIGI_FLTK_API_MAJOR == 1 && FLDIGI_FLTK_API_MINOR == 3
|
||||
char utf8_char[6];
|
||||
int utf8_len = fl_utf8encode(c, utf8_char);
|
||||
tx_encoder.push("^" + string(utf8_char, utf8_len));
|
||||
#else
|
||||
string tmp("^");
|
||||
tmp += c;
|
||||
tx_encoder.push(tmp);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
else if (c == '\n') {
|
||||
tx_encoder.push("\r\n");
|
||||
}
|
||||
else {
|
||||
#if FLDIGI_FLTK_API_MAJOR == 1 && FLDIGI_FLTK_API_MINOR == 3
|
||||
char utf8_char[6];
|
||||
int utf8_len = fl_utf8encode(c, utf8_char);
|
||||
tx_encoder.push(string(utf8_char, utf8_len));
|
||||
#else
|
||||
string tmp;
|
||||
tmp += c;
|
||||
tx_encoder.push(tmp);
|
||||
#endif
|
||||
}
|
||||
|
||||
transmit:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0300
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0110
|
||||
|
||||
#include "gettext.h"
|
||||
#include "notifydialog.h"
|
||||
|
@ -9,10 +9,10 @@ Fl_Group *grpNotifyEvent=(Fl_Group *)0;
|
|||
|
||||
Fl_Choice *mnuNotifyEvent=(Fl_Choice *)0;
|
||||
|
||||
Fl_Light_Button *btnNotifyEnabled=(Fl_Light_Button *)0;
|
||||
|
||||
Fl_Input2 *inpNotifyRE=(Fl_Input2 *)0;
|
||||
|
||||
Fl_Light_Button *btnNotifyEnabled=(Fl_Light_Button *)0;
|
||||
|
||||
Fl_Group *grpNotifyFilter=(Fl_Group *)0;
|
||||
|
||||
Fl_Round_Button *chkNotifyFilterCall=(Fl_Round_Button *)0;
|
||||
|
@ -105,42 +105,42 @@ Fl_Double_Window* make_notify_window() {
|
|||
w = o;
|
||||
{ grpNotifyEvent = new Fl_Group(2, 2, 219, 126, _("Event"));
|
||||
grpNotifyEvent->box(FL_ENGRAVED_FRAME);
|
||||
grpNotifyEvent->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
grpNotifyEvent->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"));
|
||||
} // Fl_Light_Button* btnNotifyEnabled
|
||||
{ Fl_Input2* o = inpNotifyRE = new Fl_Input2(36, 61, 175, 23, _("RE:"));
|
||||
inpNotifyRE->box(FL_DOWN_BOX);
|
||||
inpNotifyRE->color(FL_BACKGROUND2_COLOR);
|
||||
inpNotifyRE->selection_color(FL_SELECTION_COLOR);
|
||||
inpNotifyRE->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpNotifyRE->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpNotifyRE->labeltype(FL_NORMAL_LABEL);
|
||||
inpNotifyRE->labelfont(0);
|
||||
inpNotifyRE->labelsize(14);
|
||||
inpNotifyRE->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpNotifyRE->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
inpNotifyRE->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpNotifyRE->align(FL_ALIGN_LEFT);
|
||||
inpNotifyRE->when(FL_WHEN_RELEASE);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Input2* inpNotifyRE
|
||||
{ btnNotifyEnabled = new Fl_Light_Button(131, 94, 80, 23, _("Enabled"));
|
||||
} // Fl_Light_Button* btnNotifyEnabled
|
||||
grpNotifyEvent->end();
|
||||
} // Fl_Group* grpNotifyEvent
|
||||
{ grpNotifyFilter = new Fl_Group(2, 130, 219, 176, _("Filter"));
|
||||
grpNotifyFilter->box(FL_ENGRAVED_FRAME);
|
||||
grpNotifyFilter->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
grpNotifyFilter->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
|
||||
{ chkNotifyFilterCall = new Fl_Round_Button(12, 157, 80, 20, _("Callsign"));
|
||||
chkNotifyFilterCall->down_box(FL_ROUND_DOWN_BOX);
|
||||
chkNotifyFilterCall->callback((Fl_Callback*)cb_chkNotifyFilterCall);
|
||||
} // Fl_Round_Button* chkNotifyFilterCall
|
||||
{ inpNotifyFilterCall = new Fl_Input2(131, 157, 80, 20);
|
||||
inpNotifyFilterCall->box(FL_DOWN_BOX);
|
||||
inpNotifyFilterCall->color(FL_BACKGROUND2_COLOR);
|
||||
inpNotifyFilterCall->selection_color(FL_SELECTION_COLOR);
|
||||
inpNotifyFilterCall->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpNotifyFilterCall->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpNotifyFilterCall->labeltype(FL_NORMAL_LABEL);
|
||||
inpNotifyFilterCall->labelfont(0);
|
||||
inpNotifyFilterCall->labelsize(14);
|
||||
inpNotifyFilterCall->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpNotifyFilterCall->align(Fl_Align(FL_ALIGN_CENTER));
|
||||
inpNotifyFilterCall->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpNotifyFilterCall->align(FL_ALIGN_CENTER);
|
||||
inpNotifyFilterCall->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpNotifyFilterCall
|
||||
{ chkNotifyFilterDXCC = new Fl_Round_Button(12, 186, 110, 20, _("DXCC entity"));
|
||||
|
@ -163,7 +163,7 @@ Fl_Double_Window* make_notify_window() {
|
|||
} // Fl_Group* grpNotifyFilter
|
||||
{ grpNotifyDup = new Fl_Group(2, 308, 219, 149, _("Duplicates"));
|
||||
grpNotifyDup->box(FL_ENGRAVED_FRAME);
|
||||
grpNotifyDup->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
grpNotifyDup->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
|
||||
{ chkNotifyDupIgnore = new Fl_Check_Button(12, 337, 145, 20, _("Ignore duplicates"));
|
||||
chkNotifyDupIgnore->down_box(FL_DOWN_BOX);
|
||||
} // Fl_Check_Button* chkNotifyDupIgnore
|
||||
|
@ -172,16 +172,16 @@ Fl_Double_Window* make_notify_window() {
|
|||
} // Fl_Choice* mnuNotifyDupWhich
|
||||
{ Fl_Spinner2* o = cntNotifyDupTime = new Fl_Spinner2(93, 397, 60, 20, _("Time (s):"));
|
||||
cntNotifyDupTime->box(FL_NO_BOX);
|
||||
cntNotifyDupTime->color(FL_BACKGROUND_COLOR);
|
||||
cntNotifyDupTime->selection_color(FL_BACKGROUND_COLOR);
|
||||
cntNotifyDupTime->color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
cntNotifyDupTime->selection_color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
cntNotifyDupTime->labeltype(FL_NORMAL_LABEL);
|
||||
cntNotifyDupTime->labelfont(0);
|
||||
cntNotifyDupTime->labelsize(14);
|
||||
cntNotifyDupTime->labelcolor(FL_FOREGROUND_COLOR);
|
||||
cntNotifyDupTime->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
cntNotifyDupTime->minimum(0);
|
||||
cntNotifyDupTime->maximum(97200);
|
||||
cntNotifyDupTime->value(600);
|
||||
cntNotifyDupTime->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
cntNotifyDupTime->align(FL_ALIGN_LEFT);
|
||||
cntNotifyDupTime->when(FL_WHEN_RELEASE);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Spinner2* cntNotifyDupTime
|
||||
|
@ -195,32 +195,32 @@ Fl_Double_Window* make_notify_window() {
|
|||
} // Fl_Group* grpNotifyDup
|
||||
{ grpNotifyAction = new Fl_Group(222, 2, 276, 394, _("Action"));
|
||||
grpNotifyAction->box(FL_ENGRAVED_FRAME);
|
||||
grpNotifyAction->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
grpNotifyAction->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"));
|
||||
cntNotifyActionLimit->box(FL_NO_BOX);
|
||||
cntNotifyActionLimit->color(FL_BACKGROUND_COLOR);
|
||||
cntNotifyActionLimit->selection_color(FL_BACKGROUND_COLOR);
|
||||
cntNotifyActionLimit->color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
cntNotifyActionLimit->selection_color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
cntNotifyActionLimit->labeltype(FL_NORMAL_LABEL);
|
||||
cntNotifyActionLimit->labelfont(0);
|
||||
cntNotifyActionLimit->labelsize(14);
|
||||
cntNotifyActionLimit->labelcolor(FL_FOREGROUND_COLOR);
|
||||
cntNotifyActionLimit->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
cntNotifyActionLimit->minimum(0);
|
||||
cntNotifyActionLimit->maximum(3600);
|
||||
cntNotifyActionLimit->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
cntNotifyActionLimit->align(FL_ALIGN_TOP_LEFT);
|
||||
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:"));
|
||||
inpNotifyActionDialog->type(4);
|
||||
inpNotifyActionDialog->box(FL_DOWN_BOX);
|
||||
inpNotifyActionDialog->color(FL_BACKGROUND2_COLOR);
|
||||
inpNotifyActionDialog->selection_color(FL_SELECTION_COLOR);
|
||||
inpNotifyActionDialog->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpNotifyActionDialog->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpNotifyActionDialog->labeltype(FL_NORMAL_LABEL);
|
||||
inpNotifyActionDialog->labelfont(0);
|
||||
inpNotifyActionDialog->labelsize(14);
|
||||
inpNotifyActionDialog->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpNotifyActionDialog->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpNotifyActionDialog->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpNotifyActionDialog->align(FL_ALIGN_TOP_LEFT);
|
||||
inpNotifyActionDialog->when(FL_WHEN_RELEASE);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Input2* inpNotifyActionDialog
|
||||
|
@ -229,29 +229,29 @@ Fl_Double_Window* make_notify_window() {
|
|||
} // Fl_Button* btnNotifyActionDialogDefault
|
||||
{ Fl_Spinner2* o = cntNotifyActionDialogTimeout = new Fl_Spinner2(232, 164, 52, 20, _("Hide window after (s):"));
|
||||
cntNotifyActionDialogTimeout->box(FL_NO_BOX);
|
||||
cntNotifyActionDialogTimeout->color(FL_BACKGROUND_COLOR);
|
||||
cntNotifyActionDialogTimeout->selection_color(FL_BACKGROUND_COLOR);
|
||||
cntNotifyActionDialogTimeout->color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
cntNotifyActionDialogTimeout->selection_color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
cntNotifyActionDialogTimeout->labeltype(FL_NORMAL_LABEL);
|
||||
cntNotifyActionDialogTimeout->labelfont(0);
|
||||
cntNotifyActionDialogTimeout->labelsize(14);
|
||||
cntNotifyActionDialogTimeout->labelcolor(FL_FOREGROUND_COLOR);
|
||||
cntNotifyActionDialogTimeout->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
cntNotifyActionDialogTimeout->minimum(0);
|
||||
cntNotifyActionDialogTimeout->maximum(3600);
|
||||
cntNotifyActionDialogTimeout->value(5);
|
||||
cntNotifyActionDialogTimeout->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
cntNotifyActionDialogTimeout->align(FL_ALIGN_TOP_LEFT);
|
||||
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:"));
|
||||
inpNotifyActionRXMarker->type(4);
|
||||
inpNotifyActionRXMarker->box(FL_DOWN_BOX);
|
||||
inpNotifyActionRXMarker->color(FL_BACKGROUND2_COLOR);
|
||||
inpNotifyActionRXMarker->selection_color(FL_SELECTION_COLOR);
|
||||
inpNotifyActionRXMarker->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpNotifyActionRXMarker->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpNotifyActionRXMarker->labeltype(FL_NORMAL_LABEL);
|
||||
inpNotifyActionRXMarker->labelfont(0);
|
||||
inpNotifyActionRXMarker->labelsize(14);
|
||||
inpNotifyActionRXMarker->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpNotifyActionRXMarker->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpNotifyActionRXMarker->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpNotifyActionRXMarker->align(FL_ALIGN_TOP_LEFT);
|
||||
inpNotifyActionRXMarker->when(FL_WHEN_RELEASE);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Input2* inpNotifyActionRXMarker
|
||||
|
@ -261,13 +261,13 @@ Fl_Double_Window* make_notify_window() {
|
|||
{ Fl_Input2* o = inpNotifyActionMacro = new Fl_Input2(232, 287, 218, 60, _("Append to TX text:"));
|
||||
inpNotifyActionMacro->type(4);
|
||||
inpNotifyActionMacro->box(FL_DOWN_BOX);
|
||||
inpNotifyActionMacro->color(FL_BACKGROUND2_COLOR);
|
||||
inpNotifyActionMacro->selection_color(FL_SELECTION_COLOR);
|
||||
inpNotifyActionMacro->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpNotifyActionMacro->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpNotifyActionMacro->labeltype(FL_NORMAL_LABEL);
|
||||
inpNotifyActionMacro->labelfont(0);
|
||||
inpNotifyActionMacro->labelsize(14);
|
||||
inpNotifyActionMacro->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpNotifyActionMacro->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpNotifyActionMacro->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpNotifyActionMacro->align(FL_ALIGN_TOP_LEFT);
|
||||
inpNotifyActionMacro->when(FL_WHEN_RELEASE);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Input2* inpNotifyActionMacro
|
||||
|
@ -276,13 +276,13 @@ Fl_Double_Window* make_notify_window() {
|
|||
} // Fl_Button* btnNotifyActionMacro
|
||||
{ Fl_Input2* o = inpNotifyActionProgram = new Fl_Input2(232, 368, 218, 23, _("Run program:"));
|
||||
inpNotifyActionProgram->box(FL_DOWN_BOX);
|
||||
inpNotifyActionProgram->color(FL_BACKGROUND2_COLOR);
|
||||
inpNotifyActionProgram->selection_color(FL_SELECTION_COLOR);
|
||||
inpNotifyActionProgram->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpNotifyActionProgram->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpNotifyActionProgram->labeltype(FL_NORMAL_LABEL);
|
||||
inpNotifyActionProgram->labelfont(0);
|
||||
inpNotifyActionProgram->labelsize(14);
|
||||
inpNotifyActionProgram->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpNotifyActionProgram->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpNotifyActionProgram->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpNotifyActionProgram->align(FL_ALIGN_TOP_LEFT);
|
||||
inpNotifyActionProgram->when(FL_WHEN_RELEASE);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Input2* inpNotifyActionProgram
|
||||
|
@ -303,13 +303,13 @@ Fl_Double_Window* make_notify_window() {
|
|||
} // Fl_Button* btnNotifyClose
|
||||
{ tblNotifyList = new Table(2, 460, 496, 88);
|
||||
tblNotifyList->box(FL_UP_FRAME);
|
||||
tblNotifyList->color(FL_BACKGROUND_COLOR);
|
||||
tblNotifyList->selection_color(FL_SELECTION_COLOR);
|
||||
tblNotifyList->color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
tblNotifyList->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
tblNotifyList->labeltype(FL_NORMAL_LABEL);
|
||||
tblNotifyList->labelfont(0);
|
||||
tblNotifyList->labelsize(14);
|
||||
tblNotifyList->labelcolor(FL_FOREGROUND_COLOR);
|
||||
tblNotifyList->align(Fl_Align(FL_ALIGN_CENTER));
|
||||
tblNotifyList->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
tblNotifyList->align(FL_ALIGN_CENTER);
|
||||
tblNotifyList->when(FL_WHEN_RELEASE);
|
||||
Fl_Group::current()->resizable(tblNotifyList);
|
||||
} // Table* tblNotifyList
|
||||
|
@ -341,38 +341,38 @@ Fl_Double_Window* make_dxcc_window() {
|
|||
w = o;
|
||||
{ tblNotifyFilterDXCC = new Table(2, 2, 432, 370);
|
||||
tblNotifyFilterDXCC->box(FL_UP_FRAME);
|
||||
tblNotifyFilterDXCC->color(FL_BACKGROUND2_COLOR);
|
||||
tblNotifyFilterDXCC->selection_color(FL_SELECTION_COLOR);
|
||||
tblNotifyFilterDXCC->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
tblNotifyFilterDXCC->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
tblNotifyFilterDXCC->labeltype(FL_NORMAL_LABEL);
|
||||
tblNotifyFilterDXCC->labelfont(0);
|
||||
tblNotifyFilterDXCC->labelsize(14);
|
||||
tblNotifyFilterDXCC->labelcolor(FL_FOREGROUND_COLOR);
|
||||
tblNotifyFilterDXCC->align(Fl_Align(FL_ALIGN_CENTER));
|
||||
tblNotifyFilterDXCC->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
tblNotifyFilterDXCC->align(FL_ALIGN_CENTER);
|
||||
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"));
|
||||
inpNotifyDXCCSearchCountry->box(FL_DOWN_BOX);
|
||||
inpNotifyDXCCSearchCountry->color(FL_BACKGROUND2_COLOR);
|
||||
inpNotifyDXCCSearchCountry->selection_color(FL_SELECTION_COLOR);
|
||||
inpNotifyDXCCSearchCountry->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpNotifyDXCCSearchCountry->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpNotifyDXCCSearchCountry->labeltype(FL_NORMAL_LABEL);
|
||||
inpNotifyDXCCSearchCountry->labelfont(0);
|
||||
inpNotifyDXCCSearchCountry->labelsize(14);
|
||||
inpNotifyDXCCSearchCountry->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpNotifyDXCCSearchCountry->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
inpNotifyDXCCSearchCountry->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpNotifyDXCCSearchCountry->align(FL_ALIGN_LEFT);
|
||||
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:"));
|
||||
inpNotifyDXCCSearchCallsign->box(FL_DOWN_BOX);
|
||||
inpNotifyDXCCSearchCallsign->color(FL_BACKGROUND2_COLOR);
|
||||
inpNotifyDXCCSearchCallsign->selection_color(FL_SELECTION_COLOR);
|
||||
inpNotifyDXCCSearchCallsign->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpNotifyDXCCSearchCallsign->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpNotifyDXCCSearchCallsign->labeltype(FL_NORMAL_LABEL);
|
||||
inpNotifyDXCCSearchCallsign->labelfont(0);
|
||||
inpNotifyDXCCSearchCallsign->labelsize(14);
|
||||
inpNotifyDXCCSearchCallsign->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpNotifyDXCCSearchCallsign->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
inpNotifyDXCCSearchCallsign->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpNotifyDXCCSearchCallsign->align(FL_ALIGN_LEFT);
|
||||
inpNotifyDXCCSearchCallsign->when(FL_WHEN_RELEASE);
|
||||
o->labelsize(FL_NORMAL_SIZE);
|
||||
} // Fl_Input2* inpNotifyDXCCSearchCallsign
|
||||
|
|
|
@ -1,12 +1,11 @@
|
|||
# data file for the Fltk User Interface Designer (fluid)
|
||||
version 1.0300
|
||||
version 1.0110
|
||||
i18n_type 1
|
||||
i18n_include "gettext.h"
|
||||
i18n_function _
|
||||
header_name {.h}
|
||||
code_name {.cxx}
|
||||
decl {\#include <config.h>} {private local
|
||||
}
|
||||
decl {\#include <config.h>} {}
|
||||
|
||||
decl {\#include "table.h"} {public global
|
||||
}
|
||||
|
@ -17,32 +16,31 @@ decl {\#include "flinput2.h"} {public global
|
|||
decl {\#include "flslider2.h"} {public global
|
||||
}
|
||||
|
||||
decl {\#include "notify.h"} {private local
|
||||
}
|
||||
decl {\#include "notify.h"} {}
|
||||
|
||||
Function {make_notify_window()} {open
|
||||
} {
|
||||
Fl_Window {} {
|
||||
label Notifications open
|
||||
xywh {671 439 500 550} type Double resizable size_range {500 550 0 0} visible
|
||||
xywh {671 315 500 550} type Double resizable size_range {500 550 0 0} visible
|
||||
} {
|
||||
Fl_Group grpNotifyEvent {
|
||||
label Event open
|
||||
xywh {2 2 219 126} box ENGRAVED_FRAME align 21
|
||||
} {
|
||||
Fl_Choice mnuNotifyEvent {open selected
|
||||
Fl_Choice mnuNotifyEvent {open
|
||||
xywh {10 29 205 22} down_box BORDER_BOX
|
||||
} {}
|
||||
Fl_Light_Button btnNotifyEnabled {
|
||||
label Enabled
|
||||
xywh {131 94 80 23}
|
||||
}
|
||||
Fl_Input inpNotifyRE {
|
||||
label {RE:}
|
||||
label {RE:} selected
|
||||
xywh {36 61 175 23}
|
||||
code0 {o->labelsize(FL_NORMAL_SIZE);}
|
||||
class Fl_Input2
|
||||
}
|
||||
Fl_Light_Button btnNotifyEnabled {
|
||||
label Enabled
|
||||
xywh {131 94 80 23}
|
||||
}
|
||||
}
|
||||
Fl_Group grpNotifyFilter {
|
||||
label Filter open
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0300
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0110
|
||||
|
||||
#include "arqdialogs.h"
|
||||
#include <config.h>
|
||||
|
@ -118,7 +118,7 @@ Fl_Double_Window* arq_dialog() {
|
|||
Fl_Double_Window* w;
|
||||
{ Fl_Double_Window* o = new Fl_Double_Window(515, 415, "flarq");
|
||||
w = o;
|
||||
o->color(FL_LIGHT1);
|
||||
o->color((Fl_Color)FL_LIGHT1);
|
||||
o->callback((Fl_Callback*)cb_flarq);
|
||||
{ mnu = new Fl_Menu_Bar(0, 0, 516, 22);
|
||||
mnu->menu(menu_mnu);
|
||||
|
@ -128,19 +128,19 @@ Fl_Double_Window* arq_dialog() {
|
|||
o->box(FL_ENGRAVED_FRAME);
|
||||
{ btnCONNECT = new Fl_Button(5, 28, 90, 24, "Connnect");
|
||||
btnCONNECT->tooltip("Connect to other station");
|
||||
btnCONNECT->color(FL_LIGHT1);
|
||||
btnCONNECT->color((Fl_Color)FL_LIGHT1);
|
||||
btnCONNECT->callback((Fl_Callback*)cb_btnCONNECT);
|
||||
} // Fl_Button* btnCONNECT
|
||||
{ txtURCALL = new Fl_Input2(97, 28, 70, 24);
|
||||
txtURCALL->tooltip("Connect-to callsign");
|
||||
txtURCALL->box(FL_DOWN_BOX);
|
||||
txtURCALL->color(FL_BACKGROUND2_COLOR);
|
||||
txtURCALL->selection_color(FL_SELECTION_COLOR);
|
||||
txtURCALL->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
txtURCALL->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
txtURCALL->labeltype(FL_NORMAL_LABEL);
|
||||
txtURCALL->labelfont(0);
|
||||
txtURCALL->labelsize(14);
|
||||
txtURCALL->labelcolor(FL_FOREGROUND_COLOR);
|
||||
txtURCALL->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
txtURCALL->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
txtURCALL->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
||||
txtURCALL->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* txtURCALL
|
||||
{ btnBEACON = new Fl_Light_Button(168, 28, 79, 24, "Beacon");
|
||||
|
@ -150,13 +150,13 @@ Fl_Double_Window* arq_dialog() {
|
|||
} // Fl_Light_Button* btnBEACON
|
||||
{ Fl_Input2* o = txtBeaconing = new Fl_Input2(249, 28, 261, 24, "output:");
|
||||
txtBeaconing->box(FL_FLAT_BOX);
|
||||
txtBeaconing->color(FL_LIGHT1);
|
||||
txtBeaconing->selection_color(FL_SELECTION_COLOR);
|
||||
txtBeaconing->color((Fl_Color)FL_LIGHT1);
|
||||
txtBeaconing->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
txtBeaconing->labeltype(FL_NORMAL_LABEL);
|
||||
txtBeaconing->labelfont(0);
|
||||
txtBeaconing->labelsize(14);
|
||||
txtBeaconing->labelcolor(FL_FOREGROUND_COLOR);
|
||||
txtBeaconing->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
txtBeaconing->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
txtBeaconing->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
||||
txtBeaconing->when(FL_WHEN_RELEASE);
|
||||
Fl_Group::current()->resizable(txtBeaconing);
|
||||
o->type(FL_NORMAL_OUTPUT);
|
||||
|
@ -168,19 +168,19 @@ Fl_Double_Window* arq_dialog() {
|
|||
{ indCONNECT = new Fl_Box(5, 60, 18, 18);
|
||||
indCONNECT->tooltip("ARQ state");
|
||||
indCONNECT->box(FL_DIAMOND_DOWN_BOX);
|
||||
indCONNECT->color(FL_LIGHT1);
|
||||
indCONNECT->color((Fl_Color)FL_LIGHT1);
|
||||
indCONNECT->labelfont(13);
|
||||
indCONNECT->align(Fl_Align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE));
|
||||
indCONNECT->align(FL_ALIGN_RIGHT|FL_ALIGN_INSIDE);
|
||||
} // Fl_Box* indCONNECT
|
||||
{ Fl_Input2* o = txtState = new Fl_Input2(27, 57, 483, 24, "Disconnecting");
|
||||
txtState->box(FL_FLAT_BOX);
|
||||
txtState->color(FL_LIGHT1);
|
||||
txtState->selection_color(FL_SELECTION_COLOR);
|
||||
txtState->color((Fl_Color)FL_LIGHT1);
|
||||
txtState->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
txtState->labeltype(FL_NORMAL_LABEL);
|
||||
txtState->labelfont(0);
|
||||
txtState->labelsize(14);
|
||||
txtState->labelcolor(FL_FOREGROUND_COLOR);
|
||||
txtState->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
txtState->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
txtState->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
||||
txtState->when(FL_WHEN_RELEASE);
|
||||
Fl_Group::current()->resizable(txtState);
|
||||
o->type(FL_NORMAL_OUTPUT);
|
||||
|
@ -199,26 +199,26 @@ Fl_Double_Window* arq_dialog() {
|
|||
{ Fl_Input2* o = txtStatus = new Fl_Input2(5, 208, 220, 22);
|
||||
txtStatus->tooltip("Status messages");
|
||||
txtStatus->box(FL_DOWN_BOX);
|
||||
txtStatus->color(FL_BACKGROUND2_COLOR);
|
||||
txtStatus->selection_color(FL_SELECTION_COLOR);
|
||||
txtStatus->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
txtStatus->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
txtStatus->labeltype(FL_NORMAL_LABEL);
|
||||
txtStatus->labelfont(0);
|
||||
txtStatus->labelsize(14);
|
||||
txtStatus->labelcolor(FL_FOREGROUND_COLOR);
|
||||
txtStatus->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
txtStatus->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
txtStatus->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
||||
txtStatus->when(FL_WHEN_RELEASE);
|
||||
Fl_Group::current()->resizable(txtStatus);
|
||||
o->type(FL_NORMAL_OUTPUT);
|
||||
} // Fl_Input2* txtStatus
|
||||
{ Fl_Input2* o = txtStatus2 = new Fl_Input2(225, 208, 170, 22);
|
||||
txtStatus2->box(FL_DOWN_BOX);
|
||||
txtStatus2->color(FL_BACKGROUND2_COLOR);
|
||||
txtStatus2->selection_color(FL_SELECTION_COLOR);
|
||||
txtStatus2->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
txtStatus2->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
txtStatus2->labeltype(FL_NORMAL_LABEL);
|
||||
txtStatus2->labelfont(0);
|
||||
txtStatus2->labelsize(14);
|
||||
txtStatus2->labelcolor(FL_FOREGROUND_COLOR);
|
||||
txtStatus2->align(Fl_Align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE));
|
||||
txtStatus2->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
txtStatus2->align(FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
||||
txtStatus2->when(FL_WHEN_RELEASE);
|
||||
o->type(FL_NORMAL_OUTPUT);
|
||||
} // Fl_Input2* txtStatus2
|
||||
|
@ -236,7 +236,7 @@ Fl_Double_Window* arq_dialog() {
|
|||
} // Fl_Group* o
|
||||
{ Fl_Group* o = new Fl_Group(0, 235, 515, 180, "Plain Talk");
|
||||
o->box(FL_ENGRAVED_FRAME);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
|
||||
{ txtRX = new Fl_Text_Display(5, 255, 505, 130);
|
||||
txtRX->box(FL_DOWN_BOX);
|
||||
txtRX->textfont(4);
|
||||
|
@ -247,14 +247,14 @@ Fl_Double_Window* arq_dialog() {
|
|||
{ txtTX = new Fl_Input2(5, 390, 450, 22, "input:");
|
||||
txtTX->tooltip("Plain talk text - ENTER to send");
|
||||
txtTX->box(FL_DOWN_BOX);
|
||||
txtTX->color(FL_BACKGROUND2_COLOR);
|
||||
txtTX->selection_color(FL_SELECTION_COLOR);
|
||||
txtTX->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
txtTX->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
txtTX->labeltype(FL_NORMAL_LABEL);
|
||||
txtTX->labelfont(0);
|
||||
txtTX->labelsize(14);
|
||||
txtTX->labelcolor(FL_FOREGROUND_COLOR);
|
||||
txtTX->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
txtTX->callback((Fl_Callback*)cb_txtTX);
|
||||
txtTX->align(Fl_Align(FL_ALIGN_CENTER));
|
||||
txtTX->align(FL_ALIGN_CENTER);
|
||||
txtTX->when(FL_WHEN_ENTER_KEY);
|
||||
Fl_Group::current()->resizable(txtTX);
|
||||
txtTX->value("");
|
||||
|
@ -338,28 +338,28 @@ Fl_Double_Window* arq_configure() {
|
|||
w = o;
|
||||
{ Fl_Input2* o = txtMyCall = new Fl_Input2(98, 13, 150, 24, "My Call:");
|
||||
txtMyCall->box(FL_DOWN_BOX);
|
||||
txtMyCall->color(FL_BACKGROUND2_COLOR);
|
||||
txtMyCall->selection_color(FL_SELECTION_COLOR);
|
||||
txtMyCall->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
txtMyCall->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
txtMyCall->labeltype(FL_NORMAL_LABEL);
|
||||
txtMyCall->labelfont(0);
|
||||
txtMyCall->labelsize(14);
|
||||
txtMyCall->labelcolor(FL_FOREGROUND_COLOR);
|
||||
txtMyCall->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
txtMyCall->callback((Fl_Callback*)cb_txtMyCall);
|
||||
txtMyCall->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
txtMyCall->align(FL_ALIGN_LEFT);
|
||||
txtMyCall->when(FL_WHEN_RELEASE);
|
||||
o->value(MyCall.c_str());
|
||||
} // Fl_Input2* txtMyCall
|
||||
{ Fl_Input2* o = txtBEACONTXT = new Fl_Input2(98, 42, 370, 24, "Beacon Text");
|
||||
txtBEACONTXT->tooltip("Text for the beacon 64 chars max");
|
||||
txtBEACONTXT->box(FL_DOWN_BOX);
|
||||
txtBEACONTXT->color(FL_BACKGROUND2_COLOR);
|
||||
txtBEACONTXT->selection_color(FL_SELECTION_COLOR);
|
||||
txtBEACONTXT->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
txtBEACONTXT->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
txtBEACONTXT->labeltype(FL_NORMAL_LABEL);
|
||||
txtBEACONTXT->labelfont(0);
|
||||
txtBEACONTXT->labelsize(14);
|
||||
txtBEACONTXT->labelcolor(FL_FOREGROUND_COLOR);
|
||||
txtBEACONTXT->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
txtBEACONTXT->callback((Fl_Callback*)cb_txtBEACONTXT);
|
||||
txtBEACONTXT->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
txtBEACONTXT->align(FL_ALIGN_LEFT);
|
||||
txtBEACONTXT->when(FL_WHEN_RELEASE);
|
||||
Fl_Group::current()->resizable(txtBEACONTXT);
|
||||
o->value(beacontext.c_str());
|
||||
|
@ -367,14 +367,14 @@ Fl_Double_Window* arq_configure() {
|
|||
{ Fl_Spinner2* o = spnRetries = new Fl_Spinner2(146, 71, 45, 22, "Retries:");
|
||||
spnRetries->tooltip("# retries before connection declared down");
|
||||
spnRetries->box(FL_NO_BOX);
|
||||
spnRetries->color(FL_BACKGROUND_COLOR);
|
||||
spnRetries->selection_color(FL_BACKGROUND_COLOR);
|
||||
spnRetries->color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
spnRetries->selection_color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
spnRetries->labeltype(FL_NORMAL_LABEL);
|
||||
spnRetries->labelfont(0);
|
||||
spnRetries->labelsize(14);
|
||||
spnRetries->labelcolor(FL_FOREGROUND_COLOR);
|
||||
spnRetries->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
spnRetries->callback((Fl_Callback*)cb_spnRetries);
|
||||
spnRetries->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
spnRetries->align(FL_ALIGN_LEFT);
|
||||
spnRetries->when(FL_WHEN_RELEASE);
|
||||
o->minimum(2);
|
||||
o->maximum(20);
|
||||
|
@ -384,14 +384,14 @@ Fl_Double_Window* arq_configure() {
|
|||
{ Fl_Spinner2* o = spnWaitTime = new Fl_Spinner2(121, 98, 70, 22, "Wait time (sec):");
|
||||
spnWaitTime->tooltip("Time between retries");
|
||||
spnWaitTime->box(FL_NO_BOX);
|
||||
spnWaitTime->color(FL_BACKGROUND_COLOR);
|
||||
spnWaitTime->selection_color(FL_BACKGROUND_COLOR);
|
||||
spnWaitTime->color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
spnWaitTime->selection_color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
spnWaitTime->labeltype(FL_NORMAL_LABEL);
|
||||
spnWaitTime->labelfont(0);
|
||||
spnWaitTime->labelsize(14);
|
||||
spnWaitTime->labelcolor(FL_FOREGROUND_COLOR);
|
||||
spnWaitTime->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
spnWaitTime->callback((Fl_Callback*)cb_spnWaitTime);
|
||||
spnWaitTime->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
spnWaitTime->align(FL_ALIGN_LEFT);
|
||||
spnWaitTime->when(FL_WHEN_RELEASE);
|
||||
o->minimum(10);
|
||||
o->maximum(30);
|
||||
|
@ -401,14 +401,14 @@ Fl_Double_Window* arq_configure() {
|
|||
{ Fl_Spinner2* o = spnTimeout = new Fl_Spinner2(121, 126, 70, 22, "Timeout (sec):");
|
||||
spnTimeout->tooltip("Time out for dead connection");
|
||||
spnTimeout->box(FL_NO_BOX);
|
||||
spnTimeout->color(FL_BACKGROUND_COLOR);
|
||||
spnTimeout->selection_color(FL_BACKGROUND_COLOR);
|
||||
spnTimeout->color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
spnTimeout->selection_color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
spnTimeout->labeltype(FL_NORMAL_LABEL);
|
||||
spnTimeout->labelfont(0);
|
||||
spnTimeout->labelsize(14);
|
||||
spnTimeout->labelcolor(FL_FOREGROUND_COLOR);
|
||||
spnTimeout->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
spnTimeout->callback((Fl_Callback*)cb_spnTimeout);
|
||||
spnTimeout->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
spnTimeout->align(FL_ALIGN_LEFT);
|
||||
spnTimeout->when(FL_WHEN_RELEASE);
|
||||
o->minimum(30);
|
||||
o->maximum(300);
|
||||
|
@ -418,14 +418,14 @@ Fl_Double_Window* arq_configure() {
|
|||
{ Fl_Spinner2* o = spnTxDelay = new Fl_Spinner2(317, 98, 70, 22, "Tx delay (msec):");
|
||||
spnTxDelay->tooltip("delay from Rx to Tx");
|
||||
spnTxDelay->box(FL_NO_BOX);
|
||||
spnTxDelay->color(FL_BACKGROUND_COLOR);
|
||||
spnTxDelay->selection_color(FL_BACKGROUND_COLOR);
|
||||
spnTxDelay->color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
spnTxDelay->selection_color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
spnTxDelay->labeltype(FL_NORMAL_LABEL);
|
||||
spnTxDelay->labelfont(0);
|
||||
spnTxDelay->labelsize(14);
|
||||
spnTxDelay->labelcolor(FL_FOREGROUND_COLOR);
|
||||
spnTxDelay->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
spnTxDelay->callback((Fl_Callback*)cb_spnTxDelay);
|
||||
spnTxDelay->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
spnTxDelay->align(FL_ALIGN_LEFT);
|
||||
spnTxDelay->when(FL_WHEN_RELEASE);
|
||||
o->minimum(200);
|
||||
o->maximum(2000);
|
||||
|
@ -435,15 +435,15 @@ Fl_Double_Window* arq_configure() {
|
|||
{ Fl_Spinner2* o = spnBcnInterval = new Fl_Spinner2(398, 71, 70, 22, "Beacon interval (sec)");
|
||||
spnBcnInterval->tooltip("Time between beacon transmissions");
|
||||
spnBcnInterval->box(FL_NO_BOX);
|
||||
spnBcnInterval->color(FL_BACKGROUND_COLOR);
|
||||
spnBcnInterval->selection_color(FL_BACKGROUND_COLOR);
|
||||
spnBcnInterval->color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
spnBcnInterval->selection_color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
spnBcnInterval->labeltype(FL_NORMAL_LABEL);
|
||||
spnBcnInterval->labelfont(0);
|
||||
spnBcnInterval->labelsize(14);
|
||||
spnBcnInterval->labelcolor(FL_FOREGROUND_COLOR);
|
||||
spnBcnInterval->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
spnBcnInterval->value(120);
|
||||
spnBcnInterval->callback((Fl_Callback*)cb_spnBcnInterval);
|
||||
spnBcnInterval->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
spnBcnInterval->align(FL_ALIGN_LEFT);
|
||||
spnBcnInterval->when(FL_WHEN_RELEASE);
|
||||
o->minimum(60); o->maximum(3600);
|
||||
o->step(30);
|
||||
|
@ -454,14 +454,14 @@ Fl_Double_Window* arq_configure() {
|
|||
} // Fl_Button* btnOK
|
||||
{ choiceBlockSize = new Fl_ComboBox(314, 126, 72, 24, "Block Size:");
|
||||
choiceBlockSize->box(FL_DOWN_BOX);
|
||||
choiceBlockSize->color(FL_BACKGROUND2_COLOR);
|
||||
choiceBlockSize->selection_color(FL_BACKGROUND_COLOR);
|
||||
choiceBlockSize->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
choiceBlockSize->selection_color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
choiceBlockSize->labeltype(FL_NORMAL_LABEL);
|
||||
choiceBlockSize->labelfont(0);
|
||||
choiceBlockSize->labelsize(14);
|
||||
choiceBlockSize->labelcolor(FL_FOREGROUND_COLOR);
|
||||
choiceBlockSize->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
choiceBlockSize->callback((Fl_Callback*)cb_choiceBlockSize);
|
||||
choiceBlockSize->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
choiceBlockSize->align(FL_ALIGN_LEFT);
|
||||
choiceBlockSize->when(FL_WHEN_RELEASE);
|
||||
choiceBlockSize->end();
|
||||
} // Fl_ComboBox* choiceBlockSize
|
||||
|
@ -490,13 +490,13 @@ Fl_Double_Window* arq_SendSelect() {
|
|||
w = o;
|
||||
{ tblOutgoing = new Table(0, 3, 500, 140);
|
||||
tblOutgoing->box(FL_DOWN_BOX);
|
||||
tblOutgoing->color(FL_BACKGROUND2_COLOR);
|
||||
tblOutgoing->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
tblOutgoing->selection_color((Fl_Color)246);
|
||||
tblOutgoing->labeltype(FL_NORMAL_LABEL);
|
||||
tblOutgoing->labelfont(0);
|
||||
tblOutgoing->labelsize(14);
|
||||
tblOutgoing->labelcolor(FL_FOREGROUND_COLOR);
|
||||
tblOutgoing->align(Fl_Align(FL_ALIGN_CENTER|FL_ALIGN_INSIDE));
|
||||
tblOutgoing->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
tblOutgoing->align(FL_ALIGN_CENTER|FL_ALIGN_INSIDE);
|
||||
tblOutgoing->when(FL_WHEN_RELEASE);
|
||||
} // Table* tblOutgoing
|
||||
{ send_Cancel = new Fl_Button(335, 145, 70, 20, "Cancel");
|
||||
|
@ -554,24 +554,24 @@ Fl_Double_Window* arq_composer() {
|
|||
w = o;
|
||||
{ inpMailTo = new Fl_Input2(48, 4, 460, 24, "To:");
|
||||
inpMailTo->box(FL_DOWN_BOX);
|
||||
inpMailTo->color(FL_BACKGROUND2_COLOR);
|
||||
inpMailTo->selection_color(FL_SELECTION_COLOR);
|
||||
inpMailTo->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpMailTo->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpMailTo->labeltype(FL_NORMAL_LABEL);
|
||||
inpMailTo->labelfont(0);
|
||||
inpMailTo->labelsize(14);
|
||||
inpMailTo->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpMailTo->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
inpMailTo->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpMailTo->align(FL_ALIGN_LEFT);
|
||||
inpMailTo->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpMailTo
|
||||
{ inpMailSubj = new Fl_Input2(48, 30, 460, 24, "Subj:");
|
||||
inpMailSubj->box(FL_DOWN_BOX);
|
||||
inpMailSubj->color(FL_BACKGROUND2_COLOR);
|
||||
inpMailSubj->selection_color(FL_SELECTION_COLOR);
|
||||
inpMailSubj->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpMailSubj->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpMailSubj->labeltype(FL_NORMAL_LABEL);
|
||||
inpMailSubj->labelfont(0);
|
||||
inpMailSubj->labelsize(14);
|
||||
inpMailSubj->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpMailSubj->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
inpMailSubj->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpMailSubj->align(FL_ALIGN_LEFT);
|
||||
inpMailSubj->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpMailSubj
|
||||
{ txtMailText = new Fl_Text_Editor(0, 56, 510, 188);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0300
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0110
|
||||
|
||||
#ifndef arqdialogs_h
|
||||
#define arqdialogs_h
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0300
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0110
|
||||
|
||||
#ifndef colorsfonts_h
|
||||
#define colorsfonts_h
|
||||
|
@ -84,5 +84,6 @@ extern Fl_Button *btnLOGBOOKdefault_colors_font;
|
|||
#include <FL/Fl_Menu_Button.H>
|
||||
#include "fl_digi.h"
|
||||
extern Fl_Menu_Button *CHARSETstatus;
|
||||
extern Fl_Box *CHARSETlabel;
|
||||
Fl_Double_Window* make_colorsfonts();
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0300
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0110
|
||||
|
||||
#ifndef confdialog_h
|
||||
#define confdialog_h
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0300
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0110
|
||||
|
||||
#ifndef lgbook_h
|
||||
#define lgbook_h
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0300
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0110
|
||||
|
||||
#ifndef notifydialog_h
|
||||
#define notifydialog_h
|
||||
|
@ -11,9 +11,9 @@
|
|||
extern Fl_Group *grpNotifyEvent;
|
||||
#include <FL/Fl_Choice.H>
|
||||
extern Fl_Choice *mnuNotifyEvent;
|
||||
extern Fl_Input2 *inpNotifyRE;
|
||||
#include <FL/Fl_Light_Button.H>
|
||||
extern Fl_Light_Button *btnNotifyEnabled;
|
||||
extern Fl_Input2 *inpNotifyRE;
|
||||
extern Fl_Group *grpNotifyFilter;
|
||||
#include <FL/Fl_Round_Button.H>
|
||||
extern Fl_Round_Button *chkNotifyFilterCall;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// generated by Fast Light User Interface Designer (fluid) version 1.0300
|
||||
// generated by Fast Light User Interface Designer (fluid) version 1.0110
|
||||
|
||||
#include "gettext.h"
|
||||
#include "lgbook.h"
|
||||
|
@ -392,7 +392,7 @@ void create_logbook_dialogs() {
|
|||
{ wExport = new Fl_Double_Window(675, 439, _("Export Setup"));
|
||||
{ Fl_Group* o = new Fl_Group(4, 4, 388, 400, _("Select Records to Export"));
|
||||
o->box(FL_ENGRAVED_FRAME);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
|
||||
{ chkExportBrowser = new Fl_Check_Browser(13, 25, 370, 295);
|
||||
} // Fl_Check_Browser* chkExportBrowser
|
||||
{ btnClearAll = new Fl_Button(69, 325, 90, 24, _("Clear All"));
|
||||
|
@ -404,28 +404,28 @@ void create_logbook_dialogs() {
|
|||
{ inp_export_start_date = new Fl_DateInput(14, 371, 100, 22, _("Start Date"));
|
||||
inp_export_start_date->tooltip(_("Start date for export"));
|
||||
inp_export_start_date->box(FL_DOWN_BOX);
|
||||
inp_export_start_date->color(FL_BACKGROUND2_COLOR);
|
||||
inp_export_start_date->selection_color(FL_SELECTION_COLOR);
|
||||
inp_export_start_date->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inp_export_start_date->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inp_export_start_date->labeltype(FL_NORMAL_LABEL);
|
||||
inp_export_start_date->labelfont(0);
|
||||
inp_export_start_date->labelsize(14);
|
||||
inp_export_start_date->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inp_export_start_date->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inp_export_start_date->callback((Fl_Callback*)cb_inp_export_start_date);
|
||||
inp_export_start_date->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inp_export_start_date->align(FL_ALIGN_TOP_LEFT);
|
||||
inp_export_start_date->when(FL_WHEN_RELEASE);
|
||||
inp_export_start_date->format(2);
|
||||
} // Fl_DateInput* inp_export_start_date
|
||||
{ inp_export_stop_date = new Fl_DateInput(138, 371, 100, 22, _("Stop Date"));
|
||||
inp_export_stop_date->tooltip(_("Inclusive stop date for export"));
|
||||
inp_export_stop_date->box(FL_DOWN_BOX);
|
||||
inp_export_stop_date->color(FL_BACKGROUND2_COLOR);
|
||||
inp_export_stop_date->selection_color(FL_SELECTION_COLOR);
|
||||
inp_export_stop_date->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inp_export_stop_date->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inp_export_stop_date->labeltype(FL_NORMAL_LABEL);
|
||||
inp_export_stop_date->labelfont(0);
|
||||
inp_export_stop_date->labelsize(14);
|
||||
inp_export_stop_date->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inp_export_stop_date->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inp_export_stop_date->callback((Fl_Callback*)cb_inp_export_stop_date);
|
||||
inp_export_stop_date->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inp_export_stop_date->align(FL_ALIGN_TOP_LEFT);
|
||||
inp_export_stop_date->when(FL_WHEN_RELEASE);
|
||||
inp_export_stop_date->format(2);
|
||||
} // Fl_DateInput* inp_export_stop_date
|
||||
|
@ -444,7 +444,7 @@ void create_logbook_dialogs() {
|
|||
} // Fl_Button* btnCancel
|
||||
{ Fl_Group* o = new Fl_Group(392, 4, 280, 400, _("Select Fields to Export"));
|
||||
o->box(FL_ENGRAVED_FRAME);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
|
||||
{ btnClearAllFields = new Fl_Button(395, 372, 90, 24, _("Clear All"));
|
||||
btnClearAllFields->callback((Fl_Callback*)cb_btnClearAllFields);
|
||||
} // Fl_Button* btnClearAllFields
|
||||
|
@ -563,433 +563,433 @@ void create_logbook_dialogs() {
|
|||
{ inpDate_log = new Fl_DateInput(4, 24, 100, 24, _("Date On"));
|
||||
inpDate_log->tooltip(_("Date QSO started"));
|
||||
inpDate_log->box(FL_DOWN_BOX);
|
||||
inpDate_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpDate_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpDate_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpDate_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpDate_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpDate_log->labelfont(0);
|
||||
inpDate_log->labelsize(14);
|
||||
inpDate_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpDate_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpDate_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpDate_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpDate_log->when(FL_WHEN_RELEASE);
|
||||
inpDate_log->format(2);
|
||||
} // Fl_DateInput* inpDate_log
|
||||
{ inpTimeOn_log = new Fl_Input2(106, 24, 70, 24, _("Time On"));
|
||||
inpTimeOn_log->tooltip(_("Time QSO started"));
|
||||
inpTimeOn_log->box(FL_DOWN_BOX);
|
||||
inpTimeOn_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpTimeOn_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpTimeOn_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpTimeOn_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpTimeOn_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpTimeOn_log->labelfont(0);
|
||||
inpTimeOn_log->labelsize(14);
|
||||
inpTimeOn_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpTimeOn_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpTimeOn_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpTimeOn_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpTimeOn_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpTimeOn_log
|
||||
{ inpCall_log = new Fl_Input2(178, 24, 100, 24, _("Call"));
|
||||
inpCall_log->tooltip(_("Call sign worked"));
|
||||
inpCall_log->box(FL_DOWN_BOX);
|
||||
inpCall_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpCall_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpCall_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpCall_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpCall_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpCall_log->labelfont(0);
|
||||
inpCall_log->labelsize(14);
|
||||
inpCall_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpCall_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpCall_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpCall_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpCall_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpCall_log
|
||||
{ inpName_log = new Fl_Input2(280, 24, 166, 24, _("Name"));
|
||||
inpName_log->tooltip(_("Operator worked"));
|
||||
inpName_log->box(FL_DOWN_BOX);
|
||||
inpName_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpName_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpName_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpName_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpName_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpName_log->labelfont(0);
|
||||
inpName_log->labelsize(14);
|
||||
inpName_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpName_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpName_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpName_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpName_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpName_log
|
||||
{ inpRstR_log = new Fl_Input2(448, 24, 36, 24, _("In"));
|
||||
inpRstR_log->tooltip(_("Rst received"));
|
||||
inpRstR_log->box(FL_DOWN_BOX);
|
||||
inpRstR_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpRstR_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpRstR_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpRstR_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpRstR_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpRstR_log->labelfont(0);
|
||||
inpRstR_log->labelsize(14);
|
||||
inpRstR_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpRstR_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpRstR_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpRstR_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpRstR_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpRstR_log
|
||||
{ Fl_DateInput* o = inpQSLrcvddate_log = new Fl_DateInput(486, 24, 100, 24, _("QSL-rcvd"));
|
||||
inpQSLrcvddate_log->tooltip(_("QSL received on this date"));
|
||||
inpQSLrcvddate_log->box(FL_DOWN_BOX);
|
||||
inpQSLrcvddate_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpQSLrcvddate_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpQSLrcvddate_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpQSLrcvddate_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpQSLrcvddate_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpQSLrcvddate_log->labelfont(0);
|
||||
inpQSLrcvddate_log->labelsize(14);
|
||||
inpQSLrcvddate_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpQSLrcvddate_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpQSLrcvddate_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpQSLrcvddate_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpQSLrcvddate_log->when(FL_WHEN_RELEASE);
|
||||
o->format(2);
|
||||
} // Fl_DateInput* inpQSLrcvddate_log
|
||||
{ inpDateOff_log = new Fl_DateInput(4, 68, 100, 24, _("Date Off"));
|
||||
inpDateOff_log->tooltip(_("Date QSO Ended"));
|
||||
inpDateOff_log->box(FL_DOWN_BOX);
|
||||
inpDateOff_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpDateOff_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpDateOff_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpDateOff_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpDateOff_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpDateOff_log->labelfont(0);
|
||||
inpDateOff_log->labelsize(14);
|
||||
inpDateOff_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpDateOff_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpDateOff_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpDateOff_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpDateOff_log->when(FL_WHEN_RELEASE);
|
||||
inpDateOff_log->format(2);
|
||||
} // Fl_DateInput* inpDateOff_log
|
||||
{ inpTimeOff_log = new Fl_Input2(106, 68, 70, 24, _("Time Off"));
|
||||
inpTimeOff_log->tooltip(_("Time QSO ended"));
|
||||
inpTimeOff_log->box(FL_DOWN_BOX);
|
||||
inpTimeOff_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpTimeOff_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpTimeOff_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpTimeOff_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpTimeOff_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpTimeOff_log->labelfont(0);
|
||||
inpTimeOff_log->labelsize(14);
|
||||
inpTimeOff_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpTimeOff_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpTimeOff_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpTimeOff_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpTimeOff_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpTimeOff_log
|
||||
{ inpFreq_log = new Fl_Input2(178, 68, 100, 24, _("Freq."));
|
||||
inpFreq_log->tooltip(_("Frequency in MHz"));
|
||||
inpFreq_log->box(FL_DOWN_BOX);
|
||||
inpFreq_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpFreq_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpFreq_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpFreq_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpFreq_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpFreq_log->labelfont(0);
|
||||
inpFreq_log->labelsize(14);
|
||||
inpFreq_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpFreq_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpFreq_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpFreq_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpFreq_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpFreq_log
|
||||
{ inpMode_log = new Fl_Input2(280, 68, 127, 24, _("Mode"));
|
||||
inpMode_log->tooltip(_("Mode in use"));
|
||||
inpMode_log->box(FL_DOWN_BOX);
|
||||
inpMode_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpMode_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpMode_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpMode_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpMode_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpMode_log->labelfont(0);
|
||||
inpMode_log->labelsize(14);
|
||||
inpMode_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpMode_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpMode_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpMode_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpMode_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpMode_log
|
||||
{ inpTX_pwr_log = new Fl_Input2(410, 68, 36, 24, _("Pwr"));
|
||||
inpTX_pwr_log->tooltip(_("Transmit power used"));
|
||||
inpTX_pwr_log->box(FL_DOWN_BOX);
|
||||
inpTX_pwr_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpTX_pwr_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpTX_pwr_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpTX_pwr_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpTX_pwr_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpTX_pwr_log->labelfont(0);
|
||||
inpTX_pwr_log->labelsize(14);
|
||||
inpTX_pwr_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpTX_pwr_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpTX_pwr_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpTX_pwr_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpTX_pwr_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpTX_pwr_log
|
||||
{ inpRstS_log = new Fl_Input2(448, 68, 36, 24, _("Out"));
|
||||
inpRstS_log->tooltip(_("Rst sent"));
|
||||
inpRstS_log->box(FL_DOWN_BOX);
|
||||
inpRstS_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpRstS_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpRstS_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpRstS_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpRstS_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpRstS_log->labelfont(0);
|
||||
inpRstS_log->labelsize(14);
|
||||
inpRstS_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpRstS_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpRstS_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpRstS_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpRstS_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpRstS_log
|
||||
{ Fl_DateInput* o = inpQSLsentdate_log = new Fl_DateInput(486, 68, 100, 24, _("QSL-sent"));
|
||||
inpQSLsentdate_log->tooltip(_("QSL sent on this date"));
|
||||
inpQSLsentdate_log->box(FL_DOWN_BOX);
|
||||
inpQSLsentdate_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpQSLsentdate_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpQSLsentdate_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpQSLsentdate_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpQSLsentdate_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpQSLsentdate_log->labelfont(0);
|
||||
inpQSLsentdate_log->labelsize(14);
|
||||
inpQSLsentdate_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpQSLsentdate_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpQSLsentdate_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpQSLsentdate_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpQSLsentdate_log->when(FL_WHEN_RELEASE);
|
||||
o->format(2);
|
||||
} // Fl_DateInput* inpQSLsentdate_log
|
||||
{ inpQth_log = new Fl_Input2(4, 112, 232, 24, _("Qth"));
|
||||
inpQth_log->tooltip(_("City of station worked"));
|
||||
inpQth_log->box(FL_DOWN_BOX);
|
||||
inpQth_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpQth_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpQth_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpQth_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpQth_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpQth_log->labelfont(0);
|
||||
inpQth_log->labelsize(14);
|
||||
inpQth_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpQth_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpQth_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpQth_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpQth_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpQth_log
|
||||
{ inpState_log = new Fl_Input2(240, 112, 44, 24, _("St"));
|
||||
inpState_log->tooltip(_("US state of station worked"));
|
||||
inpState_log->box(FL_DOWN_BOX);
|
||||
inpState_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpState_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpState_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpState_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpState_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpState_log->labelfont(0);
|
||||
inpState_log->labelsize(14);
|
||||
inpState_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpState_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpState_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpState_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpState_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpState_log
|
||||
{ inpVE_Prov_log = new Fl_Input2(287, 112, 44, 24, _("Pr"));
|
||||
inpVE_Prov_log->tooltip(_("Province of station worked"));
|
||||
inpVE_Prov_log->box(FL_DOWN_BOX);
|
||||
inpVE_Prov_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpVE_Prov_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpVE_Prov_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpVE_Prov_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpVE_Prov_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpVE_Prov_log->labelfont(0);
|
||||
inpVE_Prov_log->labelsize(14);
|
||||
inpVE_Prov_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpVE_Prov_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpVE_Prov_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpVE_Prov_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpVE_Prov_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpVE_Prov_log
|
||||
{ inpCountry_log = new Fl_Input2(334, 112, 166, 24, _("Country"));
|
||||
inpCountry_log->tooltip(_("Country of station worked"));
|
||||
inpCountry_log->box(FL_DOWN_BOX);
|
||||
inpCountry_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpCountry_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpCountry_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpCountry_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpCountry_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpCountry_log->labelfont(0);
|
||||
inpCountry_log->labelsize(14);
|
||||
inpCountry_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpCountry_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpCountry_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpCountry_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpCountry_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpCountry_log
|
||||
{ inpLoc_log = new Fl_Input2(506, 112, 80, 24, _("Loc"));
|
||||
inpLoc_log->tooltip(_("Stations grid square"));
|
||||
inpLoc_log->box(FL_DOWN_BOX);
|
||||
inpLoc_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpLoc_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpLoc_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpLoc_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpLoc_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpLoc_log->labelfont(0);
|
||||
inpLoc_log->labelsize(14);
|
||||
inpLoc_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpLoc_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpLoc_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpLoc_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpLoc_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpLoc_log
|
||||
{ inpNotes_log = new Fl_Input2(4, 156, 300, 72, _("Notes"));
|
||||
inpNotes_log->tooltip(_("Interesting notes"));
|
||||
inpNotes_log->type(4);
|
||||
inpNotes_log->box(FL_DOWN_BOX);
|
||||
inpNotes_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpNotes_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpNotes_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpNotes_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpNotes_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpNotes_log->labelfont(0);
|
||||
inpNotes_log->labelsize(14);
|
||||
inpNotes_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpNotes_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpNotes_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpNotes_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpNotes_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpNotes_log
|
||||
{ inpCNTY_log = new Fl_Input2(311, 156, 120, 24, _("County"));
|
||||
inpCNTY_log->tooltip(_("County"));
|
||||
inpCNTY_log->box(FL_DOWN_BOX);
|
||||
inpCNTY_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpCNTY_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpCNTY_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpCNTY_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpCNTY_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpCNTY_log->labelfont(0);
|
||||
inpCNTY_log->labelsize(14);
|
||||
inpCNTY_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpCNTY_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpCNTY_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpCNTY_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpCNTY_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpCNTY_log
|
||||
{ inpIOTA_log = new Fl_Input2(435, 156, 70, 24, _("IOTA"));
|
||||
inpIOTA_log->tooltip(_("Islands on the air"));
|
||||
inpIOTA_log->box(FL_DOWN_BOX);
|
||||
inpIOTA_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpIOTA_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpIOTA_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpIOTA_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpIOTA_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpIOTA_log->labelfont(0);
|
||||
inpIOTA_log->labelsize(14);
|
||||
inpIOTA_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpIOTA_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpIOTA_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpIOTA_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpIOTA_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpIOTA_log
|
||||
{ inpCQZ_log = new Fl_Input2(516, 156, 70, 24, _("CQZ"));
|
||||
inpCQZ_log->tooltip(_("CQ zone"));
|
||||
inpCQZ_log->box(FL_DOWN_BOX);
|
||||
inpCQZ_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpCQZ_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpCQZ_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpCQZ_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpCQZ_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpCQZ_log->labelfont(0);
|
||||
inpCQZ_log->labelsize(14);
|
||||
inpCQZ_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpCQZ_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpCQZ_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpCQZ_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpCQZ_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpCQZ_log
|
||||
{ inpITUZ_log = new Fl_Input2(311, 204, 80, 24, _("ITUZ"));
|
||||
inpITUZ_log->tooltip(_("ITU zone"));
|
||||
inpITUZ_log->box(FL_DOWN_BOX);
|
||||
inpITUZ_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpITUZ_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpITUZ_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpITUZ_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpITUZ_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpITUZ_log->labelfont(0);
|
||||
inpITUZ_log->labelsize(12);
|
||||
inpITUZ_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpITUZ_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpITUZ_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpITUZ_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpITUZ_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpITUZ_log
|
||||
{ inpCONT_log = new Fl_Input2(409, 204, 80, 24, _("CONT"));
|
||||
inpCONT_log->tooltip(_("Continent"));
|
||||
inpCONT_log->box(FL_DOWN_BOX);
|
||||
inpCONT_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpCONT_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpCONT_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpCONT_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpCONT_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpCONT_log->labelfont(0);
|
||||
inpCONT_log->labelsize(12);
|
||||
inpCONT_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpCONT_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpCONT_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpCONT_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpCONT_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpCONT_log
|
||||
{ inpDXCC_log = new Fl_Input2(506, 204, 80, 24, _("DXCC"));
|
||||
inpDXCC_log->tooltip(_("DXCC designator"));
|
||||
inpDXCC_log->box(FL_DOWN_BOX);
|
||||
inpDXCC_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpDXCC_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpDXCC_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpDXCC_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpDXCC_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpDXCC_log->labelfont(0);
|
||||
inpDXCC_log->labelsize(12);
|
||||
inpDXCC_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpDXCC_log->align(Fl_Align(FL_ALIGN_TOP_LEFT));
|
||||
inpDXCC_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpDXCC_log->align(FL_ALIGN_TOP_LEFT);
|
||||
inpDXCC_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpDXCC_log
|
||||
{ inpSerNoOut_log = new Fl_Input2(4, 252, 55, 24, _("Ser out"));
|
||||
inpSerNoOut_log->tooltip(_("Contest seral # sent"));
|
||||
inpSerNoOut_log->box(FL_DOWN_BOX);
|
||||
inpSerNoOut_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpSerNoOut_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpSerNoOut_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpSerNoOut_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpSerNoOut_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpSerNoOut_log->labelfont(0);
|
||||
inpSerNoOut_log->labelsize(14);
|
||||
inpSerNoOut_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpSerNoOut_log->align(Fl_Align(FL_ALIGN_TOP));
|
||||
inpSerNoOut_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpSerNoOut_log->align(FL_ALIGN_TOP);
|
||||
inpSerNoOut_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpSerNoOut_log
|
||||
{ inpMyXchg_log = new Fl_Input2(63, 252, 176, 24, _("Exchange Out"));
|
||||
inpMyXchg_log->tooltip(_("Contest exchange sent"));
|
||||
inpMyXchg_log->box(FL_DOWN_BOX);
|
||||
inpMyXchg_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpMyXchg_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpMyXchg_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpMyXchg_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpMyXchg_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpMyXchg_log->labelfont(0);
|
||||
inpMyXchg_log->labelsize(14);
|
||||
inpMyXchg_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpMyXchg_log->align(Fl_Align(FL_ALIGN_TOP));
|
||||
inpMyXchg_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpMyXchg_log->align(FL_ALIGN_TOP);
|
||||
inpMyXchg_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpMyXchg_log
|
||||
{ inpSerNoIn_log = new Fl_Input2(242, 252, 55, 24, _("Ser in"));
|
||||
inpSerNoIn_log->tooltip(_("Contest serial # received"));
|
||||
inpSerNoIn_log->box(FL_DOWN_BOX);
|
||||
inpSerNoIn_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpSerNoIn_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpSerNoIn_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpSerNoIn_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpSerNoIn_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpSerNoIn_log->labelfont(0);
|
||||
inpSerNoIn_log->labelsize(14);
|
||||
inpSerNoIn_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpSerNoIn_log->align(Fl_Align(FL_ALIGN_TOP));
|
||||
inpSerNoIn_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpSerNoIn_log->align(FL_ALIGN_TOP);
|
||||
inpSerNoIn_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpSerNoIn_log
|
||||
{ inpXchgIn_log = new Fl_Input2(299, 252, 176, 24, _("Exchange In"));
|
||||
inpXchgIn_log->tooltip(_("Contest exchange received"));
|
||||
inpXchgIn_log->box(FL_DOWN_BOX);
|
||||
inpXchgIn_log->color(FL_BACKGROUND2_COLOR);
|
||||
inpXchgIn_log->selection_color(FL_SELECTION_COLOR);
|
||||
inpXchgIn_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpXchgIn_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpXchgIn_log->labeltype(FL_NORMAL_LABEL);
|
||||
inpXchgIn_log->labelfont(0);
|
||||
inpXchgIn_log->labelsize(14);
|
||||
inpXchgIn_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpXchgIn_log->align(Fl_Align(FL_ALIGN_TOP));
|
||||
inpXchgIn_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpXchgIn_log->align(FL_ALIGN_TOP);
|
||||
inpXchgIn_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpXchgIn_log
|
||||
{ inpSearchString = new Fl_Input2(481, 252, 105, 24, _("Call Search"));
|
||||
inpSearchString->tooltip(_("Search for this callsign"));
|
||||
inpSearchString->box(FL_DOWN_BOX);
|
||||
inpSearchString->color(FL_BACKGROUND2_COLOR);
|
||||
inpSearchString->selection_color(FL_SELECTION_COLOR);
|
||||
inpSearchString->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
inpSearchString->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
inpSearchString->labeltype(FL_NORMAL_LABEL);
|
||||
inpSearchString->labelfont(0);
|
||||
inpSearchString->labelsize(14);
|
||||
inpSearchString->labelcolor(FL_FOREGROUND_COLOR);
|
||||
inpSearchString->align(Fl_Align(FL_ALIGN_TOP));
|
||||
inpSearchString->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
inpSearchString->align(FL_ALIGN_TOP);
|
||||
inpSearchString->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* inpSearchString
|
||||
{ txtNbrRecs_log = new Fl_Input2(54, 284, 65, 22, _("Recs"));
|
||||
txtNbrRecs_log->tooltip(_("# Records in logbook"));
|
||||
txtNbrRecs_log->box(FL_DOWN_BOX);
|
||||
txtNbrRecs_log->color(FL_BACKGROUND2_COLOR);
|
||||
txtNbrRecs_log->selection_color(FL_SELECTION_COLOR);
|
||||
txtNbrRecs_log->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
txtNbrRecs_log->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
txtNbrRecs_log->labeltype(FL_NORMAL_LABEL);
|
||||
txtNbrRecs_log->labelfont(0);
|
||||
txtNbrRecs_log->labelsize(14);
|
||||
txtNbrRecs_log->labelcolor(FL_FOREGROUND_COLOR);
|
||||
txtNbrRecs_log->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
txtNbrRecs_log->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
txtNbrRecs_log->align(FL_ALIGN_LEFT);
|
||||
txtNbrRecs_log->when(FL_WHEN_RELEASE);
|
||||
} // Fl_Input2* txtNbrRecs_log
|
||||
{ bNewSave = new Fl_Button(135, 284, 75, 22, _("New"));
|
||||
bNewSave->tooltip(_("New record / Save record"));
|
||||
bNewSave->shortcut(0x8004e);
|
||||
bNewSave->color(FL_LIGHT1);
|
||||
bNewSave->color((Fl_Color)FL_LIGHT1);
|
||||
bNewSave->selection_color((Fl_Color)48);
|
||||
bNewSave->callback((Fl_Callback*)cb_btnNewSave);
|
||||
} // Fl_Button* bNewSave
|
||||
{ bUpdateCancel = new Fl_Button(222, 284, 75, 22, _("Update"));
|
||||
bUpdateCancel->tooltip(_("Update the current record"));
|
||||
bUpdateCancel->shortcut(0x80055);
|
||||
bUpdateCancel->color(FL_LIGHT1);
|
||||
bUpdateCancel->color((Fl_Color)FL_LIGHT1);
|
||||
bUpdateCancel->selection_color((Fl_Color)48);
|
||||
bUpdateCancel->callback((Fl_Callback*)cb_btnUpdateCancel);
|
||||
} // Fl_Button* bUpdateCancel
|
||||
{ bDelete = new Fl_Button(310, 284, 75, 22, _("Delete"));
|
||||
bDelete->tooltip(_("Delete the current record"));
|
||||
bDelete->shortcut(0x80044);
|
||||
bDelete->color(FL_LIGHT1);
|
||||
bDelete->color((Fl_Color)FL_LIGHT1);
|
||||
bDelete->selection_color((Fl_Color)48);
|
||||
bDelete->callback((Fl_Callback*)cb_btnDelete);
|
||||
} // Fl_Button* bDelete
|
||||
{ bDialFreq = new Fl_Button(398, 284, 75, 22, _("Dial"));
|
||||
bDialFreq->tooltip(_("Retrieve for active modem use"));
|
||||
bDialFreq->shortcut(0x50066);
|
||||
bDialFreq->color(FL_LIGHT1);
|
||||
bDialFreq->color((Fl_Color)FL_LIGHT1);
|
||||
bDialFreq->selection_color((Fl_Color)48);
|
||||
bDialFreq->callback((Fl_Callback*)cb_btnDialFreq);
|
||||
} // Fl_Button* bDialFreq
|
||||
{ bSearchPrev = new Fl_Button(495, 284, 24, 22);
|
||||
bSearchPrev->tooltip(_("Find previous"));
|
||||
bSearchPrev->color(FL_LIGHT1);
|
||||
bSearchPrev->color((Fl_Color)FL_LIGHT1);
|
||||
bSearchPrev->selection_color((Fl_Color)48);
|
||||
bSearchPrev->callback((Fl_Callback*)cb_search);
|
||||
bSearchPrev->align(Fl_Align(FL_ALIGN_CENTER|FL_ALIGN_INSIDE));
|
||||
bSearchPrev->align(FL_ALIGN_CENTER|FL_ALIGN_INSIDE);
|
||||
bSearchPrev->image(new Fl_Pixmap(left_arrow_icon));
|
||||
} // Fl_Button* bSearchPrev
|
||||
{ bSearchNext = new Fl_Button(547, 284, 24, 22);
|
||||
bSearchNext->tooltip(_("Find next"));
|
||||
bSearchNext->color(FL_LIGHT1);
|
||||
bSearchNext->color((Fl_Color)FL_LIGHT1);
|
||||
bSearchNext->selection_color((Fl_Color)48);
|
||||
bSearchNext->callback((Fl_Callback*)cb_search);
|
||||
bSearchNext->align(Fl_Align(FL_ALIGN_CENTER|FL_ALIGN_INSIDE));
|
||||
bSearchNext->align(FL_ALIGN_CENTER|FL_ALIGN_INSIDE);
|
||||
bSearchNext->image(new Fl_Pixmap(right_arrow_icon));
|
||||
} // Fl_Button* bSearchNext
|
||||
{ wBrowser = new Table(2, 315, 586, 195);
|
||||
wBrowser->box(FL_DOWN_FRAME);
|
||||
wBrowser->color(FL_BACKGROUND2_COLOR);
|
||||
wBrowser->selection_color(FL_SELECTION_COLOR);
|
||||
wBrowser->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
wBrowser->selection_color((Fl_Color)FL_SELECTION_COLOR);
|
||||
wBrowser->labeltype(FL_NORMAL_LABEL);
|
||||
wBrowser->labelfont(0);
|
||||
wBrowser->labelsize(14);
|
||||
wBrowser->labelcolor(FL_FOREGROUND_COLOR);
|
||||
wBrowser->align(Fl_Align(FL_ALIGN_TOP));
|
||||
wBrowser->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
wBrowser->align(FL_ALIGN_TOP);
|
||||
wBrowser->when(FL_WHEN_RELEASE);
|
||||
wBrowser->end();
|
||||
Fl_Group::current()->resizable(wBrowser);
|
||||
|
@ -997,29 +997,29 @@ void create_logbook_dialogs() {
|
|||
dlgLogbook->end();
|
||||
} // Fl_Double_Window* dlgLogbook
|
||||
wBrowser->align (FL_ALIGN_TOP | FL_ALIGN_LEFT);
|
||||
wBrowser->addColumn (_("Date"),85);
|
||||
wBrowser->colcallback (0,cb_SortByDate);
|
||||
wBrowser->addColumn (_("Time"),47);
|
||||
wBrowser->addColumn (_("Callsign"),100);
|
||||
wBrowser->colcallback (2,cb_SortByCall);
|
||||
wBrowser->addColumn (_("Name"),110);
|
||||
wBrowser->addColumn (_("Frequency"),120);
|
||||
wBrowser->colcallback (4,cb_SortByFreq);
|
||||
wBrowser->addColumn (_("Mode"),103);
|
||||
wBrowser->colcallback (5,cb_SortByMode);
|
||||
wBrowser->addHiddenColumn ("rn");
|
||||
wBrowser->allowSort(true);
|
||||
wBrowser->callback(cb_browser);
|
||||
wBrowser->when(FL_WHEN_CHANGED);
|
||||
wBrowser->rowSize (FL_NORMAL_SIZE);
|
||||
wBrowser->headerSize (FL_NORMAL_SIZE);
|
||||
wBrowser->allowResize (1);
|
||||
wBrowser->gridEnabled (0);
|
||||
dlgLogbook->xclass(PACKAGE_TARNAME);
|
||||
wBrowser->addColumn (_("Date"),85);
|
||||
wBrowser->colcallback (0,cb_SortByDate);
|
||||
wBrowser->addColumn (_("Time"),47);
|
||||
wBrowser->addColumn (_("Callsign"),100);
|
||||
wBrowser->colcallback (2,cb_SortByCall);
|
||||
wBrowser->addColumn (_("Name"),110);
|
||||
wBrowser->addColumn (_("Frequency"),120);
|
||||
wBrowser->colcallback (4,cb_SortByFreq);
|
||||
wBrowser->addColumn (_("Mode"),103);
|
||||
wBrowser->colcallback (5,cb_SortByMode);
|
||||
wBrowser->addHiddenColumn ("rn");
|
||||
wBrowser->allowSort(true);
|
||||
wBrowser->callback(cb_browser);
|
||||
wBrowser->when(FL_WHEN_CHANGED);
|
||||
wBrowser->rowSize (FL_NORMAL_SIZE);
|
||||
wBrowser->headerSize (FL_NORMAL_SIZE);
|
||||
wBrowser->allowResize (1);
|
||||
wBrowser->gridEnabled (0);
|
||||
dlgLogbook->xclass(PACKAGE_TARNAME);
|
||||
{ wCabrillo = new Fl_Double_Window(675, 340, _("Cabrillo Setup"));
|
||||
{ Fl_Group* o = new Fl_Group(4, 4, 388, 305, _("Select Records to Export"));
|
||||
o->box(FL_ENGRAVED_FRAME);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
|
||||
{ chkCabBrowser = new Fl_Check_Browser(13, 25, 370, 245);
|
||||
} // Fl_Check_Browser* chkCabBrowser
|
||||
{ btnCabClearAll = new Fl_Button(69, 277, 110, 24, _("Clear All"));
|
||||
|
@ -1038,17 +1038,17 @@ void create_logbook_dialogs() {
|
|||
} // Fl_Button* btnCabCancel
|
||||
{ Fl_Group* o = new Fl_Group(390, 4, 283, 305, _("Select Cabrillo Contest & Fields"));
|
||||
o->box(FL_ENGRAVED_FRAME);
|
||||
o->align(Fl_Align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE));
|
||||
o->align(FL_ALIGN_TOP_LEFT|FL_ALIGN_INSIDE);
|
||||
{ cboContest = new Fl_ComboBox(486, 41, 180, 20, _("Contest:"));
|
||||
cboContest->box(FL_BORDER_BOX);
|
||||
cboContest->color(FL_BACKGROUND2_COLOR);
|
||||
cboContest->selection_color(FL_BACKGROUND_COLOR);
|
||||
cboContest->color((Fl_Color)FL_BACKGROUND2_COLOR);
|
||||
cboContest->selection_color((Fl_Color)FL_BACKGROUND_COLOR);
|
||||
cboContest->labeltype(FL_NORMAL_LABEL);
|
||||
cboContest->labelfont(0);
|
||||
cboContest->labelsize(14);
|
||||
cboContest->labelcolor(FL_FOREGROUND_COLOR);
|
||||
cboContest->labelcolor((Fl_Color)FL_FOREGROUND_COLOR);
|
||||
cboContest->callback((Fl_Callback*)cb_cboContest);
|
||||
cboContest->align(Fl_Align(FL_ALIGN_LEFT));
|
||||
cboContest->align(FL_ALIGN_LEFT);
|
||||
cboContest->when(FL_WHEN_RELEASE);
|
||||
cboContest->end();
|
||||
} // Fl_ComboBox* cboContest
|
||||
|
|
|
@ -1,23 +1,19 @@
|
|||
# data file for the Fltk User Interface Designer (fluid)
|
||||
version 1.0300
|
||||
version 1.0110
|
||||
i18n_type 1
|
||||
i18n_include "gettext.h"
|
||||
i18n_function _
|
||||
header_name {.h}
|
||||
code_name {.cxx}
|
||||
decl {\#include <config.h>} {private local
|
||||
}
|
||||
decl {\#include <config.h>} {}
|
||||
|
||||
decl {\#include <FL/Fl_Pixmap.H>} {private local
|
||||
}
|
||||
decl {\#include <FL/Fl_Pixmap.H>} {}
|
||||
|
||||
decl {\#include "logsupport.h"} {private local
|
||||
}
|
||||
decl {\#include "logsupport.h"} {}
|
||||
|
||||
decl {\#include "pixmaps.h"} {private local
|
||||
}
|
||||
decl {\#include "pixmaps.h"} {}
|
||||
|
||||
decl {\#include "flinput2.h"} {public local
|
||||
decl {\#include "flinput2.h"} {public
|
||||
}
|
||||
|
||||
Function {create_logbook_dialogs()} {open return_type void
|
||||
|
@ -307,11 +303,11 @@ btnSelectNotes->value(0);}
|
|||
}
|
||||
}
|
||||
Fl_Window dlgLogbook {
|
||||
label Logbook
|
||||
label Logbook open
|
||||
xywh {603 71 590 514} type Double resizable visible
|
||||
} {
|
||||
Fl_Input inpDate_log {
|
||||
label {Date On}
|
||||
label {Date On} selected
|
||||
tooltip {Date QSO started} xywh {4 24 100 24} align 5
|
||||
code0 {\#include "calendar.h"}
|
||||
code1 {inpDate_log->format(2);}
|
||||
|
@ -528,7 +524,7 @@ wBrowser->allowResize (1);
|
|||
wBrowser->gridEnabled (0);
|
||||
dlgLogbook->xclass(PACKAGE_TARNAME);} {}
|
||||
Fl_Window wCabrillo {
|
||||
label {Cabrillo Setup} selected
|
||||
label {Cabrillo Setup}
|
||||
xywh {516 612 675 340} type Double hide
|
||||
} {
|
||||
Fl_Group {} {
|
||||
|
|
|
@ -453,6 +453,13 @@ int main(int argc, char ** argv)
|
|||
FSEL::create();
|
||||
|
||||
make_colorsfonts();
|
||||
#if FLDIGI_FLTK_API_MAJOR == 1 && FLDIGI_FLTK_API_MINOR < 3
|
||||
CHARSETlabel->hide();
|
||||
CHARSETstatus->hide();
|
||||
#else
|
||||
CHARSETlabel->show();
|
||||
CHARSETstatus->show();
|
||||
#endif
|
||||
populate_charset_menu();
|
||||
set_default_charset();
|
||||
setTabColors();
|
||||
|
|
|
@ -258,7 +258,11 @@ void pskBrowser::addchr(int ch, int freq, unsigned char c, int md) // 0 < ch < c
|
|||
if (linechars[ch] > nchars) {
|
||||
if (progdefaults.VIEWERmarquee) {
|
||||
while (linechars[ch] > nchars) {
|
||||
#if FLDIGI_FLTK_API_MAJOR == 1 && FLDIGI_FLTK_API_MINOR == 3
|
||||
bwsrline[ch].erase(0, fl_utf8len1(bwsrline[ch][0]));
|
||||
#else
|
||||
bwsrline[ch].erase(0, 1);
|
||||
#endif
|
||||
linechars[ch]--;
|
||||
}
|
||||
} else {
|
||||
|
|
Ładowanie…
Reference in New Issue