diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-04-10 22:45:40 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-04-10 22:45:40 +0000 |
commit | 58ed3ce563495388e5dd3f00e3c3216cd7002007 (patch) | |
tree | 1195e842d8d81ac56ca3fdfafed6952c83bcbd83 /gui.h | |
parent | 2abb2c66f6dc075f79d46d30f59a27ed8cc2dc3e (diff) | |
download | navit-svn-58ed3ce563495388e5dd3f00e3c3216cd7002007.tar.gz |
Fix:Core:Cleaned up attribute handling a bit
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/src@1000 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'gui.h')
-rw-r--r-- | gui.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -20,21 +20,19 @@ struct gui_methods { }; -struct gui { - struct gui_methods meth; - struct gui_priv *priv; -}; - /* prototypes */ +enum attr_type; struct attr; +struct attr_iter; struct callback; -struct coord; struct datawindow; struct graphics; struct gui; struct menu; struct navit; +struct pcoord; struct gui *gui_new(struct navit *nav, const char *type, struct attr **attrs); +int gui_get_attr(struct gui *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter); struct menu *gui_menubar_new(struct gui *gui); struct menu *gui_popup_new(struct gui *gui); struct datawindow *gui_datawindow_new(struct gui *gui, char *name, struct callback *click, struct callback *close); |