From d2109565408c6be469642b5aafc2f2efe71a632f Mon Sep 17 00:00:00 2001 From: pixel Date: Sat, 17 Jul 2004 10:08:16 +0000 Subject: Starting up Dalos --- include/widgets.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/widgets.h') diff --git a/include/widgets.h b/include/widgets.h index 2eec009..7a919f4 100644 --- a/include/widgets.h +++ b/include/widgets.h @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: widgets.h,v 1.5 2004-07-16 15:04:52 pixel Exp $ */ +/* $Id: widgets.h,v 1.6 2004-07-17 10:08:16 pixel Exp $ */ #ifndef __WIDGETS_H__ #define __WIDGETS_H__ @@ -230,6 +230,7 @@ namespace mogltk { void addsub(const String &, ContextMenu * sub); ContextMenu * createsub(const String &); virtual void SetEnabled(int i, bool); + void SetCaption(int i, const String &); protected: virtual void resize_notify(); virtual void draw(); @@ -238,6 +239,7 @@ namespace mogltk { public: node(const String & caption, ContextMenu * sub, action * a, int x); String GetCaption(); + void SetCaption(const String &); ContextMenu * GetSub(); action * GetAction(); int GetX(); -- cgit v1.2.3