lyx_mirror/src/frontends/gtk/GMathDelim.h
Lars Gullik Bjønnes 9122d5b2df header file reorder
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9012 a592a061-630c-0410-9148-cb99ea01b6c8
2004-09-26 18:36:07 +00:00

52 lines
1.0 KiB
C++

// -*- C++ -*-
/**
* \file GMathDelim.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Huang Ying
*
* Full author contact details are available in file CREDITS.
*/
#ifndef GMATH_DELIM_H
#define GMATH_DELIM_H
#include "GViewBase.h"
#include "GXpmBtnTbl.h"
#include "support/lstrings.h"
namespace lyx {
namespace frontend {
class ControlMath;
class GMathDelim : public GViewCB<ControlMath, GViewGladeB> {
public:
GMathDelim(Dialog & parent);
private:
virtual void apply();
virtual void update();
virtual void doBuild();
void setDemoPixmap();
void updateDemoPixmap();
void onDelimTblClicked(int row, int col);
void onRadioClicked();
GXpmBtnTbl delimTbl_;
Gtk::Button * demo_;
Gtk::RadioButton * left_;
Gtk::RadioButton * right_;
Gtk::RadioButton * both_;
Glib::RefPtr<Gdk::Pixmap> pixmap_;
Glib::RefPtr<Gdk::Bitmap> mask_;
Glib::RefPtr<Gdk::GC> gcMask_;
int leftSel_;
int rightSel_;
};
} // namespace frontend
} // namespace lyx
#endif