virtual bool mouseOver( int x, int y ) const;
/// Draw the control on the given graphics
- virtual void draw( OSGraphics &rImage, int xDest, int yDest );
+ virtual void draw( OSGraphics &rImage, int xDest, int yDest, int w, int h );
/// Get the type of control (custom RTTI)
virtual string getType() const { return "image"; }
resize_t m_resizeMethod;
/// does the image get updated as art
bool m_art;
+ /// offset for image inside the control
+ int m_x;
+ int m_y;
/// Method called when the observed variable is modified
virtual void onUpdate( Subject<VarString> &rVariable, void* );