mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Work, work...
This commit is contained in:
53
evoke/Splash.h
Normal file
53
evoke/Splash.h
Normal file
@ -0,0 +1,53 @@
|
||||
/*
|
||||
* $Id$
|
||||
*
|
||||
* Evoke, head honcho of everything
|
||||
* Part of Equinox Desktop Environment (EDE).
|
||||
* Copyright (c) 2000-2007 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 {
|
||||
private:
|
||||
const ClientList* clist;
|
||||
const edelib::String* bkg;
|
||||
unsigned int counter;
|
||||
bool no_splash;
|
||||
bool dry_run;
|
||||
|
||||
ClientListIter clist_it;
|
||||
|
||||
Fl_Box* msgbox;
|
||||
Fl_Box** icons;
|
||||
|
||||
public:
|
||||
Splash(bool sp, bool dr);
|
||||
~Splash();
|
||||
|
||||
/*
|
||||
* NOTE: clients() and set_background() uses address of passed data,
|
||||
* so make sure passed data does not destroys.
|
||||
*/
|
||||
void set_clients(const ClientList* cl) { clist = cl; }
|
||||
void set_background(const edelib::String* s) { bkg = s; }
|
||||
|
||||
const ClientList* get_clients(void) const { return clist; }
|
||||
bool next_client(void);
|
||||
bool next_client_nosplash(void);
|
||||
|
||||
void run(void);
|
||||
//virtual void show(void);
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user