2000-07-28 04:59:45 +00:00
|
|
|
|
// File modified by fdfix.sh for use by lyx (with xforms >= 0.88) and gettext
|
2000-07-11 15:08:54 +00:00
|
|
|
|
#include <config.h>
|
2001-11-26 10:19:58 +00:00
|
|
|
|
#include "xforms_helpers.h"
|
2000-07-11 15:08:54 +00:00
|
|
|
|
#include "gettext.h"
|
|
|
|
|
|
|
|
|
|
/* Form definition file generated with fdesign. */
|
|
|
|
|
|
|
|
|
|
#include FORMS_H_LOCATION
|
|
|
|
|
#include <stdlib.h>
|
2000-07-13 15:03:34 +00:00
|
|
|
|
#include "form_tabular.h"
|
2000-08-14 05:24:35 +00:00
|
|
|
|
#include "FormTabular.h"
|
|
|
|
|
|
|
|
|
|
FD_form_tabular::~FD_form_tabular()
|
|
|
|
|
{
|
2000-11-07 06:41:13 +00:00
|
|
|
|
if ( form->visible ) fl_hide_form( form );
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fl_free_form( form );
|
|
|
|
|
}
|
|
|
|
|
|
2000-07-11 15:08:54 +00:00
|
|
|
|
|
|
|
|
|
FD_form_tabular * FormTabular::build_tabular()
|
|
|
|
|
{
|
|
|
|
|
FL_OBJECT *obj;
|
|
|
|
|
FD_form_tabular *fdui = new FD_form_tabular;
|
|
|
|
|
|
2002-01-16 17:41:36 +00:00
|
|
|
|
fdui->form = fl_bgn_form(FL_NO_BOX, 510, 325);
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fdui->form->u_vdata = this;
|
2002-01-16 17:41:36 +00:00
|
|
|
|
obj = fl_add_box(FL_FLAT_BOX, 0, 0, 510, 325, "");
|
2000-08-07 15:21:05 +00:00
|
|
|
|
fdui->tabFolder = obj = fl_add_tabfolder(FL_TOP_TABFOLDER, 0, 0, 505, 250, _("Tabbed folder"));
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_resize(obj, FL_RESIZE_ALL);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
2001-02-19 16:01:31 +00:00
|
|
|
|
char const * const dummy = N_("Close|^[");
|
2002-01-16 17:41:36 +00:00
|
|
|
|
fdui->button_close = obj = fl_add_button(FL_NORMAL_BUTTON, 415, 290, 90, 30, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2002-01-07 09:50:19 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2002-01-16 17:41:36 +00:00
|
|
|
|
fdui->input_tabular_column = obj = fl_add_input(FL_NORMAL_INPUT, 65, 290, 60, 30, "");
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_TOP_LEFT);
|
2002-01-16 17:41:36 +00:00
|
|
|
|
fdui->input_tabular_row = obj = fl_add_input(FL_NORMAL_INPUT, 5, 290, 60, 30, "");
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_TOP_LEFT);
|
2002-01-16 17:41:36 +00:00
|
|
|
|
fdui->text_warning = obj = fl_add_text(FL_NORMAL_TEXT, 5, 255, 500, 30, "");
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
fl_end_form();
|
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fdui->form->fdui = fdui;
|
2000-07-11 15:08:54 +00:00
|
|
|
|
|
|
|
|
|
return fdui;
|
|
|
|
|
}
|
|
|
|
|
/*---------------------------------------*/
|
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
FD_form_tabular_options::~FD_form_tabular_options()
|
|
|
|
|
{
|
2000-11-07 06:41:13 +00:00
|
|
|
|
if ( form->visible ) fl_hide_form( form );
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fl_free_form( form );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2000-07-11 15:08:54 +00:00
|
|
|
|
FD_form_tabular_options * FormTabular::build_tabular_options()
|
|
|
|
|
{
|
|
|
|
|
FL_OBJECT *obj;
|
|
|
|
|
FD_form_tabular_options *fdui = new FD_form_tabular_options;
|
|
|
|
|
|
2000-10-26 09:36:33 +00:00
|
|
|
|
fdui->form = fl_bgn_form(FL_NO_BOX, 505, 225);
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fdui->form->u_vdata = this;
|
2000-10-26 09:36:33 +00:00
|
|
|
|
obj = fl_add_box(FL_FLAT_BOX, 0, 0, 505, 225, "");
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Append Column|#A");
|
|
|
|
|
fdui->button_append_column = obj = fl_add_button(FL_NORMAL_BUTTON, 10, 40, 120, 30, idex(_(dummy)));
|
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Delete Column|#O");
|
|
|
|
|
fdui->button_delete_column = obj = fl_add_button(FL_NORMAL_BUTTON, 140, 40, 120, 30, idex(_(dummy)));
|
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Append Row|#p");
|
|
|
|
|
fdui->button_append_row = obj = fl_add_button(FL_NORMAL_BUTTON, 10, 70, 120, 30, idex(_(dummy)));
|
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Delete Row|#w");
|
|
|
|
|
fdui->button_delete_row = obj = fl_add_button(FL_NORMAL_BUTTON, 140, 70, 120, 30, idex(_(dummy)));
|
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Set Borders|#S");
|
|
|
|
|
fdui->button_set_borders = obj = fl_add_button(FL_NORMAL_BUTTON, 10, 10, 120, 30, idex(_(dummy)));
|
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Unset Borders|#U");
|
|
|
|
|
fdui->button_unset_borders = obj = fl_add_button(FL_NORMAL_BUTTON, 140, 10, 120, 30, idex(_(dummy)));
|
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Longtable|#L");
|
|
|
|
|
fdui->radio_longtable = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 280, 30, 90, 25, idex(_(dummy)));
|
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Rotate 90<39>|#9");
|
|
|
|
|
fdui->radio_rotate_tabular = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 280, 55, 90, 25, idex(_(dummy)));
|
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-10-26 09:36:33 +00:00
|
|
|
|
obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 280, 20, 120, 75, _("Spec. Table"));
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
fl_end_form();
|
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fdui->form->fdui = fdui;
|
2000-07-11 15:08:54 +00:00
|
|
|
|
|
|
|
|
|
return fdui;
|
|
|
|
|
}
|
|
|
|
|
/*---------------------------------------*/
|
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
FD_form_column_options::~FD_form_column_options()
|
|
|
|
|
{
|
2000-11-07 06:41:13 +00:00
|
|
|
|
if ( form->visible ) fl_hide_form( form );
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fl_free_form( form );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2000-07-11 15:08:54 +00:00
|
|
|
|
FD_form_column_options * FormTabular::build_column_options()
|
|
|
|
|
{
|
|
|
|
|
FL_OBJECT *obj;
|
|
|
|
|
FD_form_column_options *fdui = new FD_form_column_options;
|
|
|
|
|
|
2001-10-23 11:35:48 +00:00
|
|
|
|
fdui->form = fl_bgn_form(FL_NO_BOX, 505, 225);
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fdui->form->u_vdata = this;
|
2001-10-23 11:35:48 +00:00
|
|
|
|
obj = fl_add_box(FL_FLAT_BOX, 0, 0, 505, 225, "");
|
2001-12-19 16:13:21 +00:00
|
|
|
|
obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 325, 20, 170, 195, _("Fixed Width"));
|
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 20, 20, 170, 105, _("Borders"));
|
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 200, 20, 115, 105, _("H. Alignment"));
|
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 20, 140, 295, 75, _("Special column"));
|
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_TOP);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_(" |#W");
|
|
|
|
|
fdui->input_column_width = obj = fl_add_input(FL_NORMAL_INPUT, 335, 55, 75, 30, idex(_(dummy)));
|
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_TOP_LEFT);
|
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Top|#t");
|
|
|
|
|
fdui->radio_border_top = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 85, 45, 25, 25, idex(_(dummy)));
|
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_TOP_LEFT);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Bottom|#b");
|
|
|
|
|
fdui->radio_border_bottom = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 85, 75, 25, 25, idex(_(dummy)));
|
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_BOTTOM_LEFT);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Left|#l");
|
|
|
|
|
fdui->radio_border_left = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 65, 60, 25, 25, idex(_(dummy)));
|
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Right|#r");
|
|
|
|
|
fdui->radio_border_right = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 105, 60, 25, 25, idex(_(dummy)));
|
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_RIGHT);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Left|#e");
|
2002-01-07 11:28:09 +00:00
|
|
|
|
fdui->radio_align_left = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 205, 35, 105, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2002-01-07 11:28:09 +00:00
|
|
|
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Right|#i");
|
2002-01-07 11:28:09 +00:00
|
|
|
|
fdui->radio_align_right = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 205, 85, 105, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2002-01-07 11:28:09 +00:00
|
|
|
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Center|#c");
|
2002-01-07 11:28:09 +00:00
|
|
|
|
fdui->radio_align_center = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 205, 60, 105, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2002-01-07 11:28:09 +00:00
|
|
|
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Top|#p");
|
2002-01-25 10:21:46 +00:00
|
|
|
|
fdui->radio_valign_top = obj = fl_add_round3dbutton(FL_PUSH_BUTTON, 330, 135, 155, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2002-01-25 10:21:46 +00:00
|
|
|
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
2000-07-17 14:31:07 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Center|#n");
|
2002-01-25 10:21:46 +00:00
|
|
|
|
fdui->radio_valign_center = obj = fl_add_round3dbutton(FL_PUSH_BUTTON, 330, 160, 155, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2002-01-25 10:21:46 +00:00
|
|
|
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
2000-07-17 14:31:07 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Bottom|#o");
|
2002-01-25 10:21:46 +00:00
|
|
|
|
fdui->radio_valign_bottom = obj = fl_add_round3dbutton(FL_PUSH_BUTTON, 330, 185, 155, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2002-01-25 10:21:46 +00:00
|
|
|
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
2000-07-17 14:31:07 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
2001-12-19 16:13:21 +00:00
|
|
|
|
char const * const dummy = N_("LaTeX Argument|#A");
|
|
|
|
|
fdui->input_special_alignment = obj = fl_add_input(FL_NORMAL_INPUT, 30, 180, 275, 30, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-10-26 09:36:33 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_TOP_LEFT);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
2001-12-19 16:13:21 +00:00
|
|
|
|
char const * const dummy = N_(" |#L");
|
|
|
|
|
fdui->choice_value_column_width = obj = fl_add_choice(FL_NORMAL_CHOICE, 415, 55, 75, 30, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fl_set_object_boxtype(obj, FL_FRAME_BOX);
|
2000-10-26 09:36:33 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_TOP_LEFT);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2001-12-19 16:13:21 +00:00
|
|
|
|
obj = fl_add_text(FL_NORMAL_TEXT, 335, 110, 155, 25, _("V. Alignment"));
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
2000-10-26 09:36:33 +00:00
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_end_form();
|
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fdui->form->fdui = fdui;
|
2000-07-11 15:08:54 +00:00
|
|
|
|
|
|
|
|
|
return fdui;
|
|
|
|
|
}
|
|
|
|
|
/*---------------------------------------*/
|
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
FD_form_cell_options::~FD_form_cell_options()
|
|
|
|
|
{
|
2000-11-07 06:41:13 +00:00
|
|
|
|
if ( form->visible ) fl_hide_form( form );
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fl_free_form( form );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2000-07-11 15:08:54 +00:00
|
|
|
|
FD_form_cell_options * FormTabular::build_cell_options()
|
|
|
|
|
{
|
|
|
|
|
FL_OBJECT *obj;
|
|
|
|
|
FD_form_cell_options *fdui = new FD_form_cell_options;
|
|
|
|
|
|
2000-10-26 09:36:33 +00:00
|
|
|
|
fdui->form = fl_bgn_form(FL_NO_BOX, 505, 225);
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fdui->form->u_vdata = this;
|
2000-10-26 09:36:33 +00:00
|
|
|
|
obj = fl_add_box(FL_FLAT_BOX, 0, 0, 505, 225, "");
|
2001-12-19 16:13:21 +00:00
|
|
|
|
obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 10, 135, 140, 80, _("Special Cell"));
|
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 160, 135, 175, 80, _("Special Multicolumn"));
|
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 345, 20, 150, 195, _("Fixed Width"));
|
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 190, 20, 145, 100, _("H. Alignment"));
|
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
obj = fl_add_labelframe(FL_ENGRAVED_FRAME, 10, 20, 170, 100, _("Borders"));
|
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Top|#t");
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fdui->radio_border_top = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 75, 45, 25, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_TOP_LEFT);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Bottom|#b");
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fdui->radio_border_bottom = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 75, 75, 25, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_BOTTOM_LEFT);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Left|#l");
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fdui->radio_border_left = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 55, 60, 25, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Right|#r");
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fdui->radio_border_right = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 95, 60, 25, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_RIGHT);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Left|#e");
|
2002-01-07 11:28:09 +00:00
|
|
|
|
fdui->radio_align_left = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 205, 35, 110, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2002-01-07 11:28:09 +00:00
|
|
|
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Right|#i");
|
2002-01-07 11:28:09 +00:00
|
|
|
|
fdui->radio_align_right = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 205, 85, 115, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2002-01-07 11:28:09 +00:00
|
|
|
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Center|#c");
|
2002-01-07 11:28:09 +00:00
|
|
|
|
fdui->radio_align_center = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 205, 60, 115, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2002-01-07 11:28:09 +00:00
|
|
|
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Top|#p");
|
2002-01-25 10:21:46 +00:00
|
|
|
|
fdui->radio_valign_top = obj = fl_add_round3dbutton(FL_PUSH_BUTTON, 350, 135, 125, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2002-01-25 10:21:46 +00:00
|
|
|
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Center|#n");
|
2002-01-25 10:21:46 +00:00
|
|
|
|
fdui->radio_valign_center = obj = fl_add_round3dbutton(FL_PUSH_BUTTON, 350, 160, 125, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2002-01-25 10:21:46 +00:00
|
|
|
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Bottom|#o");
|
2002-01-25 10:21:46 +00:00
|
|
|
|
fdui->radio_valign_bottom = obj = fl_add_round3dbutton(FL_PUSH_BUTTON, 350, 185, 125, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2002-01-25 10:21:46 +00:00
|
|
|
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
2001-12-19 16:13:21 +00:00
|
|
|
|
char const * const dummy = N_(" |#W");
|
|
|
|
|
fdui->input_mcolumn_width = obj = fl_add_input(FL_NORMAL_INPUT, 350, 50, 75, 30, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_TOP_LEFT);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
2001-12-19 16:13:21 +00:00
|
|
|
|
char const * const dummy = N_("LaTeX Argument|#A");
|
|
|
|
|
fdui->input_special_multialign = obj = fl_add_input(FL_NORMAL_INPUT, 165, 180, 165, 30, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_TOP_LEFT);
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Multicolumn|#M");
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fdui->radio_multicolumn = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 20, 140, 130, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Use Minipage|#s");
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fdui->radio_useminipage = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 20, 165, 130, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_("Rotate 90<39>|#9");
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fdui->radio_rotate_cell = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 20, 190, 130, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2001-12-19 16:13:21 +00:00
|
|
|
|
{
|
|
|
|
|
char const * const dummy = N_(" |#L");
|
|
|
|
|
fdui->choice_value_mcolumn_width = obj = fl_add_choice(FL_NORMAL_CHOICE, 430, 50, 60, 30, idex(_(dummy)));
|
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2001-10-23 11:35:48 +00:00
|
|
|
|
fl_set_object_boxtype(obj, FL_FRAME_BOX);
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_TOP_LEFT);
|
2001-10-23 11:35:48 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2001-12-19 16:13:21 +00:00
|
|
|
|
obj = fl_add_text(FL_NORMAL_TEXT, 350, 110, 135, 25, _("V. Alignment"));
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_end_form();
|
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fdui->form->fdui = fdui;
|
2000-07-11 15:08:54 +00:00
|
|
|
|
|
|
|
|
|
return fdui;
|
|
|
|
|
}
|
|
|
|
|
/*---------------------------------------*/
|
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
FD_form_longtable_options::~FD_form_longtable_options()
|
|
|
|
|
{
|
2000-11-07 06:41:13 +00:00
|
|
|
|
if ( form->visible ) fl_hide_form( form );
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fl_free_form( form );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2000-07-11 15:08:54 +00:00
|
|
|
|
FD_form_longtable_options * FormTabular::build_longtable_options()
|
|
|
|
|
{
|
|
|
|
|
FL_OBJECT *obj;
|
|
|
|
|
FD_form_longtable_options *fdui = new FD_form_longtable_options;
|
|
|
|
|
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fdui->form = fl_bgn_form(FL_NO_BOX, 505, 225);
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fdui->form->u_vdata = this;
|
2001-12-19 16:13:21 +00:00
|
|
|
|
obj = fl_add_box(FL_FLAT_BOX, 0, 0, 505, 225, "");
|
|
|
|
|
obj = fl_add_frame(FL_ENGRAVED_FRAME, 10, 15, 485, 30, "");
|
|
|
|
|
obj = fl_add_frame(FL_ENGRAVED_FRAME, 10, 150, 485, 35, "");
|
|
|
|
|
obj = fl_add_frame(FL_ENGRAVED_FRAME, 10, 115, 485, 35, "");
|
|
|
|
|
obj = fl_add_frame(FL_ENGRAVED_FRAME, 10, 80, 485, 35, "");
|
|
|
|
|
obj = fl_add_frame(FL_ENGRAVED_FRAME, 10, 45, 485, 35, "");
|
|
|
|
|
fdui->radio_lt_firsthead = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 135, 85, 60, 25, _("On"));
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fdui->radio_lt_head = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 135, 50, 60, 25, _("On"));
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fdui->radio_lt_foot = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 135, 120, 60, 25, _("On"));
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fdui->radio_lt_lastfoot = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 135, 155, 60, 25, _("On"));
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2000-12-06 22:24:17 +00:00
|
|
|
|
{
|
2001-12-19 16:13:21 +00:00
|
|
|
|
char const * const dummy = N_("Page break on the current row|#B");
|
|
|
|
|
fdui->radio_lt_newpage = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 10, 190, 245, 25, idex(_(dummy)));
|
2000-12-06 22:24:17 +00:00
|
|
|
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
|
|
|
|
}
|
2001-03-15 13:37:04 +00:00
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
2001-12-19 16:13:21 +00:00
|
|
|
|
fdui->check_head_2border_above = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 205, 50, 85, 25, _("Double"));
|
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
|
|
|
|
fdui->check_head_2border_below = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 300, 50, 75, 25, _("Double"));
|
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
|
|
|
|
obj = fl_add_text(FL_NORMAL_TEXT, 15, 50, 120, 25, _("Header"));
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
2000-10-26 09:36:33 +00:00
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
2001-12-19 16:13:21 +00:00
|
|
|
|
obj = fl_add_text(FL_NORMAL_TEXT, 15, 85, 120, 25, _("First Header"));
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
2000-10-26 09:36:33 +00:00
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
2001-12-19 16:13:21 +00:00
|
|
|
|
obj = fl_add_text(FL_NORMAL_TEXT, 15, 120, 120, 25, _("Footer"));
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
obj = fl_add_text(FL_NORMAL_TEXT, 15, 155, 120, 25, _("Last Footer"));
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
fdui->check_1head_2border_above = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 205, 85, 85, 25, _("Double"));
|
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
|
|
|
|
fdui->check_foot_2border_above = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 205, 120, 85, 25, _("Double"));
|
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
|
|
|
|
fdui->check_lastfoot_2border_above = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 205, 155, 85, 25, _("Double"));
|
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
|
|
|
|
fdui->check_1head_2border_below = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 300, 85, 75, 25, _("Double"));
|
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
|
|
|
|
fdui->check_foot_2border_below = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 300, 120, 75, 25, _("Double"));
|
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
|
|
|
|
fdui->check_lastfoot_2border_below = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 300, 155, 75, 25, _("Double"));
|
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
|
|
|
|
fdui->check_1head_empty = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 390, 85, 75, 25, _("Is Empty"));
|
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
|
|
|
|
fdui->check_lastfoot_empty = obj = fl_add_checkbutton(FL_PUSH_BUTTON, 390, 155, 75, 25, _("Is Empty"));
|
|
|
|
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
|
|
|
|
|
obj = fl_add_text(FL_NORMAL_TEXT, 205, 20, 85, 20, _("Border Above"));
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
obj = fl_add_text(FL_NORMAL_TEXT, 300, 20, 85, 20, _("Border Below"));
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
obj = fl_add_text(FL_NORMAL_TEXT, 390, 20, 85, 20, _("Contents"));
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
obj = fl_add_text(FL_NORMAL_TEXT, 135, 20, 60, 20, _("Status"));
|
|
|
|
|
fl_set_object_lalign(obj, FL_ALIGN_LEFT|FL_ALIGN_INSIDE);
|
2000-07-11 15:08:54 +00:00
|
|
|
|
fl_set_object_lstyle(obj, FL_BOLD_STYLE);
|
|
|
|
|
fl_end_form();
|
|
|
|
|
|
2000-08-14 05:24:35 +00:00
|
|
|
|
fdui->form->fdui = fdui;
|
2000-07-11 15:08:54 +00:00
|
|
|
|
|
|
|
|
|
return fdui;
|
|
|
|
|
}
|
|
|
|
|
/*---------------------------------------*/
|
|
|
|
|
|