platform/wm/rhodes/MapView/Graphics.h in rhodes-3.1.1 vs platform/wm/rhodes/MapView/Graphics.h in rhodes-3.2.0.beta.1

- old
+ new

@@ -145,18 +145,28 @@ } virtual IDrawingImage* createImage(void const *p, size_t s, bool useAlpha) { return new DrawingImageImpl(p, s, useAlpha); } + virtual IDrawingImage* createImageEx(void const *p, size_t s, int x, int y, int w, int h, bool useAlpha) { + return new DrawingImageImpl(p, s, useAlpha); + } + + virtual IDrawingImage* cloneImage(IDrawingImage *image) { if (image == NULL) { return NULL; } return ((DrawingImageImpl*)image)->clone(); } virtual void destroyImage(IDrawingImage* image) { delete image; }; + + + virtual IDrawingImage* createCalloutImage(String const &title, String const &subtitle, String const& url, int* x_offset, int* y_offset) { + return NULL; + } virtual void requestRedraw(){} }; \ No newline at end of file