aboutsummaryrefslogtreecommitdiff
path: root/Plugins/pixels.h
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/pixels.h')
-rw-r--r--Plugins/pixels.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Plugins/pixels.h b/Plugins/pixels.h
index 4dd1264..9557ea8 100644
--- a/Plugins/pixels.h
+++ b/Plugins/pixels.h
@@ -54,6 +54,9 @@ public:
__inline int eof() { return y==m_f.height ? 1 : 0; }
void next();
+
+ __inline int width() { return m_f.width; }
+ __inline int height() { return m_f.height; }
};
byte pixels::red()