2001-10-09 15:20:10 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file FormTexinfo.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
2002-03-11 17:00:41 +00:00
|
|
|
* \author Herbert Voss, voss@perce.de
|
2001-10-09 15:20:10 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMTEXINFO_H
|
|
|
|
#define FORMTEXINFO_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#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:
|
|
|
|
///
|
|
|
|
FormTexinfo(ControlTexinfo &);
|
|
|
|
|
|
|
|
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
|