GRSISort
Created by P.C. Bender
Developement Team: P.C. Bender, R. Dunlop, V. Bildstein
An extension of the ROOT analysis Framework
grsixx.cxx File Reference
#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"
+ Include dependency graph for grsixx.cxx:

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
 

Function Documentation

◆ CloseDisplay()

void CloseDisplay ( )

Definition at line 485 of file grsixx.cxx.

References gDisplay.

◆ DrawCreditItem()

static int DrawCreditItem ( const char *  creditItem,
const char **  members,
int  y,
bool  draw 
)
static

Definition at line 233 of file grsixx.cxx.

References gCreditsPixmap, gCreditsWidth, gDisplay, gFont, and gGC.

Referenced by DrawCredits().

◆ DrawCredits()

static int DrawCredits ( bool  draw,
bool   
)
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().

◆ DrawROOTCredit()

static void DrawROOTCredit ( )
static

Definition at line 223 of file grsixx.cxx.

References gDisplay, gGC, gHeight, and gLogoWindow.

Referenced by WaitLogo().

◆ DrawVersion()

static void DrawVersion ( )
static

Definition at line 213 of file grsixx.cxx.

References gDisplay, gGC, gHeight, gLogoWindow, and GRSI_RELEASE.

Referenced by WaitLogo().

◆ GetRootLogo()

static Pixmap GetRootLogo ( )
static

Definition at line 112 of file grsixx.cxx.

References gDisplay, and gLogoWindow.

Referenced by PopupLogo().

◆ PopdownLogo()

void PopdownLogo ( )

Definition at line 478 of file grsixx.cxx.

References gMayPopdown.

◆ PopupLogo()

◆ ReadContributors()

static void ReadContributors ( )
static

Definition at line 169 of file grsixx.cxx.

References gContributors.

Referenced by PopupLogo().

◆ ScrollCredits()

void ScrollCredits ( int  ypos)

Definition at line 291 of file grsixx.cxx.

References gCreditsHeight, gCreditsPixmap, gCreditsRect, gCreditsWidth, gDisplay, gGC, and gLogoWindow.

Referenced by WaitLogo().

◆ Sleep()

static void Sleep ( int  milliSec)
static

Definition at line 99 of file grsixx.cxx.

Referenced by WaitLogo().

◆ StayUp()

static bool StayUp ( int  milliSec)
static

Definition at line 73 of file grsixx.cxx.

References gPopupTime.

Referenced by WaitLogo().

◆ WaitLogo()

Variable Documentation

◆ gAbout

bool gAbout = false
static

Definition at line 43 of file grsixx.cxx.

Referenced by PopupLogo(), and WaitLogo().

◆ gConception

const char* gConception[] = {"P. C. Bender", nullptr}
static

Definition at line 53 of file grsixx.cxx.

Referenced by DrawCredits().

◆ gContributors

char** gContributors = nullptr
static

Definition at line 71 of file grsixx.cxx.

Referenced by ReadContributors().

◆ gCreditsHeight

unsigned int gCreditsHeight = 0
static

Definition at line 49 of file grsixx.cxx.

Referenced by PopupLogo(), ScrollCredits(), and WaitLogo().

◆ gCreditsPixmap

Pixmap gCreditsPixmap = 0
static

Definition at line 38 of file grsixx.cxx.

Referenced by DrawCreditItem(), PopupLogo(), ScrollCredits(), and WaitLogo().

◆ gCreditsRect

XRectangle gCreditsRect = {15, 155, 285, 130}
static

Definition at line 47 of file grsixx.cxx.

Referenced by PopupLogo(), ScrollCredits(), and WaitLogo().

◆ gCreditsWidth

unsigned int gCreditsWidth = gCreditsRect.width / 2
static

Definition at line 48 of file grsixx.cxx.

Referenced by DrawCreditItem(), PopupLogo(), and ScrollCredits().

◆ gDisplay

Display* gDisplay = nullptr
static

◆ gDone

bool gDone = false
static

Definition at line 41 of file grsixx.cxx.

Referenced by WaitLogo().

◆ gFont

XFontStruct* gFont = nullptr
static

Definition at line 40 of file grsixx.cxx.

Referenced by DrawCreditItem(), DrawCredits(), PopupLogo(), and WaitLogo().

◆ gGC

GC gGC = nullptr
static

◆ gHeight

unsigned int gHeight = 0
static

Definition at line 45 of file grsixx.cxx.

Referenced by DrawROOTCredit(), DrawVersion(), and PopupLogo().

◆ gKeyContributors

const char* gKeyContributors[] = {"V. Bildstein", "D. Miller", nullptr}
static

Definition at line 69 of file grsixx.cxx.

Referenced by DrawCredits().

◆ gLeadDevelopers

const char* gLeadDevelopers[] = {"P. C. Bender", "R. Dunlop", nullptr}
static

Definition at line 55 of file grsixx.cxx.

Referenced by DrawCredits().

◆ gLogoPixmap

Pixmap gLogoPixmap = 0
static

Definition at line 37 of file grsixx.cxx.

Referenced by PopupLogo(), and WaitLogo().

◆ gLogoWindow

Window gLogoWindow = 0
static

Definition at line 36 of file grsixx.cxx.

Referenced by DrawROOTCredit(), DrawVersion(), GetRootLogo(), PopupLogo(), ScrollCredits(), and WaitLogo().

◆ gMayPopdown

bool gMayPopdown = false
static

Definition at line 42 of file grsixx.cxx.

Referenced by PopdownLogo(), and WaitLogo().

◆ gPopupTime

struct timeval gPopupTime
static

Definition at line 51 of file grsixx.cxx.

Referenced by PopupLogo(), and StayUp().

◆ gStayUp

int gStayUp = 4000
static

Definition at line 46 of file grsixx.cxx.

Referenced by WaitLogo().

◆ gWidth

unsigned int gWidth = 0
static

Definition at line 44 of file grsixx.cxx.

Referenced by PopupLogo().