]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlButtons.C
implement getLabelList
[lyx.git] / src / frontends / controllers / ControlButtons.C
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  *
5  *           LyX, The Document Processor
6  *
7  *           Copyright 2001 The LyX Team.
8  *
9  * ======================================================
10  *
11  * \file ControlButtons.C
12  * \author Angus Leeming <a.leeming@ic.ac.uk>
13  */
14
15 #include <config.h>
16
17 #ifdef __GNUG__
18 #pragma implementation
19 #endif
20
21 #include "ControlButtons.h"
22
23 void ControlButtons::ApplyButton()
24 {
25         apply();
26         bc().apply();
27 }
28
29
30 void ControlButtons::OKButton()
31 {
32         apply();
33         hide();
34         bc().ok();
35 }
36
37
38 void ControlButtons::CancelButton()
39 {
40         hide();
41         bc().cancel();
42 }
43
44
45 void ControlButtons::RestoreButton()
46 {
47         update();
48         bc().restore();
49 }