ede/evoke/Splash.h

49 lines
912 B
C
Raw Permalink Normal View History

2009-02-19 11:12:29 +03:00
/*
* $Id$
*
* evoke, head honcho of everything
* Part of Equinox Desktop Environment (EDE).
* Copyright (c) 2007-2009 EDE Authors.
*
* This program is licensed under terms of the
* GNU General Public License version 2 or newer.
* See COPYING for details.
*/
#ifndef __SPLASH_H__
#define __SPLASH_H__
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Box.H>
#include "EvokeService.h"
class Splash : public Fl_Double_Window {
2009-02-24 19:27:38 +03:00
private:
StartupItemList* slist;
StartupItemListIter slist_it;
edelib::String* splash_theme;
2009-02-19 11:12:29 +03:00
2009-02-24 19:27:38 +03:00
unsigned int counter;
bool show_splash;
bool dryrun;
2009-02-19 11:12:29 +03:00
2009-02-24 19:27:38 +03:00
Fl_Box* msgbox;
Fl_Box** icons;
2009-02-19 11:12:29 +03:00
2009-02-24 19:27:38 +03:00
public:
Splash(StartupItemList& s, edelib::String& theme, bool show_it, bool dr);
~Splash();
2009-02-19 11:12:29 +03:00
2009-02-24 19:27:38 +03:00
bool next_client(void);
bool next_client_nosplash(void);
2009-02-19 11:12:29 +03:00
2009-02-24 19:27:38 +03:00
void run(void);
2009-02-19 11:12:29 +03:00
#if EDEWM_HAVE_NET_SPLASH
2009-02-24 19:27:38 +03:00
virtual void show(void);
2009-02-19 11:12:29 +03:00
#endif
};
#endif