Definition at line 92 of file TDiamond.cxx.
Public Member Functions | |
| void | ApplyChanges (TVirtualPad &parent) |
| Apply pixel coordinates changes back to box coordinates. | |
| void | CalcPixelCoord (const TVirtualPad &parent, Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
| Calculate pixel coordinates. | |
| char | GetGuideChar () const |
| Return character for selecting guide action. | |
| TObject * | GetObject () const |
| Bool_t | IsOpaque (const TVirtualPad &parent) const |
| Return selected opaque mode. | |
| Bool_t | IsResizing () const |
| Return true if doing resize. | |
| void | PaintOutline (TVirtualPad &parent) override |
| Paint object outline. | |
| Bool_t | ProcessMouseMove (const TVirtualPad &parent, Int_t px, Int_t py, Bool_t canX=kTRUE, Bool_t canY=kTRUE, Double_t aspectRatio=0.) |
| Process change of moue position during dragging. | |
| Bool_t | SelectCorner (Int_t px, Int_t py, Bool_t canX=kTRUE, Bool_t canY=kTRUE) |
| Select corner or side for the inetarctive action. | |
| Bool_t | SelectDiamondCorner (Int_t px, Int_t py, Bool_t testInside=kTRUE) |
| Select diamond corner - or inside area Returns true if any mode was selected Can be reused for diamond and ellipse. | |
| void | SetCursor (TVirtualPad &parent, Bool_t is_down) const |
| Set cursor for current mode. | |
| void | SetObject (TObject *obj) |
| TBoxInteractive (Bool_t bx=kTRUE, Double_t x1=0., Double_t y1=0., Double_t x2=0., Double_t y2=0.) | |
| Constructor. | |
Public Attributes | |
| Int_t | dpx1 = 0 |
| Int_t | dpy2 = 0 |
| Bool_t | isBox = kTRUE |
| Double_t | newX1 = 0. |
| Double_t | newX2 = 0. |
| Double_t | newY1 = 0. |
| Double_t | newY2 = 0. |
| Double_t | oldX1 = 0. |
| Double_t | oldX2 = 0. |
| Double_t | oldY1 = 0. |
| Double_t | oldY2 = 0. |
| Int_t | px1 = 0 |
| Int_t | px2 = 0 |
| Int_t | py1 = 0 |
| Int_t | py2 = 0 |
Protected Types | |
| enum | EMode { pNone = 0 , pA , pB , pC , pD , pTop , pL , pR , pBot , pINSIDE } |
Protected Attributes | |
| enum TBoxInteractive::EMode | fMode = pNone |
| TObject * | fObject = nullptr |
|
protectedinherited |
| Enumerator | |
|---|---|
| pNone | |
| pA | |
| pB | |
| pC | |
| pD | |
| pTop | |
| pL | |
| pR | |
| pBot | |
| pINSIDE | |
Definition at line 22 of file TBoxInteractive.h.
|
inherited |
Apply pixel coordinates changes back to box coordinates.
Definition at line 263 of file TBoxInteractive.cxx.
|
inherited |
Calculate pixel coordinates.
Definition at line 37 of file TBoxInteractive.cxx.
|
inherited |
Return character for selecting guide action.
Definition at line 306 of file TBoxInteractive.cxx.
|
inlineinherited |
Definition at line 82 of file TVirtualPad.h.
|
inherited |
Return selected opaque mode.
Definition at line 124 of file TBoxInteractive.cxx.
|
inherited |
Return true if doing resize.
Definition at line 116 of file TBoxInteractive.cxx.
|
inlineoverridevirtual |
Paint object outline.
Reimplemented from TBoxInteractive.
Definition at line 96 of file TDiamond.cxx.
|
inherited |
Process change of moue position during dragging.
Definition at line 132 of file TBoxInteractive.cxx.
|
inherited |
Select corner or side for the inetarctive action.
Definition at line 52 of file TBoxInteractive.cxx.
|
inherited |
Select diamond corner - or inside area Returns true if any mode was selected Can be reused for diamond and ellipse.
Definition at line 87 of file TBoxInteractive.cxx.
|
inherited |
Set cursor for current mode.
Definition at line 287 of file TBoxInteractive.cxx.
|
inlineinherited |
Definition at line 81 of file TVirtualPad.h.
| TBoxInteractive::TBoxInteractive | ( | Bool_t | bx = kTRUE, |
| Double_t | x1 = 0., | ||
| Double_t | y1 = 0., | ||
| Double_t | x2 = 0., | ||
| Double_t | y2 = 0. ) |
Constructor.
Definition at line 30 of file TBoxInteractive.cxx.
|
inherited |
Definition at line 26 of file TBoxInteractive.h.
|
inherited |
Definition at line 26 of file TBoxInteractive.h.
|
protectedinherited |
|
protectedinherited |
Definition at line 77 of file TVirtualPad.h.
Definition at line 25 of file TBoxInteractive.h.
|
inherited |
Definition at line 28 of file TBoxInteractive.h.
|
inherited |
Definition at line 28 of file TBoxInteractive.h.
|
inherited |
Definition at line 28 of file TBoxInteractive.h.
|
inherited |
Definition at line 28 of file TBoxInteractive.h.
|
inherited |
Definition at line 27 of file TBoxInteractive.h.
|
inherited |
Definition at line 27 of file TBoxInteractive.h.
|
inherited |
Definition at line 27 of file TBoxInteractive.h.
|
inherited |
Definition at line 27 of file TBoxInteractive.h.
|
inherited |
Definition at line 26 of file TBoxInteractive.h.
|
inherited |
Definition at line 26 of file TBoxInteractive.h.
|
inherited |
Definition at line 26 of file TBoxInteractive.h.
|
inherited |
Definition at line 26 of file TBoxInteractive.h.