443 Int_t parts[] = { 20, 30, 50 };
771 if ((
gROOT->GetSelectedPad()) && (
gROOT->GetSelectedPad()->GetCanvas())) {
884 printf(
"Can not delete gStyle.\n");
919 const char* tmpBaseName;
927 else tmpBaseName = 0;
928 }
while (tmpBaseName && (strstr(tmpBaseName,
"Style_") != tmpBaseName)
929 && (strstr(tmpBaseName,
" ") != 0));
931 if (tmpBaseName != 0) {
1149 h1->AddFrame(v12, layout4);
1168 gClient->GetColorByName(
"#FF0000", red);
1246 if (tmpStyle ==
style) styleID = i;
1248 tmpStyle = (
TStyle *) (
gROOT->GetListOfStyles()->After(tmpStyle));
1252 if (styleID == 0) styleID = i - 1;
1290 Int_t oneYearInSecs;
1291 Int_t oneMonthInSecs;
1438 if (year % 4) oneYearInSecs = 3600 * 24 * 365;
1439 else oneYearInSecs = 3600 * 24 * 366;
1440 delta += oneYearInSecs;
1442 oneYearInSecs = 3600 * 24 * 365;
1443 while (delta >= oneYearInSecs) {
1444 if (year % 4) oneYearInSecs = 3600 * 24 * 365;
1445 else oneYearInSecs = 3600 * 24 * 366;
1446 delta -= oneYearInSecs;
1449 oneMonthInSecs = 3600 * 24 * 31;
1450 while (delta >= oneMonthInSecs) {
1452 delta -= oneMonthInSecs;
1455 if (year % 4) oneMonthInSecs = 3600 * 24 * 28;
1456 else oneMonthInSecs = 3600 * 24 * 29;
1458 case 3:
case 5:
case 7:
case 8:
case 10:
case 12:
1459 oneMonthInSecs = 3600 * 24 * 31;
1462 oneMonthInSecs = 3600 * 24 * 30;
1465 day = (
Int_t) delta / (3600 * 24) + 1;
1466 delta = ((
Int_t) delta) % (3600 * 24);
1686 if ((((tmp/100) % 10) == 2) || (((tmp/1000) % 10) == 2) ||
1687 (((tmp/10000000) % 10) == 2) || (((tmp/100000000) % 10) == 2))
1697 if ((tmp2/10) % 10) {
1720 if ((papSizeX == 20) && (papSizeY == 26)) {
1725 }
else if ((papSizeX == 20) && (papSizeY == 24)) {
1745 Connect(
"CloseWindow()",
"TStyleManager",
this,
"CloseWindow()");
1746 fMenuStyle->
Connect(
"Activated(Int_t)",
"TStyleManager",
this,
"DoMenu(Int_t)");
1747 fMenuHelp->
Connect(
"Activated(Int_t)",
"TStyleManager",
this,
"DoMenu(Int_t)");
1765 fEditionTab->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"DoChangeTab(Int_t)");
1766 fAxisTab->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"DoChangeAxisTab(Int_t)");
1769 TQObject::Connect(
"TCanvas",
"Selected(TVirtualPad *, TObject *, Int_t)",
"TStyleManager",
1770 this,
"DoSelectCanvas(TVirtualPad *, TObject *, Int_t)");
1771 TQObject::Connect(
"TCanvas",
"Closed()",
"TStyleManager",
this,
"DoSelectNoCanvas()");
1814 fFillColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModFillColor()");
1815 fFillStyle->
Connect(
"PatternSelected(Style_t)",
"TStyleManager",
this,
"ModFillStyle()");
1818 fMarkerColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModMarkerColor()");
1819 fMarkerStyle->
Connect(
"MarkerSelected(Style_t)",
"TStyleManager",
this,
"ModMarkerStyle()");
1822 fLineColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModLineColor()");
1823 fLineWidth->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModLineWidth()");
1824 fLineStyle->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModLineStyle()");
1826 fTextColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModTextColor()");
1827 fTextSize->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTextSize()");
1829 fTextFont->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModTextFont()");
1830 fTextAlign->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModTextAlign()");
1831 fTextAngle->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTextAngle()");
1834 fCanvasColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModCanvasColor()");
1849 fDateX->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModDateX()");
1850 fDateY->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModDateY()");
1859 fPadColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModPadColor()");
1860 fPadTickX->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModPadTickX()");
1861 fPadTickY->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModPadTickY()");
1862 fPadGridX->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModPadGridX()");
1863 fPadGridY->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModPadGridY()");
1864 fGridColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModGridColor()");
1865 fGridWidth->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModGridWidth()");
1866 fGridStyle->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModGridStyle()");
1874 fBarWidth->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModBarWidth()");
1875 fBarOffset->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModBarOffset()");
1888 fFuncColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModFuncColor()");
1889 fFuncWidth->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModFuncWidth()");
1890 fFuncStyle->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModFuncStyle()");
1893 fErrorX->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModErrorX()");
1902 fXTitleColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModXTitleColor()");
1907 fXLabelColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModXLabelColor()");
1910 fXAxisColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModXAxisColor()");
1912 fOptLogx->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptLogx()");
1913 fXNdivMain->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModXNdivisions()");
1914 fXNdivSub->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModXNdivisions()");
1919 fYTitleColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModYTitleColor()");
1924 fYLabelColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModYLabelColor()");
1927 fYAxisColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModYAxisColor()");
1929 fOptLogy->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptLogy()");
1930 fYNdivMain->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModYNdivisions()");
1931 fYNdivSub->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModYNdivisions()");
1936 fZTitleColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModZTitleColor()");
1941 fZLabelColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModZLabelColor()");
1944 fZAxisColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModZAxisColor()");
1946 fOptLogz->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptLogz()");
1947 fZNdivMain->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModZNdivisions()");
1948 fZNdivSub->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModZNdivisions()");
1953 fOptTitle->
Connect(
"Toggled(Bool_t)",
"TStyleManager",
this,
"ModOptTitle()");
1954 fTitleColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModTitleFillColor()");
1955 fTitleStyle->
Connect(
"PatternSelected(Style_t)",
"TStyleManager",
this,
"ModTitleStyle()");
1959 fTitleFont->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModTitleFont()");
1962 fTitleX->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTitleX()");
1963 fTitleY->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTitleY()");
1964 fTitleW->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTitleW()");
1965 fTitleH->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModTitleH()");
1969 fStatColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModStatColor(Pixel_t)");
1970 fStatStyle->
Connect(
"PatternSelected(Style_t)",
"TStyleManager",
this,
"ModStatStyle(Style_t)");
1971 fStatTextColor->
Connect(
"ColorSelected(Pixel_t)",
"TStyleManager",
this,
"ModStatTextColor(Pixel_t)");
1974 fStatFont->
Connect(
"Selected(Int_t)",
"TStyleManager",
this,
"ModStatFont()");
1975 fStatX->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModStatX()");
1976 fStatY->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModStatY()");
1977 fStatW->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModStatW()");
1978 fStatH->
Connect(
"ValueSet(Long_t)",
"TStyleManager",
this,
"ModStatH()");
1990 fStatFormat->
Connect(
"TextChanged(const char *)",
"TStyleManager",
this,
"ModStatFormat(const char *)");
1995 fFitFormat->
Connect(
"TextChanged(const char *)",
"TStyleManager",
this,
"ModFitFormat(const char *)");
1998 fHeaderPS->
Connect(
"TextChanged(const char *)",
"TStyleManager",
this,
"ModHeaderPS()");
1999 fTitlePS->
Connect(
"TextChanged(const char *)",
"TStyleManager",
this,
"ModTitlePS()");
2293 v->AddFrame(h3, layout);
2855 v2->AddFrame(h2, layout);
2951 f->AddFrame(
h, layout);
2996 h->AddFrame(h3, layout);
3064 h->AddFrame(h2, layout);
3214 h->AddFrame(h2, layout);