inline void highlight(pixel32 *x, pixel32 *y, bool raised) const;
void verticalGradient(Surface &sf, const RenderTexture &texture) const;
+ void horizontalGradient(Surface &sf, const RenderTexture &texture) const;
void diagonalGradient(Surface &sf, const RenderTexture &texture) const;
void crossDiagonalGradient(Surface &sf, const RenderTexture &texture) const;
virtual void drawGradientBackground(Surface &sf,
public:
virtual ~RenderControl();
- static RenderControl *getRenderControl(int screen);
+ static RenderControl *createRenderControl(int screen);
//! Draws a background onto a Surface, as specified by a RenderTexture
/*!
virtual void drawImage(Surface &sf, int w, int h,
unsigned long *data) const;
+ //! Draws an image onto the surface
+ virtual void drawImage(Surface &sf, Pixmap pixmap, Pixmap mask) const;
+
//! Draws a string onto a Surface
virtual void drawString(Surface &sf, const Font &font, int x, int y,
const RenderColor &color,