GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TWebPadOptions.h
Go to the documentation of this file.
1 // Author: Sergey Linev, GSI 29/06/2017
2 
3 /*************************************************************************
4  * Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
5  * All rights reserved. *
6  * *
7  * For the licensing terms see $ROOTSYS/LICENSE. *
8  * For the list of contributors see $ROOTSYS/README/CREDITS. *
9  *************************************************************************/
10 
11 #ifndef ROOT_TWebPadOptions
12 #define ROOT_TWebPadOptions
13 
14 #include <string>
15 #include <vector>
16 #include <memory>
17 
20 public:
21  std::string snapid;
22  std::string opt;
23  std::string fcust;
24  std::vector<double> fopt;
25 };
26 
29 public:
30  std::string snapid;
31  bool active{false};
32  int logx{0}, logy{0}, logz{0};
33  int gridx{0}, gridy{0};
34  int tickx{0}, ticky{0};
35  float mleft{0}, mright{0}, mtop{0}, mbottom{0};
36  bool ranges{false};
37  double px1{0}, py1{0}, px2{0}, py2{0};
38  double ux1{0}, uy1{0}, ux2{0}, uy2{0};
39  unsigned bits{0};
40  double zx1{0}, zx2{0}, zy1{0}, zy2{0}, zz1{0}, zz2{0};
41  std::vector<TWebObjectOptions> primitives;
42 };
43 
45 class TWebPadClick {
46 public:
47  std::string padid;
48  std::string objid;
49  int x{-1};
50  int y{-1};
51  bool dbl{false};
52 };
53 
54 #endif
std::string snapid
id of pad
bool ranges
if true, pad has ranges
std::string padid
id of pad
std::string fcust
custom string
int ticky
pad ticks properties
std::vector< TWebObjectOptions > primitives
drawing options for primitives
bool dbl
when double-click was performed
std::string objid
id of clicked object, "null" when not defined
bool active
if pad selected as active
Class used to transport ranges from JSROOT canvas.
std::string snapid
id of the object
std::string opt
drawing options
float mbottom
frame margins
std::vector< double > fopt
custom float array
unsigned bits
canvas status bits like tool editor
int gridy
pad grid properties
double uy2
pad axis range
int logz
pad log properties
int x
x coordinate of click event
Class used to transport drawing options from the client.
int y
y coordinate of click event
double zz2
zooming ranges
double py2
pad range
Class used to transport pad click events.