1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich
7 * Copyright 1995-2001 The LyX Team.
9 * ====================================================== */
14 #pragma implementation
17 #include FORMS_H_LOCATION
19 #include "lyx_gui_misc.h"
20 #include "figure_form.h"
21 #include "print_form.h"
23 extern FD_form_figure * fd_form_figure;
24 extern FD_form_sendto * fd_form_sendto;
26 extern void HideFiguresPopups();
28 // The code below is just waiting to go away really ...
31 int CancelCloseBoxCB(FL_FORM *, void *)
36 void RedrawAllBufferRelatedDialogs()
38 if (fd_form_figure->form_figure->visible) {
39 fl_redraw_form(fd_form_figure->form_figure);
41 if (fd_form_sendto->form_sendto->visible) {
42 fl_redraw_form(fd_form_sendto->form_sendto);
46 void CloseAllBufferRelatedDialogs()
48 if (fd_form_figure->form_figure->visible) {
49 fl_hide_form(fd_form_figure->form_figure);
51 if (fd_form_sendto->form_sendto->visible) {
52 fl_hide_form(fd_form_sendto->form_sendto);
57 void updateAllVisibleBufferRelatedDialogs(bool)