diff options
Diffstat (limited to 'glcdgraphics/imagefile.h')
-rw-r--r-- | glcdgraphics/imagefile.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/glcdgraphics/imagefile.h b/glcdgraphics/imagefile.h index bf5ff5e..bc7e835 100644 --- a/glcdgraphics/imagefile.h +++ b/glcdgraphics/imagefile.h @@ -26,6 +26,13 @@ public: virtual ~cImageFile(); virtual bool Load(cImage & image, const std::string & fileName); virtual bool Save(cImage & image, const std::string & fileName); + + virtual bool SupportsScaling(void) { return false; } + virtual bool LoadScaled(cImage & image, const std::string & fileName, uint16_t & scalew, uint16_t & scaleh) { + scalew = 0; + scaleh = 0; + return Load(image, fileName); + } }; } // end of namespace |