background-opacity support

This commit is contained in:
John Firebaugh
2014-08-28 10:34:10 -07:00
parent e2c2ab843e
commit 9f734ee61d
7 changed files with 21 additions and 9 deletions

View File

@@ -60,6 +60,7 @@ enum class PropertyKey {
RasterContrast,
RasterFade,
BackgroundOpacity,
BackgroundColor
};

View File

@@ -92,6 +92,7 @@ struct RasterProperties {
struct BackgroundProperties {
inline BackgroundProperties() {}
float opacity = 1.0f;
Color color = {{ 0, 0, 0, 1 }};
};