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
|
|
|
|
|
|
|
|
|
|
|
|
#include "FormBase.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
|
|
|
|
2002-06-13 13:43:51 +00:00
|
|
|
class FormTexinfo : public FormCB<ControlTexinfo, FormDB<FD_texinfo> > {
|
2001-10-09 15:20:10 +00:00
|
|
|
public:
|
|
|
|
///
|
2002-08-12 14:28:43 +00:00
|
|
|
FormTexinfo();
|
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
|