aboutsummaryrefslogtreecommitdiff
path: root/mapman/src/utils.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2024-05-11 19:53:35 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2024-05-11 19:53:35 -0400
commite35a90b4f45a94ab5ddf7bc9660cab451fe1a7b3 (patch)
treed8caa7fc84d7cd134dc2a3f643f5d650a8f33eee /mapman/src/utils.hpp
parent1182683a5e84e9c385d0bb66c6db35c8439fc96b (diff)
downloadmeteor-trashy-addon-e35a90b4f45a94ab5ddf7bc9660cab451fe1a7b3.tar.xz
(mapman) Export images.
Diffstat (limited to 'mapman/src/utils.hpp')
-rw-r--r--mapman/src/utils.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/mapman/src/utils.hpp b/mapman/src/utils.hpp
index 76978f2..286e0e2 100644
--- a/mapman/src/utils.hpp
+++ b/mapman/src/utils.hpp
@@ -5,6 +5,7 @@
#include <array>
#include <QPixmap>
+#include <QImage>
struct rgb_t
{
@@ -78,5 +79,9 @@ const rgb_t MAP_COLORS[62] = {
{127, 167, 150}
};
+class map_library;
+struct map_group_t;
+
QPixmap pixmap_of_map_data(const map_data_t &map_data, double scaling = 1.);
+QImage image_of_map_group(const map_library *library, const map_group_t &group, double scaling = 1.);
#endif