mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: add "transparent" parameter to renderSVGIcon
The start-selection widget will need icons with a transparent background so that the icons don't stick out like a sore thumb. So far the icons rendered by this function were only used by the images on the profile and were perfectly rectangular. Therefore there was no need for this. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
60999e3a39
commit
b0b52d51bd
3 changed files with 8 additions and 8 deletions
|
|
@ -87,7 +87,7 @@ QString getUserAgent();
|
|||
QString printGPSCoords(const location_t *loc);
|
||||
std::vector<int> get_cylinder_map_for_remove(int count, int n);
|
||||
std::vector<int> get_cylinder_map_for_add(int count, int n);
|
||||
QImage renderSVGIcon(const char *id, int size);
|
||||
QImage renderSVGIcon(const char *id, int size, bool transparent);
|
||||
QImage renderSVGIconWidth(const char *id, int size);
|
||||
|
||||
extern QString (*changesCallback)();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue