summaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
authorNikita Kostovsky <luntik2012@gmail.com>2025-01-23 13:41:27 +0100
committerNikita Kostovsky <luntik2012@gmail.com>2025-01-23 13:41:27 +0100
commit80949709a1132b5198bb8006963f177fcde2e991 (patch)
tree5d797ecfd761df3ac9968c696eba3abfd50852fa /src/image.h
parent3fa8f19daf8b36b0703002d78a84e5bb7919849b (diff)
fix CMakeLists.txt, add some debug info and prototypes
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/image.h b/src/image.h
index 1ec1b93..934aa40 100644
--- a/src/image.h
+++ b/src/image.h
@@ -5,6 +5,7 @@
class Pixels;
+// TODO: template
struct Image
{
int width{0};
@@ -18,4 +19,5 @@ struct Image
void rotate();
std::shared_ptr<Pixels> pixels() const;
+ void copyFromData(const void* src, size_t size);
};