Expose properties for note border color and fill color to style sheets
Expose properties to set the colors for note borders and note fills for patterns to the style sheets. Both properties are exposed for the muted and not muted case. Use these new properties during rendering. Adjust the style sheets for the classic and default theme.
This commit is contained in:
@@ -624,6 +624,11 @@ TrackContentObjectView {
|
||||
PatternView {
|
||||
background-color: rgb( 119, 199, 216 );
|
||||
color: rgb( 187, 227, 236 );
|
||||
|
||||
qproperty-noteFillColor: rgb( 187, 227, 236 );
|
||||
qproperty-noteBorderColor: rgb( 119, 199, 216 );
|
||||
qproperty-mutedNoteFillColor: rgb( 128, 128, 128 );
|
||||
qproperty-mutedNoteBorderColor: rgb( 80, 80, 80 );
|
||||
}
|
||||
|
||||
/* sample track pattern */
|
||||
|
||||
@@ -631,6 +631,11 @@ TrackContentObjectView {
|
||||
PatternView {
|
||||
background-color: #21A14F;
|
||||
color: rgba(255,255,255,220);
|
||||
|
||||
qproperty-noteFillColor: rgba(255, 255, 255, 220);
|
||||
qproperty-noteBorderColor: rgb(33, 161, 79);
|
||||
qproperty-mutedNoteFillColor: rgba(100, 100, 100, 220);
|
||||
qproperty-mutedNoteBorderColor: rgb(55, 61, 72);
|
||||
}
|
||||
|
||||
/* sample track pattern */
|
||||
|
||||
Reference in New Issue
Block a user