#include "Globals.h"
#include "GVersion.h"
#include "RConfigure.h"
#include <cstdio>
#include <unistd.h>
#include <cstdlib>
#include <cstring>
#include <pwd.h>
#include <sys/types.h>
#include <X11/Xlib.h>
#include <X11/xpm.h>
#include "Rtypes.h"
#include <ctime>
#include <sys/time.h>
#include "TSystem.h"
Go to the source code of this file.
Functions | |
void | CloseDisplay () |
static int | DrawCreditItem (const char *creditItem, const char **members, int y, bool draw) |
static int | DrawCredits (bool draw, bool) |
static void | DrawROOTCredit () |
static void | DrawVersion () |
static Pixmap | GetRootLogo () |
void | PopdownLogo () |
void | PopupLogo (bool about) |
static void | ReadContributors () |
void | ScrollCredits (int ypos) |
static void | Sleep (int milliSec) |
static bool | StayUp (int milliSec) |
void | WaitLogo () |
Variables | |
static bool | gAbout = false |
static const char * | gConception [] = {"P. C. Bender", nullptr} |
static char ** | gContributors = nullptr |
static unsigned int | gCreditsHeight = 0 |
static Pixmap | gCreditsPixmap = 0 |
static XRectangle | gCreditsRect = {15, 155, 285, 130} |
static unsigned int | gCreditsWidth = gCreditsRect.width / 2 |
static Display * | gDisplay = nullptr |
static bool | gDone = false |
static XFontStruct * | gFont = nullptr |
static GC | gGC = nullptr |
static unsigned int | gHeight = 0 |
static const char * | gKeyContributors [] = {"V. Bildstein", "D. Miller", nullptr} |
static const char * | gLeadDevelopers [] = {"P. C. Bender", "R. Dunlop", nullptr} |
static Pixmap | gLogoPixmap = 0 |
static Window | gLogoWindow = 0 |
static bool | gMayPopdown = false |
static struct timeval | gPopupTime |
static int | gStayUp = 4000 |
static unsigned int | gWidth = 0 |
void CloseDisplay | ( | ) |
Definition at line 485 of file grsixx.cxx.
References gDisplay.
|
static |
Definition at line 233 of file grsixx.cxx.
References gCreditsPixmap, gCreditsWidth, gDisplay, gFont, and gGC.
Referenced by DrawCredits().
|
static |
Draw credits. If draw is true draw credits, otherwise just return size of all credit text.
Definition at line 263 of file grsixx.cxx.
References DrawCreditItem(), gConception, gFont, gKeyContributors, and gLeadDevelopers.
Referenced by PopupLogo().
|
static |
Definition at line 223 of file grsixx.cxx.
References gDisplay, gGC, gHeight, and gLogoWindow.
Referenced by WaitLogo().
|
static |
Definition at line 213 of file grsixx.cxx.
References gDisplay, gGC, gHeight, gLogoWindow, and GRSI_RELEASE.
Referenced by WaitLogo().
|
static |
Definition at line 112 of file grsixx.cxx.
References gDisplay, and gLogoWindow.
Referenced by PopupLogo().
void PopdownLogo | ( | ) |
Definition at line 478 of file grsixx.cxx.
References gMayPopdown.
void PopupLogo | ( | bool | about | ) |
Definition at line 303 of file grsixx.cxx.
References DrawCredits(), gAbout, gCreditsHeight, gCreditsPixmap, gCreditsRect, gCreditsWidth, gDisplay, GetRootLogo(), gFont, gGC, gHeight, gLogoPixmap, gLogoWindow, gPopupTime, gWidth, and ReadContributors().
Referenced by TGRSIint::DrawLogo().
|
static |
void ScrollCredits | ( | int | ypos | ) |
Definition at line 291 of file grsixx.cxx.
References gCreditsHeight, gCreditsPixmap, gCreditsRect, gCreditsWidth, gDisplay, gGC, and gLogoWindow.
Referenced by WaitLogo().
|
static |
Definition at line 99 of file grsixx.cxx.
Referenced by WaitLogo().
|
static |
void WaitLogo | ( | ) |
Definition at line 390 of file grsixx.cxx.
References DrawROOTCredit(), DrawVersion(), gAbout, gCreditsHeight, gCreditsPixmap, gCreditsRect, gDisplay, gDone, gFont, gGC, gLogoPixmap, gLogoWindow, gMayPopdown, gStayUp, ScrollCredits(), Sleep(), and StayUp().
Referenced by TGRSIint::DrawLogo().
|
static |
Definition at line 43 of file grsixx.cxx.
Referenced by PopupLogo(), and WaitLogo().
|
static |
Definition at line 53 of file grsixx.cxx.
Referenced by DrawCredits().
|
static |
Definition at line 71 of file grsixx.cxx.
Referenced by ReadContributors().
|
static |
Definition at line 49 of file grsixx.cxx.
Referenced by PopupLogo(), ScrollCredits(), and WaitLogo().
|
static |
Definition at line 38 of file grsixx.cxx.
Referenced by DrawCreditItem(), PopupLogo(), ScrollCredits(), and WaitLogo().
|
static |
Definition at line 47 of file grsixx.cxx.
Referenced by PopupLogo(), ScrollCredits(), and WaitLogo().
|
static |
Definition at line 48 of file grsixx.cxx.
Referenced by DrawCreditItem(), PopupLogo(), and ScrollCredits().
|
static |
Definition at line 35 of file grsixx.cxx.
Referenced by CloseDisplay(), DrawCreditItem(), DrawROOTCredit(), DrawVersion(), GetRootLogo(), PopupLogo(), ScrollCredits(), and WaitLogo().
|
static |
Definition at line 41 of file grsixx.cxx.
Referenced by WaitLogo().
|
static |
Definition at line 40 of file grsixx.cxx.
Referenced by DrawCreditItem(), DrawCredits(), PopupLogo(), and WaitLogo().
|
static |
Definition at line 39 of file grsixx.cxx.
Referenced by DrawCreditItem(), DrawROOTCredit(), DrawVersion(), PopupLogo(), ScrollCredits(), and WaitLogo().
|
static |
Definition at line 45 of file grsixx.cxx.
Referenced by DrawROOTCredit(), DrawVersion(), and PopupLogo().
|
static |
Definition at line 69 of file grsixx.cxx.
Referenced by DrawCredits().
|
static |
Definition at line 55 of file grsixx.cxx.
Referenced by DrawCredits().
|
static |
Definition at line 37 of file grsixx.cxx.
Referenced by PopupLogo(), and WaitLogo().
|
static |
Definition at line 36 of file grsixx.cxx.
Referenced by DrawROOTCredit(), DrawVersion(), GetRootLogo(), PopupLogo(), ScrollCredits(), and WaitLogo().
|
static |
Definition at line 42 of file grsixx.cxx.
Referenced by PopdownLogo(), and WaitLogo().
|
static |
Definition at line 51 of file grsixx.cxx.
Referenced by PopupLogo(), and StayUp().
|
static |
Definition at line 46 of file grsixx.cxx.
Referenced by WaitLogo().
|
static |
Definition at line 44 of file grsixx.cxx.
Referenced by PopupLogo().