Revision 23839a6cb5c6ce1890674b83787f024bfdbf0c83 authored by Sergey Linev on 03 March 2015, 16:23:43 UTC, committed by Bertrand Bellenot on 04 March 2015, 08:35:14 UTC
1. Introduce central method where all kind of text drawings
   are handled. At this place decide which kind of rendering -
   plain text, simplify latex or normal MathJax is used
2. Implement correct size adjustment and alignment for
   all kinds of text output (with and without MathJax)
3. Support TMathText class - always MathJax will be used
4. Draw label in TPabeText
5. Avoid concurent calls of JSROOT.AssertPrerequisities

Signed-off-by: Bertrand Bellenot <bertrand.bellenot@cern.ch>
1 parent 3cb3124
Raw File
static_object.cxx
#include "static_object.h"

class MyClass {
public:
   static Object configStr;
};

Object globalStr = 2; 

static Object staticGlobalStr; //  = 3;

Object MyClass::configStr = 4; 

int func() { 
   //cerr << "global:" << (void*)&(globalStr) << endl;
   // globalStr="global"; // s
   //cerr << "class: " << (void*)&(MyClass::configStr) << endl;
   //MyClass::configStr="test"; // s
   cout << "global: " << globalStr.value << endl;
   cout << "class : " << MyClass::configStr.value << endl;
   return ( globalStr.value == 2 &&  MyClass::configStr.value == 4 );
}

int main() {
   return !func();
}
back to top