@@ -9,7 +9,8 @@ import { clTStreamerInfoList } from './io.mjs';
99import { clTBranchFunc } from './tree.mjs' ;
1010import { BasePainter , compressSVG , _loadJSDOM } from './base/BasePainter.mjs' ;
1111import { ObjectPainter , cleanup , drawRawText , getElementCanvPainter , getElementMainPainter } from './base/ObjectPainter.mjs' ;
12- import { TPadPainter } from './gpad/TPadPainter.mjs' ;
12+ import { TPadPainter , clTButton } from './gpad/TPadPainter.mjs' ;
13+
1314
1415// v7 namespace prefix
1516const _v7 = 'ROOT::Experimental::' ;
@@ -32,7 +33,7 @@ const drawFuncs = { lst: [
3233 { name : clTCanvas , icon : 'img_canvas' , class : ( ) => import ( './gpad/TCanvasPainter.mjs' ) . then ( h => h . TCanvasPainter ) , opt : ';grid;gridx;gridy;tick;tickx;ticky;log;logx;logy;logz' , expand_item : 'fPrimitives' } ,
3334 { name : clTPad , icon : 'img_canvas' , class : ( ) => import ( './gpad/TPadPainter.mjs' ) . then ( h => h . TPadPainter ) , opt : ';grid;gridx;gridy;tick;tickx;ticky;log;logx;logy;logz' , expand_item : 'fPrimitives' } ,
3435 { name : 'TSlider' , icon : 'img_canvas' , class : ( ) => import ( './gpad/TPadPainter.mjs' ) . then ( h => h . TPadPainter ) } ,
35- { name : 'TButton' , icon : 'img_canvas' , class : ( ) => import ( './gpad/TPadPainter.mjs' ) . then ( h => h . TPadPainter ) } ,
36+ { name : clTButton , icon : 'img_canvas' , class : ( ) => import ( './gpad/TPadPainter.mjs' ) . then ( h => h . TPadPainter ) } ,
3637 { name : 'TFrame' , icon : 'img_frame' , draw : ( ) => import ( './gpad/TCanvasPainter.mjs' ) . then ( h => h . drawTFrame ) } ,
3738 { name : clTPave , icon : 'img_pavetext' , class : ( ) => import ( './hist/TPavePainter.mjs' ) . then ( h => h . TPavePainter ) } ,
3839 { name : clTPaveText , sameas : clTPave } ,
0 commit comments