diff options
Diffstat (limited to 'source/gameengine/Rasterizer/RAS_IRenderTools.h')
-rw-r--r-- | source/gameengine/Rasterizer/RAS_IRenderTools.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/source/gameengine/Rasterizer/RAS_IRenderTools.h b/source/gameengine/Rasterizer/RAS_IRenderTools.h index bccda634222..6131abc0650 100644 --- a/source/gameengine/Rasterizer/RAS_IRenderTools.h +++ b/source/gameengine/Rasterizer/RAS_IRenderTools.h @@ -100,6 +100,22 @@ public: double* oglmatrix, int drawingmode )=0; + + /** + * Renders 2D boxes. + * \param xco Position on the screen (origin in lower left corner). + * \param yco Position on the screen (origin in lower left corner). + * \param width Width of the canvas to draw to. + * \param height Height of the canvas to draw to. + * \param percentage Percentage of bar. + */ + virtual + void + RenderBox2D(int xco, + int yco, + int width, + int height, + float percentage) = 0; /** * Renders 3D text string using BFL. |