2001-10-09 15:20:10 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file FormTexinfo.h
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-10-09 15:20:10 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author Herbert Voss
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-10-09 15:20:10 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMTEXINFO_H
|
|
|
|
#define FORMTEXINFO_H
|
|
|
|
|
|
|
|
|
2003-06-19 17:16:12 +00:00
|
|
|
#include "FormDialogView.h"
|
2001-10-10 16:45:05 +00:00
|
|
|
#include "ControlTexinfo.h"
|
2001-10-09 15:20:10 +00:00
|
|
|
|
2002-06-13 13:43:51 +00:00
|
|
|
struct FD_texinfo;
|
2001-10-09 15:20:10 +00:00
|
|
|
|
2003-06-19 17:16:12 +00:00
|
|
|
class FormTexinfo
|
|
|
|
: public FormController<ControlTexinfo, FormView<FD_texinfo> > {
|
2001-10-09 15:20:10 +00:00
|
|
|
public:
|
|
|
|
///
|
2003-06-19 17:16:12 +00:00
|
|
|
FormTexinfo(Dialog &);
|
2001-10-09 15:20:10 +00:00
|
|
|
private:
|
|
|
|
/// not needed
|
|
|
|
virtual void apply() {}
|
|
|
|
/// Build the dialog.
|
|
|
|
virtual void build();
|
|
|
|
/// not needed
|
|
|
|
virtual void update() {}
|
|
|
|
/// Filter the inputs on callback from xforms
|
|
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
|
|
|
///
|
2001-10-10 16:45:05 +00:00
|
|
|
void updateStyles(ControlTexinfo::texFileSuffix);
|
2001-10-09 15:20:10 +00:00
|
|
|
///
|
2001-10-10 16:45:05 +00:00
|
|
|
ControlTexinfo::texFileSuffix activeStyle;
|
2001-10-09 15:20:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMTEXINFO_H
|