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
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-03-12 12:44:56 +00:00
|
|
|
#include "DialogBase.h"
|
|
|
|
|
2001-02-12 14:09:09 +00:00
|
|
|
struct FD_form_splash;
|
2001-03-12 12:44:56 +00:00
|
|
|
class Dialogs;
|
|
|
|
class LyXView;
|
2001-02-12 14:09:09 +00:00
|
|
|
|
|
|
|
/** The startup splash screen
|
|
|
|
*/
|
2001-03-12 12:44:56 +00:00
|
|
|
class FormSplash : public DialogBase {
|
2001-02-12 14:09:09 +00:00
|
|
|
public:
|
|
|
|
FormSplash(LyXView *, Dialogs *);
|
|
|
|
|
|
|
|
~FormSplash();
|
|
|
|
|
2001-03-12 12:44:56 +00:00
|
|
|
/// hide (and destroy) the dialog
|
|
|
|
void hide();
|
2001-02-12 14:09:09 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
/// show the dialog
|
2001-03-12 12:44:56 +00:00
|
|
|
void show();
|
2001-02-12 14:09:09 +00:00
|
|
|
/// Build the dialog
|
2001-03-12 12:44:56 +00:00
|
|
|
void build();
|
2001-02-12 14:09:09 +00:00
|
|
|
/// Fdesign generated method
|
|
|
|
FD_form_splash * build_splash();
|
|
|
|
|
|
|
|
/// Real GUI implementation.
|
|
|
|
FD_form_splash * dialog_;
|
2001-03-12 12:44:56 +00:00
|
|
|
/// our container
|
|
|
|
Dialogs * d_;
|
|
|
|
/// the show connection
|
|
|
|
Connection c_;
|
2001-02-12 14:09:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMSPLASH_H
|