]> git.lyx.org Git - lyx.git/blob - src/frontends/Dialogs.C
(John): translate dialog titles.
[lyx.git] / src / frontends / Dialogs.C
1 /* This file is part of
2  * ======================================================
3  *
4  *           LyX, The Document Processor
5  *
6  *           Copyright 1995 Matthias Ettrich
7  *           Copyright 1995-2001 The LyX Team.
8  *
9  * ======================================================
10  *
11  * \file Dialogs.C
12  * \author Angus Leeming <a.leeming@ic.ac.uk>
13  *
14  * Methods common to all frontends' Dialogs that should not be inline
15  */
16
17 #include <config.h>
18
19 #ifdef __GNUG__
20 #pragma implementation
21 #endif
22
23 #include "Dialogs.h"
24 #include "support/LAssert.h"
25
26 // Signal enabling all visible dialogs to be redrawn if so desired.
27 // E.g., when the GUI colours have been remapped.
28 SigC::Signal0<void> Dialogs::redrawGUI;
29
30
31 // toggle tooltips on/off in all dialogs.
32 SigC::Signal0<void> Dialogs::toggleTooltips;
33
34 void Dialogs::add(DialogBase * ptr)
35 {
36         lyx::Assert(ptr);
37         dialogs_.push_back(db_ptr(ptr));
38 }