From be919fc38d46339a254e0d789c69773f7e600ff5 Mon Sep 17 00:00:00 2001 From: Andrew Hannam Date: Sat, 6 Apr 2013 22:31:40 +1000 Subject: Create generic GWIN Draw routine For some GWIN controls they support a Draw() routine. For those controls the base class now supports a generic Draw routine which will call their specific Draw routine. The only GWIN's with a Draw routine currently are Buttons and Sliders. --- include/gwin/gwin.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/gwin') diff --git a/include/gwin/gwin.h b/include/gwin/gwin.h index 47c2e38d..3d994d0a 100644 --- a/include/gwin/gwin.h +++ b/include/gwin/gwin.h @@ -165,6 +165,16 @@ void gwinDestroyWindow(GHandle gh); /* Drawing Functions */ +/** + * @brief Draw the window + * @note Redraws the Window if the GWIN object has a draw routine + * + * @param[in] gh The window handle + * + * @api + */ +void gwinDraw(GHandle gh); + /** * @brief Clear the window * @note Uses the current background color to clear the window -- cgit v1.2.3