2001-02-12 14:09:09 +00:00
|
|
|
/**
|
|
|
|
* \file FormSplash.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author Allan Rae
|
|
|
|
* \author John Levon
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMSPLASH_H
|
|
|
|
#define FORMSPLASH_H
|
|
|
|
|
2001-03-15 13:37:04 +00:00
|
|
|
#include <boost/smart_ptr.hpp>
|
|
|
|
|
2001-02-12 14:09:09 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-03-27 13:00:41 +00:00
|
|
|
#include "ViewBase.h"
|
|
|
|
|
|
|
|
class ControlSplash;
|
2001-02-12 14:09:09 +00:00
|
|
|
struct FD_form_splash;
|
|
|
|
|
|
|
|
/** The startup splash screen
|
|
|
|
*/
|
2001-03-27 13:00:41 +00:00
|
|
|
class FormSplash : public ViewSplash {
|
2001-02-12 14:09:09 +00:00
|
|
|
public:
|
2001-03-15 13:37:04 +00:00
|
|
|
///
|
2001-03-27 13:00:41 +00:00
|
|
|
FormSplash(ControlSplash &);
|
2001-02-12 14:09:09 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
/// Build the dialog
|
2001-03-12 12:44:56 +00:00
|
|
|
void build();
|
2001-03-27 13:00:41 +00:00
|
|
|
/// hide the dialog
|
|
|
|
void hide();
|
|
|
|
/// show the dialog
|
|
|
|
void show();
|
|
|
|
|
|
|
|
/// The parent controller
|
|
|
|
ControlSplash & controller() const;
|
|
|
|
|
2001-02-12 14:09:09 +00:00
|
|
|
/// Fdesign generated method
|
|
|
|
FD_form_splash * build_splash();
|
|
|
|
|
|
|
|
/// Real GUI implementation.
|
2001-03-15 13:37:04 +00:00
|
|
|
boost::scoped_ptr<FD_form_splash> dialog_;
|
2001-02-12 14:09:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMSPLASH_H
|