4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef GMATHSMATRIX_H
13 #define GMATHSMATRIX_H
15 #include "GViewBase.h"
23 * This class provides an GTK implementation of the maths matrix dialog.
26 : public GViewCB<ControlMath, GViewGladeB> {
28 GMathsMatrix(Dialog &);
29 int AlignFilter(char const *, int);
32 virtual void doBuild();
33 virtual void update();
35 void updateHorzAlignEntry();
36 int countbars(Glib::ustring str);
38 Gtk::RadioButton * topradio_;
39 Gtk::RadioButton * bottomradio_;
40 Gtk::RadioButton * centerradio_;
41 Gtk::SpinButton * rowsspin_;
42 Gtk::SpinButton * columnsspin_;
43 Gtk::Entry * horzalignentry_;
44 bool ignoreHorzAlign_;
47 } // namespace frontend
50 #endif // GMATHSMATRIX_H