Printing: export color settings to grantlee

Export color palette selected to grantlee backend.

Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
Gehad elrobey 2015-07-13 11:19:03 +02:00 committed by Lubomir I. Ivanov
parent ed09b80c12
commit b67e06ee7b

View file

@ -123,6 +123,16 @@ if (property == "font") {
return object.font_size / 9.0; return object.font_size / 9.0;
} else if (property == "line_spacing") { } else if (property == "line_spacing") {
return object.line_spacing; return object.line_spacing;
} else if (property == "color1") {
return object.color_palette.color1.name();
} else if (property == "color2") {
return object.color_palette.color2.name();
} else if (property == "color3") {
return object.color_palette.color3.name();
} else if (property == "color4") {
return object.color_palette.color4.name();
} else if (property == "color5") {
return object.color_palette.color5.name();
} }
GRANTLEE_END_LOOKUP GRANTLEE_END_LOOKUP