]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_gui_misc.C
Herbert's upgrade to the recognized graphics formats.
[lyx.git] / src / lyx_gui_misc.C
index fb98996455345d615674f674bd7a9b68bdfd7928..cd70b42abaf81ab60d245a3d1af85771be84549c 100644 (file)
 #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 *)
@@ -35,9 +33,6 @@ 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);
        }
@@ -45,16 +40,7 @@ void RedrawAllBufferRelatedDialogs()
 
 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();
 }