This utility macro executes the macro "macro" given as first argument and save a capture in a png file.
This macro is used by stressGUI to execute and compare the output of the GUI tutorials.
{
enum EErrorCodes {
kScriptDirNotFound,
kCannotRunScript,
kNumErrorCodes
};
return kCannotRunScript;
return kScriptDirNotFound;
if (comp) cmd += "+";
gROOT->ProcessLine(cmd, &err);
return kCannotRunScript;
if (winGetParent ==
gClient->GetDefaultRoot())
if (save) {
++nMainFrames));
delete img;
}
}
}
}
- Author
- Bertrand Bellenot
Definition in file exec_macro.C.