summaryrefslogtreecommitdiff
path: root/include/widgets.h
diff options
context:
space:
mode:
authorpixel <pixel>2004-07-17 10:08:16 +0000
committerpixel <pixel>2004-07-17 10:08:16 +0000
commitd2109565408c6be469642b5aafc2f2efe71a632f (patch)
treeda7d8be56755bbfbf77240b340a9add48448598a /include/widgets.h
parent14271a8d758c086e0762e7ad0d649dabc8848191 (diff)
Starting up Dalos
Diffstat (limited to 'include/widgets.h')
-rw-r--r--include/widgets.h4
1 files changed, 3 insertions, 1 deletions
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();