]> git.street.me.uk Git - andy/viking.git/commit
Add default values for layers.
authorRob Norris <rw_norris@hotmail.com>
Wed, 23 Jan 2013 21:14:50 +0000 (21:14 +0000)
committerRob Norris <rw_norris@hotmail.com>
Sat, 16 Feb 2013 19:54:09 +0000 (19:54 +0000)
commita7023a1b43a8052fccc4ded7fbfc3a7e1132002f
tree2fd35aad5c40b5bfe3831e6e64c76ab1f5ac67cd
parent0da89d90b4c50bb129bc1e0dc38f05d553312138
Add default values for layers.

Add functions to set the default layer parameter data, which is used on initialization.
This uses the GKeyFile mechanism to read and write files.
Using the group type offers a straightforward way to map to the layer name.
Enable GUI access to change the default values.
Rework the layer initialization to use the current default value for each parameter.
24 files changed:
po/POTFILES.in
src/Makefile.am
src/datasource_bfilter.c
src/download.c
src/globals.c
src/main.c
src/mapcache.c
src/menu.xml.h
src/osm-traces.c
src/uibuilder.c
src/uibuilder.h
src/vikcoordlayer.c
src/vikcoordlayer.h
src/vikdemlayer.c
src/vikgeoreflayer.c
src/vikgpslayer.c
src/viking.h
src/viklayer.c
src/viklayer.h
src/viklayer_defaults.c [new file with mode: 0644]
src/viklayer_defaults.h [new file with mode: 0644]
src/vikmapslayer.c
src/viktrwlayer.c
src/vikwindow.c