#include FORMS_H_LOCATION
#include "lyx_gui_misc.h"
-#include "figure_form.h"
#include "print_form.h"
-extern FD_form_figure * fd_form_figure;
extern FD_form_sendto * fd_form_sendto;
-extern void HideFiguresPopups();
-
// The code below is just waiting to go away really ...
+// I think it is Juergen's responsibility to port print_form,
+// since he wants it :)
extern "C"
int CancelCloseBoxCB(FL_FORM *, void *)
void RedrawAllBufferRelatedDialogs()
{
- if (fd_form_figure->form_figure->visible) {
- fl_redraw_form(fd_form_figure->form_figure);
- }
if (fd_form_sendto->form_sendto->visible) {
fl_redraw_form(fd_form_sendto->form_sendto);
}
void CloseAllBufferRelatedDialogs()
{
- if (fd_form_figure->form_figure->visible) {
- fl_hide_form(fd_form_figure->form_figure);
- }
if (fd_form_sendto->form_sendto->visible) {
fl_hide_form(fd_form_sendto->form_sendto);
}
- HideFiguresPopups();
-}
-
-void updateAllVisibleBufferRelatedDialogs(bool)
-{
- HideFiguresPopups();
}