KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVIDGridEditorCanvas.h
Go to the documentation of this file.
1 
4 #ifndef __KVIDGridEditorCanvas_H
5 #define __KVIDGridEditorCanvas_H
6 
7 #include "TCanvas.h"
8 #include "KVCanvas.h"
9 #include "TGFrame.h"
10 
22 
31 
33 
34 protected:
36  virtual Bool_t HandleKey(Int_t px, Int_t py);
37 
38 public:
40  KVIDGridEditorCanvas(const char* name, const char* title, Int_t ww, Int_t wh);//:KVCanvas(name,title,ww,wh);
41 
42  virtual ~KVIDGridEditorCanvas();
43 
44  void HandleInput(EEventType event, Int_t px, Int_t py);
45 
46  ClassDef(KVIDGridEditorCanvas, 1) //bidouille
47 };
48 
49 #endif
EEventType
int Int_t
bool Bool_t
double Double_t
#define ClassDef(name, id)
TCanvas with mouse-controlled dynamic zoom and pan & scan.
Definition: KVCanvas.h:53
Extended version of KVCanvas used by KVIDGridEditor.
Double_t YbinPixel
size of bins in pixels
Int_t NdisYbins
number of displayed bins on X & Y
virtual ~KVIDGridEditorCanvas()
Destructor.
virtual Bool_t HandleKey(Int_t px, Int_t py)
KeyHandler *fKeyHandler; // handler for arrow keys.
Int_t Ylast0
number of bins on y-axis, initial displayed bins
Int_t X0
friend class KeyHandler;
Int_t Xlast0
number of bins on x-axis, initial displayed bins
KVIDGridEditorCanvas()
Default constructor.
Int_t Yl1
last modification to axis limits
TAxis * theYaxis
the axes of the histogram
Int_t Y0
coordinates of initial click in pad pixels
void HandleInput(EEventType event, Int_t px, Int_t py)