mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
85e30074c2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3074 a592a061-630c-0410-9148-cb99ea01b6c8
38 lines
975 B
C++
38 lines
975 B
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995 1996 Matthias Ettrich
|
|
* Copyright 1995-2001 The LyX Team
|
|
*
|
|
* ====================================================== */
|
|
|
|
// Misc. GUI specific routines
|
|
|
|
#ifndef LYX_GUI_MISC_H
|
|
#define LYX_GUI_MISC_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include FORMS_H_LOCATION
|
|
|
|
/// Prevents LyX from being killed when the close box is pressed in a popup.
|
|
extern "C"
|
|
int CancelCloseBoxCB(FL_FORM *, void *);
|
|
|
|
/** Redraw the form (on receipt of a Signal indicating, for example,
|
|
that the xform colors have been re-mapped). */
|
|
void RedrawAllBufferRelatedDialogs();
|
|
|
|
/// Prevents LyX from crashing when no buffers available
|
|
void CloseAllBufferRelatedDialogs();
|
|
|
|
/// Ensures info in visible popups are always correct.
|
|
void updateAllVisibleBufferRelatedDialogs(bool switched = false);
|
|
|
|
#endif
|