ROOT_Application
2.0
C++ Core modules and GUIStock
|
Contains an EmbeddedCanvas and a CanvasStock. More...
#include <THStockFrame.h>
Public Member Functions | |
THStockFrame (const TGWindow *p, const char *, UInt_t w, UInt_t h) | |
constructor, destructor More... | |
virtual | ~THStockFrame () |
CanvasStock * | GetECanvas () |
General function, for tests but may be kept later. More... | |
ControllerIndicatorTHStock * | GetController () |
void | SetController (ControllerIndicatorTHStock *controller) |
Double_t | GetSliderMin () |
access to the slider position More... | |
Double_t | GetSliderMax () |
void | DoSlider () |
void | HandleButton () |
void | GetSignalSelected (TVirtualPad *, TObject *, Int_t) |
ClassDef (THStockFrame, 0) | |
coming from StockManager More... | |
Private Attributes | |
ControllerIndicatorTHStock * | fcontroller |
TRootEmbeddedCanvas * | fECanvas |
contain one embedded CanvasStock More... | |
CanvasStock * | fCStock |
1 CanvasStock for each frame, easier More... | |
TGHorizontalFrame * | fslider_frame |
TGDoubleHSlider * | fHslider1 |
TGTextButton * | fButslider [2] |
Contains an EmbeddedCanvas and a CanvasStock.
Add functions for the slider as well.
Definition at line 46 of file THStockFrame.h.
THStockFrame::THStockFrame | ( | const TGWindow * | p, |
const char * | name_frame, | ||
UInt_t | w, | ||
UInt_t | h | ||
) |
constructor, destructor
Definition at line 23 of file THStockFrame.cxx.
References fButslider, fCStock, fECanvas, fHslider1, and fslider_frame.
|
virtual |
Definition at line 115 of file THStockFrame.cxx.
References fCStock.
THStockFrame::ClassDef | ( | THStockFrame | , |
0 | |||
) |
coming from StockManager
void THStockFrame::DoSlider | ( | ) |
Definition at line 130 of file THStockFrame.cxx.
References fCStock, fHslider1, CanvasStock::SetRangeCommonAxis(), and CanvasStock::UpdateTHStock().
|
inline |
Definition at line 78 of file THStockFrame.h.
References fcontroller.
|
inline |
General function, for tests but may be kept later.
Definition at line 75 of file THStockFrame.h.
References fCStock.
Referenced by ControllerIndicatorTHStock::AddData(), ControllerIndicatorTHStock::ControllerIndicatorTHStock(), ControllerIndicatorTHStock::ModifyColorIndic(), ControllerIndicatorTHStock::UpdateFrames(), and ControllerIndicatorTHStock::UpdateIndicator().
void THStockFrame::GetSignalSelected | ( | TVirtualPad * | pad, |
TObject * | obj, | ||
Int_t | event | ||
) |
Definition at line 254 of file THStockFrame.cxx.
References fcontroller, and ControllerIndicatorTHStock::GetSelected().
|
inline |
Definition at line 86 of file THStockFrame.h.
References fHslider1.
|
inline |
void THStockFrame::HandleButton | ( | ) |
Definition at line 154 of file THStockFrame.cxx.
References CommonXAxis::DecrShift(), fCStock, fHslider1, CanvasStock::GetCommonAxis(), CommonXAxis::GetNbins(), CommonXAxis::GetShift(), CommonXAxis::IncrShift(), CanvasStock::SetRangeCommonAxis(), CanvasStock::UpdateCommonAxis(), and CanvasStock::UpdateTHStock().
|
inline |
Definition at line 79 of file THStockFrame.h.
References fcontroller.
Referenced by ControllerIndicatorTHStock::ControllerIndicatorTHStock().
|
private |
Definition at line 67 of file THStockFrame.h.
Referenced by THStockFrame().
|
private |
Definition at line 54 of file THStockFrame.h.
Referenced by GetController(), GetSignalSelected(), and SetController().
|
private |
1 CanvasStock for each frame, easier
Definition at line 60 of file THStockFrame.h.
Referenced by DoSlider(), GetECanvas(), HandleButton(), THStockFrame(), and ~THStockFrame().
|
private |
contain one embedded CanvasStock
Definition at line 58 of file THStockFrame.h.
Referenced by THStockFrame().
|
private |
Definition at line 65 of file THStockFrame.h.
Referenced by DoSlider(), GetSliderMax(), GetSliderMin(), HandleButton(), and THStockFrame().
|
private |
Definition at line 63 of file THStockFrame.h.
Referenced by THStockFrame().