Maelstrom: Added a virtual function to set text on elements with labels

From 2bb8db8d3a28b6a27eb6bcbf11fe3346e795a239 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 23 Oct 2011 04:52:56 -0400
Subject: [PATCH] Added a virtual function to set text on elements with labels

---
 screenlib/UIElement.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/screenlib/UIElement.h b/screenlib/UIElement.h
index acafbf82..1572d9b2 100644
--- a/screenlib/UIElement.h
+++ b/screenlib/UIElement.h
@@ -46,6 +46,8 @@ class UIElement : public UIArea
 
 	virtual UIArea *GetAnchorElement(const char *name);
 
+	virtual void SetText(const char *text) { }
+
 	virtual void Draw() { }
 	virtual bool HandleEvent(const SDL_Event &event) { return false; }