Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 25 → Rev 70

/lightguide/trunk/include/RTUtil.h
8,35 → 8,32
#include "TStyle.h"
#include "TDatime.h"
 
 
 
//##########################################################################################
// nastavi nastavitve izrisa, klicem z RTSetStyle(gStyle)
void RTSetStyle(TStyle *style);
//##########################################################################################
 
// poenostavi delo s TCanvas
class RTCanvas
{
protected:
TCanvas *can;
TPad *pad;
TPaveLabel *title, *date;
 
public:
RTCanvas();
RTCanvas(char *w_title, char *c_title, int x_min, int y_min, int x_size, int y_size);
~RTCanvas() {
delete can;
delete pad;
delete title;
delete date;
}
void Divide(int nx, int ny);
void Divide(int np);
TPad* cd(int i);
void SaveAs(const char *filename);
void Update();
protected:
TCanvas *can;
TPad *pad;
TPaveLabel *title, *date;
};
//##########################################################################################
 
 
#endif