diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-01-19 18:56:41 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-01-19 18:56:41 +0000 |
commit | 2d29d64f234eb731550f88b6b8007ea38d060da2 (patch) | |
tree | d82deab6a23f8cc81cc7bb1d618e465431df0991 /navit/layout.h | |
parent | 55f4463abda76761be9e0fa284ad96d56916a51d (diff) | |
download | navit-2d29d64f234eb731550f88b6b8007ea38d060da2.tar.gz |
Add:Core:Allow layer tag to reference layers within navit context, object handling cleanup
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5340 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/layout.h')
-rw-r--r-- | navit/layout.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/navit/layout.h b/navit/layout.h index 1f36459d0..a17d8e279 100644 --- a/navit/layout.h +++ b/navit/layout.h @@ -75,10 +75,13 @@ struct itemgra { }; struct layer { + NAVIT_OBJECT + struct navit *navit; char *name; int details; GList *itemgras; int active; + struct layer *ref; }; struct cursor { @@ -89,7 +92,19 @@ struct cursor { int interval; }; -struct layout { char *name; char* dayname; char* nightname; char *font; struct color color; GList *layers; GList *cursors; int order_delta; int active; }; +struct layout { + NAVIT_OBJECT + struct navit *navit; + char *name; + char* dayname; + char* nightname; + char *font; + struct color color; + GList *layers; + GList *cursors; + int order_delta; + int active; +}; /* prototypes */ enum attr_type; |