Blank constructor, useful when using Json to load the effect properties
| 28 | |
| 29 | /// Blank constructor, useful when using Json to load the effect properties |
| 30 | Caption::Caption() : color("#ffffff"), stroke("#a9a9a9"), background("#ff000000"), background_alpha(0.0), left(0.1), top(0.75), right(0.1), |
| 31 | stroke_width(0.5), font_size(30.0), font_alpha(1.0), is_dirty(true), font_name("sans"), font(NULL), metrics(NULL), |
| 32 | fade_in(0.35), fade_out(0.35), background_corner(10.0), background_padding(20.0), line_spacing(1.0) |
| 33 | { |
| 34 | // Init effect properties |
| 35 | init_effect_details(); |
| 36 | } |
| 37 | |
| 38 | // Default constructor |
| 39 | Caption::Caption(std::string captions) : |
nothing calls this directly
no outgoing calls
no test coverage detected