X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=tim%2Fprune%2Fconfig%2FConfig.java;h=84e5fd7dc6b4a248bb1d2bef51f18be225f90425;hb=2d8cb72e84d5cc1089ce77baf1e34ea3ea2f8465;hp=d2d49c68d7ebb93485c9a428ab6c2fb3c40f3eec;hpb=6f96fb8a39cd8dadff3602eec8a26ed2a7d1fca8;p=GpsPrune.git diff --git a/tim/prune/config/Config.java b/tim/prune/config/Config.java index d2d49c6..84e5fd7 100644 --- a/tim/prune/config/Config.java +++ b/tim/prune/config/Config.java @@ -99,6 +99,12 @@ public abstract class Config public static final String KEY_TERRAIN_GRID_SIZE = "prune.terraingridsize"; /** Key for altitude tolerance */ public static final String KEY_ALTITUDE_TOLERANCE = "prune.altitudetolerance"; + /** Key for waypoint icons to use */ + public static final String KEY_WAYPOINT_ICONS = "prune.waypointicons"; + /** Size of waypoint icons to use */ + public static final String KEY_WAYPOINT_ICON_SIZE = "prune.waypointiconsize"; + /** Id of selected timezone */ + public static final String KEY_TIMEZONE_ID = "prune.timezoneid"; /** Initialise the default properties */ @@ -194,6 +200,7 @@ public abstract class Config props.put(KEY_HEIGHT_EXAGGERATION, "100"); // 100%, no exaggeration props.put(KEY_TERRAIN_GRID_SIZE, "50"); props.put(KEY_ALTITUDE_TOLERANCE, "0"); // 0, all exact as before + props.put(KEY_WAYPOINT_ICON_SIZE, "1"); // medium size return props; } @@ -231,7 +238,9 @@ public abstract class Config return val; } - /** @return File from which config was loaded (or null) */ + /** + * @return File from which config was loaded (or null) + */ public static File getConfigFile() { return _configFile;