mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
cb5c32cbb0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2916 a592a061-630c-0410-9148-cb99ea01b6c8
54 lines
1.2 KiB
C++
54 lines
1.2 KiB
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 2000-2001 The LyX Team.
|
|
*
|
|
* ======================================================
|
|
*
|
|
* \file FormGraphics.h
|
|
* \author Baruch Even, baruch.even@writeme.com
|
|
*/
|
|
|
|
#ifndef FORMGRAPHICS_H
|
|
#define FORMGRAPHICS_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "FormBase.h"
|
|
#include "RadioButtonGroup.h"
|
|
|
|
class ControlGraphics;
|
|
struct FD_form_graphics;
|
|
|
|
/** This class provides an XForms implementation of the Graphics Dialog.
|
|
*/
|
|
class FormGraphics : public FormCB<ControlGraphics, FormDB<FD_form_graphics> > {
|
|
public:
|
|
///
|
|
FormGraphics(ControlGraphics &);
|
|
|
|
private:
|
|
/// Set the Params variable for the Controller.
|
|
virtual void apply();
|
|
/// Build the dialog.
|
|
virtual void build();
|
|
/// Update dialog before/whilst showing it.
|
|
virtual void update();
|
|
/// Filter the inputs on callback from xforms
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
|
|
|
/// Verify that the input is correct. If not disable ok/apply buttons.
|
|
ButtonPolicy::SMInput checkInput();
|
|
|
|
/// Fdesign generated method
|
|
FD_form_graphics * build_graphics();
|
|
};
|
|
|
|
|
|
#endif // FORMGRAPHICS_H
|