Patch [#21750] Add luma waveform and vectorscope to image view
by Xavier Thomas This adds the waveform monitor and vectorscope to the image editor 'scopes' region, bringing it inline (plus a bit more) with sequence editor functionality, and a big step closer to the end goal of unifying the display code for image/ comp/sequence editor. It's non-intrusive, using the same code paths as the histogram. There's still room for more tweaks - I modified the original patch, changing the openGL immediate mode drawing of the waveform display to vertex arrays for speed optimisation. Xavier can look at doing this for the vectorscope now too. Thanks very much Xavier!
This commit is contained in:
@@ -2727,6 +2727,14 @@ void ui_draw_but(const bContext *C, ARegion *ar, uiStyle *style, uiBut *but, rct
|
||||
ui_draw_but_HISTOGRAM(ar, but, &tui->wcol_regular, rect);
|
||||
break;
|
||||
|
||||
case WAVEFORM:
|
||||
ui_draw_but_WAVEFORM(ar, but, &tui->wcol_regular, rect);
|
||||
break;
|
||||
|
||||
case VECTORSCOPE:
|
||||
ui_draw_but_VECTORSCOPE(ar, but, &tui->wcol_regular, rect);
|
||||
break;
|
||||
|
||||
case BUT_CURVE:
|
||||
ui_draw_but_CURVE(ar, but, &tui->wcol_regular, rect);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user