Default constructor (blank text)
| 26 | |
| 27 | /// Default constructor (blank text) |
| 28 | QtHtmlReader::QtHtmlReader() : width(1024), height(768), x_offset(0), y_offset(0), html(""), css(""), background_color("#000000"), is_open(false), gravity(GRAVITY_CENTER) |
| 29 | { |
| 30 | // Open and Close the reader, to populate it's attributes (such as height, width, etc...) |
| 31 | Open(); |
| 32 | Close(); |
| 33 | } |
| 34 | |
| 35 | QtHtmlReader::QtHtmlReader(int width, int height, int x_offset, int y_offset, GravityType gravity, std::string html, std::string css, std::string background_color) |
| 36 | : width(width), height(height), x_offset(x_offset), y_offset(y_offset), gravity(gravity), html(html), css(css), background_color(background_color), is_open(false) |