]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GVSpace.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / gtk / GVSpace.h
1 // -*- C++ -*-
2 /**
3  * \file GVSpace.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Spray
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GVSPACE_H
13 #define GVSPACE_H
14
15 #include "GViewBase.h"
16
17 #include "GtkLengthEntry.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 class ControlVSpace;
23
24 /** This class provides a GTK+ implementation of the VSpace Dialog.
25  */
26 class GVSpace : public GViewCB<ControlVSpace, GViewGladeB> {
27 public:
28         GVSpace(Dialog & parent);
29 private:
30         virtual void apply();
31         virtual void doBuild();
32         virtual void update();
33
34         void onSpacingComboChanged();
35
36         Gtk::ComboBox * spacingcombo_;
37         GtkLengthEntry * sizelengthentry_;
38         Gtk::CheckButton * protectcheck_;
39 };
40
41 } // namespace frontend
42 } // namespace lyx
43
44 #endif // GVSPACE_H