add a small explanation on the parameters window.

git-svn-id: svn://svn.code.sf.net/p/hxcfloppyemu/code/HxCFloppyEmulator/HxCFloppyEmulator_software/trunk@1843 63fa2f70-6a9b-4bc4-b855-9c6a949b1d69
This commit is contained in:
Jean-François DEL NERO
2019-12-05 23:07:32 +00:00
parent 3a58d5eac8
commit 3bb6ae8ce3
2 changed files with 14 additions and 4 deletions
@@ -157,18 +157,27 @@ Parameters_box::~Parameters_box()
}
Parameters_box::Parameters_box()
: Fl_Double_Window(640,400)
: Fl_Double_Window(740,480)
{
editboxarray = NULL;
xsize = 640;
ysize = 400;
xsize = 740;
ysize = 480;
create_editbox();
button_ok = new Fl_Button(5, ysize-35, 80, 30, "Close" );
button_ok->callback(close_parameters,0);
hlptxt = new Fl_Output(5 + 80 + 10, ysize-40, xsize-90, 40);
hlptxt->box(FL_NO_BOX);
hlptxt->labeltype(FL_NO_LABEL);
hlptxt->textsize(12);
hlptxt->align(Fl_Align(FL_ALIGN_CENTER));
hlptxt->wrap(FL_INPUT_WRAP);
hlptxt->readonly(FL_INPUT_READONLY);
hlptxt->static_value("Advanced parameters to tweak the libhxcfe behavior.");
label("Parameters");
end();
@@ -27,7 +27,7 @@
#include <FL/Fl_Scroll.H>
#include <FL/Fl_Input.H>
#include <FL/Fl_Output.H>
typedef struct params_editbox_
{
@@ -39,6 +39,7 @@ class Parameters_box : public Fl_Double_Window {
Fl_Button *button_ok;
Fl_Double_Window *window;
Fl_Output *hlptxt;
int xsize,ysize;
public: