Skip to content

Commit c445d98

Browse files
committed
Add more info to addDrawFunc
1 parent de8ef2a commit c445d98

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/draw.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,16 @@ const drawFuncs = { lst: [
172172
* @param {object} args - arguments
173173
* @param {string|regexp} args.name - class name or regexp pattern or '*'
174174
* @param {function} [args.func] - draw function
175+
* @param {string} [args.sameas] - let behave same as specified class
175176
* @param {function} [args.draw] - async function to load draw function
176177
* @param {function} [args.class] - async function to load painter class with static draw function
177178
* @param {boolean} [args.direct] - if true, function is just Redraw() method of ObjectPainter
178179
* @param {string} [args.opt] - list of supported draw options (separated with semicolon) like 'col;scat;'
179180
* @param {string} [args.icon] - icon name shown for the class in hierarchy browser
180181
* @param {string} [args.draw_field] - draw only data member from object, like fHistogram
182+
* @param {string} [args.noinspect] - disable inspect
183+
* @param {string} [args.noexpand] - disable expand
184+
* @param {string} [args.pm] - always show plus or minus sign even when no child items exists
181185
* @desc List of supported draw options could be provided, separated with ';'
182186
* If args.name parameter is '*', function will be invoked before object drawing.
183187
* If such function does not return value - normal drawing will be continued.

0 commit comments

Comments
 (0)