summaryrefslogtreecommitdiff
path: root/navit/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'navit/gui.h')
-rw-r--r--navit/gui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/gui.h b/navit/gui.h
index 81dcd31e..b19b5126 100644
--- a/navit/gui.h
+++ b/navit/gui.h
@@ -39,6 +39,7 @@ struct gui_methods {
void (*disable_suspend)(struct gui_priv *priv);
int (*get_attr)(struct gui_priv *priv, enum attr_type type, struct attr *attr);
int (*add_attr)(struct gui_priv *priv, struct attr *attr);
+ int (*set_attr)(struct gui_priv *priv, struct attr *attr);
};
@@ -54,6 +55,7 @@ struct menu;
struct pcoord;
struct gui *gui_new(struct attr *parent, struct attr **attrs);
int gui_get_attr(struct gui *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);
+int gui_set_attr(struct gui *this_, struct attr *attr);
int gui_add_attr(struct gui *this_, struct attr *attr);
struct menu *gui_menubar_new(struct gui *gui);
struct menu *gui_popup_new(struct gui *gui);