mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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:
parent
ed09b80c12
commit
b67e06ee7b
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue