rootxx.cxx File Reference

#include "RConfigure.h"
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <pwd.h>
#include <sys/types.h>
#include <X11/Xlib.h>
#include <X11/xpm.h>
#include "Rtypes.h"
#include <time.h>
#include <sys/time.h>

Go to the source code of this file.

Functions

static bool StayUp (int milliSec)
static void Sleep (int milliSec)
static Pixmap GetRootLogo ()
static void ReadContributors ()
static void DrawVersion ()
static int DrawCreditItem (const char *creditItem, const char **members, int y, bool draw)
static int DrawCredits (bool draw, bool extended)
void ScrollCredits (int ypos)
void PopupLogo (bool about)
void WaitLogo ()
void PopdownLogo ()
void CloseDisplay ()

Variables

static Display * gDisplay = 0
static Window gLogoWindow = 0
static Pixmap gLogoPixmap = 0
static Pixmap gCreditsPixmap = 0
static GC gGC = 0
static XFontStruct * gFont = 0
static bool gDone = false
static bool gMayPopdown = false
static bool gAbout = false
static unsigned int gWidth = 0
static unsigned int gHeight = 0
static int gStayUp = 4000
static XRectangle gCreditsRect = { 15, 155, 285, 130 }
static unsigned int gCreditsWidth = gCreditsRect.width
static unsigned int gCreditsHeight = 0
static struct timeval gPopupTime
static const char * gConception []
static const char * gLeadDevelopers []
static const char * gRootDevelopers []
static const char * gCintDevelopers []
static const char * gRootDocumentation []
static char ** gContributors = 0


Function Documentation

void CloseDisplay (  ) 

Definition at line 498 of file rootxx.cxx.

References close, and gDisplay.

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

Definition at line 235 of file rootxx.cxx.

References gCreditsPixmap, gCreditsWidth, gDisplay, gFont, gGC, i, strcat(), strcpy(), and strlcpy().

Referenced by DrawCredits().

static int DrawCredits ( bool  draw,
bool  extended 
) [static]

Definition at line 262 of file rootxx.cxx.

References DrawCreditItem(), gCintDevelopers, gConception, gContributors, gFont, gLeadDevelopers, gRootDevelopers, gRootDocumentation, line, name, pwd(), s, snprintf, strcpy(), and y.

Referenced by PopupLogo().

static void DrawVersion (  )  [static]

Definition at line 224 of file rootxx.cxx.

References gDisplay, gGC, gHeight, gLogoWindow, ROOT_RELEASE, sprintf(), and version.

Referenced by WaitLogo().

static Pixmap GetRootLogo (  )  [static]

Definition at line 130 of file rootxx.cxx.

References depth, gDisplay, getenv(), gLogoWindow, and snprintf.

Referenced by PopupLogo().

void PopdownLogo (  ) 

Definition at line 491 of file rootxx.cxx.

References gMayPopdown.

Referenced by SigUsr1().

void PopupLogo ( bool  about  ) 

Definition at line 335 of file rootxx.cxx.

References depth, DrawCredits(), False, gAbout, gCreditsHeight, gCreditsPixmap, gCreditsRect, gCreditsWidth, gDisplay, GetRootLogo(), gettimeofday(), gFont, gGC, gHeight, gLogoPixmap, gLogoWindow, gPopupTime, gWidth, ReadContributors(), root, True, x, and y.

Referenced by main().

static void ReadContributors (  )  [static]

Definition at line 182 of file rootxx.cxx.

References buf, xmlio::cnt, fclose(), fopen, gContributors, getenv(), len, and snprintf.

Referenced by PopupLogo().

void ScrollCredits ( int  ypos  ) 

Definition at line 323 of file rootxx.cxx.

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

Referenced by WaitLogo().

static void Sleep ( int  milliSec  )  [static]

Definition at line 117 of file rootxx.cxx.

References select().

Referenced by XrdProofPhyConn::Connect(), G__G__Base2_242_0_52(), GetWinNTCpuInfo(), SetConsoleWindowName(), sleep_a_little(), XrdSysTimer::Snooze(), XrdSysTimer::Wait(), and WaitLogo().

static bool StayUp ( int  milliSec  )  [static]

Definition at line 89 of file rootxx.cxx.

References gettimeofday(), and gPopupTime.

Referenced by WaitLogo().

void WaitLogo (  ) 

Definition at line 413 of file rootxx.cxx.

References DrawVersion(), False, gAbout, gCreditsHeight, gCreditsPixmap, gCreditsRect, gDisplay, gDone, gFont, gGC, gLogoPixmap, gLogoWindow, gMayPopdown, gStayUp, int, ScrollCredits(), Sleep(), and StayUp().

Referenced by main().


Variable Documentation

bool gAbout = false [static]

Definition at line 40 of file rootxx.cxx.

Referenced by PopupLogo(), and WaitLogo().

const char* gCintDevelopers[] [static]

Initial value:

 {
   "Masaharu Goto",
   0
}

Definition at line 75 of file rootxx.cxx.

Referenced by DrawCredits().

const char* gConception[] [static]

Initial value:

 {
   "Rene Brun",
   "Fons Rademakers",
   0
}

Definition at line 50 of file rootxx.cxx.

Referenced by DrawCredits().

char** gContributors = 0 [static]

Definition at line 85 of file rootxx.cxx.

Referenced by DrawCredits(), and ReadContributors().

unsigned int gCreditsHeight = 0 [static]

Definition at line 46 of file rootxx.cxx.

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

Pixmap gCreditsPixmap = 0 [static]

Definition at line 35 of file rootxx.cxx.

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

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

Definition at line 44 of file rootxx.cxx.

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

unsigned int gCreditsWidth = gCreditsRect.width [static]

Definition at line 45 of file rootxx.cxx.

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

Display* gDisplay = 0 [static]

Definition at line 32 of file rootxx.cxx.

bool gDone = false [static]

Definition at line 38 of file rootxx.cxx.

Referenced by TMemStat::Draw(), and WaitLogo().

XFontStruct* gFont = 0 [static]

Definition at line 37 of file rootxx.cxx.

GC gGC = 0 [static]

Definition at line 36 of file rootxx.cxx.

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

unsigned int gHeight = 0 [static]

Definition at line 42 of file rootxx.cxx.

Referenced by DrawVersion(), and PopupLogo().

const char* gLeadDevelopers[] [static]

Initial value:

 {
   "Rene Brun",
   "Philippe Canal",
   "Fons Rademakers",
   0
}

Definition at line 56 of file rootxx.cxx.

Referenced by DrawCredits().

Pixmap gLogoPixmap = 0 [static]

Definition at line 34 of file rootxx.cxx.

Referenced by PopupLogo(), and WaitLogo().

Window gLogoWindow = 0 [static]

Definition at line 33 of file rootxx.cxx.

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

bool gMayPopdown = false [static]

Definition at line 39 of file rootxx.cxx.

Referenced by PopdownLogo(), and WaitLogo().

struct timeval gPopupTime [static]

Definition at line 48 of file rootxx.cxx.

Referenced by PopupLogo(), and StayUp().

const char* gRootDevelopers[] [static]

Initial value:

 {
   "Bertrand Bellenot",
   "Olivier Couet",
   "Gerardo Ganis",
   "Andrei Gheata",
   "Lorenzo Moneta",
   "Axel Naumann",
   "Paul Russo",
   "Matevz Tadel",
   0
}

Definition at line 63 of file rootxx.cxx.

Referenced by DrawCredits().

const char* gRootDocumentation[] [static]

Initial value:

 {
   "Ilka Antcheva",
   0
}

Definition at line 80 of file rootxx.cxx.

Referenced by DrawCredits().

int gStayUp = 4000 [static]

Definition at line 43 of file rootxx.cxx.

Referenced by WaitLogo().

unsigned int gWidth = 0 [static]

Definition at line 41 of file rootxx.cxx.

Referenced by PopupLogo().


Generated on Tue Jul 5 16:08:50 2011 for ROOT_528-00b_version by  doxygen 1.5.1