GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
|
#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 std::array< const char *, 2 > | 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 std::array< const char *, 3 > | gKeyContributors = {"R. Dunlop", "D. Miller", nullptr} |
static std::array< const char *, 3 > | gLeadDevelopers = {"V. Bildstein", "P. C. Bender", 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 | ( | ) |
Close connection to X server (called by child).
Definition at line 471 of file grsixx.cxx.
References gDisplay.
|
static |
Draw credit item.
Definition at line 223 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 252 of file grsixx.cxx.
References DrawCreditItem(), gConception, gFont, gKeyContributors, and gLeadDevelopers.
Referenced by PopupLogo().
|
static |
Draw version string.
Definition at line 214 of file grsixx.cxx.
References gDisplay, gGC, gHeight, and gLogoWindow.
Referenced by WaitLogo().
|
static |
Draw version string.
Definition at line 204 of file grsixx.cxx.
References gDisplay, gGC, gHeight, and gLogoWindow.
Referenced by WaitLogo().
|
static |
Get logo from xpm file.
Definition at line 103 of file grsixx.cxx.
References gDisplay, and gLogoWindow.
Referenced by PopupLogo().
void PopdownLogo | ( | ) |
ROOT is ready to run, may pop down the logo if stay up time expires.
Definition at line 464 of file grsixx.cxx.
References gMayPopdown.
void PopupLogo | ( | bool | about | ) |
Popup logo, waiting till ROOT is ready to run.
Definition at line 289 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 |
Read the file $ROOTSYS/README/CREDITS for the names of the contributors.
Definition at line 160 of file grsixx.cxx.
References gContributors.
Referenced by PopupLogo().
void ScrollCredits | ( | int | ypos | ) |
Definition at line 280 of file grsixx.cxx.
References gCreditsHeight, gCreditsPixmap, gCreditsRect, gCreditsWidth, gDisplay, gGC, and gLogoWindow.
Referenced by WaitLogo().
|
static |
Sleep for specified amount of milli seconds.
Definition at line 90 of file grsixx.cxx.
Referenced by WaitLogo().
|
static |
Returns false if milliSec milliseconds have passed since logo was popped up, true otherwise.
Definition at line 61 of file grsixx.cxx.
References gPopupTime.
Referenced by WaitLogo().
void WaitLogo | ( | ) |
Main event loop waiting till time arrives to pop down logo or when forced by button press event.
Definition at line 376 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 59 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 57 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().