]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GMathDelim.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GMathDelim.h
1 // -*- C++ -*-
2 /**
3  * \file GMathDelim.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Huang Ying
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GMATH_DELIM_H
13 #define GMATH_DELIM_H
14
15 #include "GViewBase.h"
16 #include "GXpmBtnTbl.h"
17
18 #include "support/lstrings.h"
19
20 namespace lyx {
21 namespace frontend {
22
23 class ControlMath;
24
25 class GMathDelim : public GViewCB<ControlMath, GViewGladeB> {
26 public:
27         GMathDelim(Dialog & parent);
28 private:
29         virtual void apply();
30         virtual void update();
31         virtual void doBuild();
32         void setDemoPixmap();
33         void updateDemoPixmap();
34         void onDelimTblClicked(int row, int col);
35         void onRadioClicked();
36         GXpmBtnTbl delimTbl_;
37         Gtk::Button * demo_;
38         Gtk::RadioButton * left_;
39         Gtk::RadioButton * right_;
40         Gtk::RadioButton * both_;
41         Glib::RefPtr<Gdk::Pixmap> pixmap_;
42         Glib::RefPtr<Gdk::Bitmap> mask_;
43         Glib::RefPtr<Gdk::GC> gcMask_;
44         int leftSel_;
45         int rightSel_;
46 };
47
48 } // namespace frontend
49 } // namespace lyx
50
51 #endif