From 828ee982227fc8b4a426a64d3d5f01a7cd4c99a5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 25 May 2015 17:46:38 +0300 Subject: Add safeDraw method into button. --- src/gui/widgets/button.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/button.h') diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h index d8c5e66b8..5c63c86ce 100644 --- a/src/gui/widgets/button.h +++ b/src/gui/widgets/button.h @@ -153,6 +153,8 @@ class Button final : public Widget, */ void draw(Graphics *graphics) override final; + void safeDraw(Graphics *graphics) override final; + /** * Update the alpha value to the button components. */ -- cgit v1.2.3-70-g09d2