#include "layout.h"
#include "insets/lyxinset.h"
-
// Prototypes
extern FD_form_table_options * fd_form_table_options;
extern FD_form_table_extra * fd_form_table_extra;
extern BufferView * current_view;
+#ifndef NEW_TABULAR
static int Confirmed = false;
static int ActCell;
// in 1.1 anyway)
static int extra_col_cursor_x; // need no y's, one-line input fields
static int extra_multicol_cursor_x;
+#endif
// Joacim
bool update = true;
if (!current_view->available())
update = false;
-
+
+#ifndef NEW_TABULAR
if (update && current_view->text->cursor.par()->table) {
char buf[12];
string pwidth, special;
table->RotateTable());
fl_set_focus_object(fd_form_table_options->form_table_options,
fd_form_table_options->button_table_delete);
- } else if (fd_form_table_options->form_table_options->visible) {
+ } else
+#endif
+ if (fd_form_table_options->form_table_options->visible) {
fl_set_focus_object(fd_form_table_options->form_table_options,
fd_form_table_options->button_table_delete);
fl_hide_form(fd_form_table_options->form_table_options);
void TableOptionsCB(FL_OBJECT * ob, long)
{
+#ifndef NEW_TABULAR
LyXTable * table = 0;
int s, num = 0;
string special, str;
} else
UpdateLayoutTable(true);
return;
+#endif
}
void SetPWidthCB(FL_OBJECT * ob, long)
{
+#ifndef NEW_TABULAR
fl_set_object_label(fd_form_table_options->text_warning, "");
Confirmed = false;
if (ob == fd_form_table_options->input_column_width) {
}
MenuLayoutTable(0); // update for alignment
}
+#endif
}