source: trunk/Mars/mbase/MLogo.h@ 18679

Last change on this file since 18679 was 2054, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 607 bytes
Line 
1#ifndef MARS_MLogo
2#define MARS_MLogo
3
4#ifdef HAVE_XPM
5
6#ifndef __CINT__
7
8#include <X11/Xlib.h>
9
10#include "Xpm.h"
11
12class MLogo
13{
14 Display *fDisplay; // display handle
15 Window fLogoWindow; // window handle
16 Pixmap fLogoPixmap; // pixmap handle
17 long fMilliSec; // stayup time
18
19 struct timeval fPopupTime; // time of popup
20
21 void Wait() const;
22 Pixmap GetLogo() const;
23
24public:
25 MLogo(int millisec=777);
26 ~MLogo()
27 {
28 Popdown();
29 }
30
31 void Popup();
32 void Popdown();
33};
34
35#endif // __CINT__
36#endif // HAVE_XPM
37#endif // MARS_MLogo
Note: See TracBrowser for help on using the repository browser.