lyx_mirror/src/frontends/xforms/FormGraphics.h
Angus Leeming cb5c32cbb0 J�rgen Spitzm�ller's changes to the graphics dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2916 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 09:03:17 +00:00

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