Add slider for adjusting scope trace brightness
This makes it easier for users to discover the feature and see the current brightness.
This commit is contained in:
@@ -251,6 +251,7 @@ HISTOGRAM_TOOLTIP_MODE;Toggle between linear, log-linear and log-log scaling of
|
||||
HISTOGRAM_TOOLTIP_R;Show/Hide red histogram.
|
||||
HISTOGRAM_TOOLTIP_RAW;Show/Hide raw histogram.
|
||||
HISTOGRAM_TOOLTIP_SHOW_OPTIONS;Toggle visibility of the scope option buttons.
|
||||
HISTOGRAM_TOOLTIP_TRACE_BRIGHTNESS;Adjust scope brightness.
|
||||
HISTOGRAM_TOOLTIP_TYPE_HISTOGRAM;Histogram
|
||||
HISTOGRAM_TOOLTIP_TYPE_HISTOGRAM_RAW;Raw Histogram
|
||||
HISTOGRAM_TOOLTIP_TYPE_PARADE;RGB Parade
|
||||
|
@@ -720,6 +720,23 @@ flowboxchild:selected {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Vertical version of slider. */
|
||||
#histScale {
|
||||
min-height: 4em;
|
||||
min-width: 0.4166666666666666em;
|
||||
margin: 0.5833333333333333em 0 0 0;
|
||||
}
|
||||
#histScale trough {
|
||||
padding: 0.583333333333333333em 0;
|
||||
}
|
||||
#histScale trough highlight {
|
||||
margin: -0.583333333333333333em 0;
|
||||
padding: 0.1em 0 0 0.1em;
|
||||
}
|
||||
#histScale.fine-tune trough highlight {
|
||||
padding: 0.5em 0 0 0.5em;
|
||||
}
|
||||
|
||||
/* Copied from button.flat style. */
|
||||
button.radio#histButton {
|
||||
background-image: none;
|
||||
|
@@ -453,6 +453,27 @@ filechooser placessidebar list row:selected {
|
||||
padding-bottom: 0.25em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Vertical version of slider. */
|
||||
#histScale {
|
||||
min-height: 4em;
|
||||
min-width: 1.833333333333333333em;
|
||||
margin: -0.333333333333333333em 0;
|
||||
}
|
||||
#histScale trough {
|
||||
padding: 0.583333333333333333em 0;
|
||||
}
|
||||
#histScale highlight {
|
||||
background-image: linear-gradient(to right, shade (@accent-color2,1.22), shade(@accent-color2,.88));
|
||||
margin: -0.583333333333333333em 0;
|
||||
padding: 0.333333333333333333em 0 0 0.333333333333333333em;
|
||||
}
|
||||
#histScale slider {
|
||||
}
|
||||
#histScale.fine-tune highlight {
|
||||
padding: 0.5em 0 0 0.5em;
|
||||
}
|
||||
|
||||
/* Copied from button.flat style. */
|
||||
button.radio#histButton {
|
||||
border: 0.083333333333333333em solid transparent;
|
||||
|
Reference in New Issue
Block a user