Update of /cvsroot/roadmap/roadmap/src/win32/distribution In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv20061/distribution Added Files: All font.ttf libexpat-1.dll preferences.txt roadmap.screenobjects roadmap.toolbar session.txt sprites Log Message: Stuff to create a CAB file for a WinCE distribution. --- NEW FILE: All --- Class.Name: All Class.Lines: Freeways Ramps Highways Streets Trails Rivers Shore Railroads Boundaries Class.Polygons: Lakes Sea Parks Hospitals Airports Stations Malls Navigation.Car: Freeways Ramps Highways Streets Trails Freeways.Color: black Freeways.Color1: IndianRed Freeways.Delta1: -2 Freeways.Color2: black Freeways.Delta2: 1 Freeways.Declutter: 10000 Freeways.Thickness: 6 Ramps.Color: black Ramps.Color1: red Ramps.Delta1: -2 Ramps.Declutter: 160 Ramps.Thickness: 3 Highways.Color: black Highways.Color1: yellow Highways.Delta1: -2 Highways.Declutter: 1300 Highways.Thickness: 3 Streets.Color: black Streets.Color1: white Streets.Delta1: -2 Streets.Declutter: 160 Streets.Thickness: 2 Trails.Color: DarkGrey Trails.Declutter: 160 Trails.Thickness: 1 Railroads.Color: black Railroads.Declutter: 250 Railroads.Style: dashed Railroads.Thickness: 1 Rivers.Color: LightBlue Rivers.Declutter: 300 Rivers.Thickness: 3 Shore.Color: LightSlateBlue Shore.Declutter: 2000 Shore.Thickness: 2 Hospitals.Color: red Hospitals.Declutter: 4096 Hospitals.Thickness: 1 Malls.Color: yellow Malls.Declutter: 4096 Malls.Thickness: 1 Airports.Color: grey Airports.Declutter: 4096 Airports.Thickness: 1 Stations.Color: grey Stations.Declutter: 4096 Stations.Thickness: 1 Lakes.Color: LightBlue Lakes.Declutter: 1300 Lakes.Thickness: 1 Parks.Color: green Parks.Declutter: 4096 Parks.Thickness: 1 Sea.Color: SlateBlue Sea.Declutter: 2147483647 Sea.Thickness: 1 Boundaries.Color: darkgreen Boundaries.Thickness: 2 Boundaries.Declutter: 2147483647 --- NEW FILE: roadmap.screenobjects --- # This file describes objects which can be displayed on the screen. # These objects can reflect the state of the program (e.g., which way # is north, how strong is the GPS signal), and/or allow actions to # be performed (e.g. zoom in, show the trip's destination). These # objects may be placed anywhere on the screen, but nothing prevents # them from being obscured by other popup messages and displays, so # their position should probably be along the sides of the screen. # # Syntax: # # N <name> Name of the object (unused, but starts a new object) # Specifying a name, and nothing else at all, will # define a null object which can be used to # override objects defined in other (e.g. system) # screenobjects files. # P <x> <y> The screen position of the sprite, measured from # the top left in pixels. Negative offsets measure # from the right and from the bottom. If the <x> or # <y> value begins with a 'C', then the remainder # is an offset from the center of the screen. # E <sprite> [text] The name of the sprite which will be drawn. # E <sprite> [text] Multiple sprites can be specified. Which one is # displayed is selected via the object's "state" # indicator. If "text" is specified, it will be # displayed with the sprite (assuming the sprite # has been defined to have text associated with it). # - The text can be divided into multiple lines. # Line breaks are indicated by inserting a '^'. # - The text can contain %-macros, just as defined # for other text displays, in order to display # dynamic content. The '|' "alternation" symbol # is also honored. See the documentation. # S <statename> The "state" indicator which will choose among # the listed sprites. For "constant" displays, this # is optional. # A <actionname> The action which should be invoked when the sprite # is selected. Optional. # R <angle> Sprites will normally rotate dynamically, either with # the screen, or based on an angle retrieved via the # state indicator. Specifying 'R' suppresses this # by forcing rotation to the given angle. (default 0) # B <x> <y> <x> <y> Optional -- the bounding box used to determine # whether a selection has taken place. (I.e., the # size of the sprite.) Normally the bounding box is # provided by the sprite itself, but irregularly # shaped sprites, combined with the rotation of the # sprite, may require that the box be overridden. # Note that the bounding box for any text associated # with the sprite is calculated and considered # separately. Also note that if sprite scaling is # used, this bounding box may need to be adjusted. # the Compass object shows which way is north. it changes from a # traditional "compass rose" to a simple arrow if "dynamic orientation" # is turned off. N Compass S get_orientation P 20 60 E Compass E Compass_fixed A toggleorientation # The GPS_reception object displays the relative GPS signal strength. # Selecting it will reposition the map to the current GPS position. # This version doesn't have a text object, the colour should suffice. N GPS_reception S get_GPS_reception P 20 100 E reception_na E reception_none E reception_poor E reception_good A gps R # When the Download object is visible, it indicates that RoadMap is # willing to download maps from the network. # N Download # S get_download_enabled # P -20, 60 # E Download # R # Uncomment this one to get an on-screen "Menu" icon. With this enabled, # you could then get rid of the normal drop-down menus, and the toolbar. # (You could also get rid of them and use a long-click to get menus.) # N Menus # P -20 -60 # E Menu # A ->Menus... # R 0 # The Direction_Next object points to the route's next waypoint, # relative to the current direction of travel (assuming the screen # is facing forward in the vehicle). # N Direction_Next # S get_direction_next # P -20 100 # E Direction_Next # A nextpoint # # The Direction_2nd object points to waypoint after the next. # # relative to the current direction of travel. This can be # # useful to see which way the route will go at the next turning. # N Direction_2nd # S get_direction_2nd # P -20 140 # E Direction_2nd # A 2ndpoint # The Direction_Dest object points to the route's last waypoint, # relative to the direction of travel. # N Direction_Dest # S get_direction_dest # P -20 180 # E Direction_Dest # A destination # The ZoomIn/Out_Buttons do just that, when selected. # N ZoomIn_Button # P 20 -100 # E ZoomIn # A zoomin # R 0 # N ZoomOut_Button # P 20 -60 # E ZoomOut # A zoomout # R 0 # The next four are up/down/left/right controls, centered on # each edge of the screen, each rotated appropriately. # (Most devices have dedicated arrow keys, though, so these # are commented out by default.) # N UpArrow # P C0 20 # E PurpleTriangle # A up # R 0 # # N DownArrow # P C0 -20 # E PurpleTriangle # A down # R -180 # # N RightArrow # P -20 C0 # E PurpleTriangle # A right # R 90 # # N LeftArrow # P 20 C0 # E PurpleTriangle # A left # R -90 # # provide a labeled "button" to switch view modes # N 2D3D # P 20 180 # S view_mode # E TextBox 3D # E TextBox 2D # A toggleview # # show current time, along with either sunset or sunrise time # N daylight # P C-80 -40 # E InfoBox Time: %T^Sunset:^%E|Time: %T^Sunrise:^%M --- NEW FILE: session.txt --- Delta.Rotate: 0 Delta.Y: 0 Delta.X: 0 Focus.Rotate: 0 Focus.Name: Address Hold.Direction: 0 Hold.Position: 0,0 Selection.Position: -122394181,37794928 Address.Position: -122394181,37794928 GPS.Direction: 0 GPS.Position: 0,0 General.Zoom: 150 --- NEW FILE: preferences.txt --- Destination.Color: red Download.Destination: \Storage Card\Roadmap\maps Map.Cache: 8 Map.Background: LightYellow General.Default Zoom: 20 General.Keyboard: no General.Icons: yes General.Toolbar: yes General.Unit: imperial GPS.Background: LightYellow GPS.Baud Rate: 4800 GPS.Color: red GPS.Foreground: black GPS.Source: com1: GPS.Timeout: 10 Help.Arguments: %s Help.Browser: \windows\iexplore Highlight.Background: yellow Highlight.Duration: 10 Highlight.Thickness: 4 Location.Color: red Polygons.Declutter: 1300 Shapes.Declutter: 1300 Display.Rotate: yes --- NEW FILE: roadmap.toolbar --- # # Sample replacement toolbar for RoadMap. # # One button will invoke the menu system as a series of popups, and # the other buttons will perform specific actions. The button labels will # come from "roadmap.actionlabels". # If a "Menus..." button like that below is to be used, it may be # desireable to suppress the default "normal" menus. To do so, create # an empty "roadmap.menus" file. ->Menus... gps destination addaswaypoint resumeroute toggleview --- NEW FILE: libexpat-1.dll --- (This appears to be a binary file; contents omitted.) --- NEW FILE: font.ttf --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sprites --- # # Sprites are small drawings (somewhat like icons) which RoadMap will put # on the screen in various roles. Some move, some are stationary. # # Syntax of the sprite description: # S <name> Start a sprite. The name is how RoadMap refers # to the sprite. These references are # hard-coded into RoadMap. # A <name> Defines this sprite as an alias for another sprite. # (An alias cannot itself have drawing directives). # F <color> <thickness> Start a new color plane. # X <percent> Optional scale factor, for resizing the entire sprite. # L <x>,<y> ... Defines a line. # P <x>,<y> ... Defines a (filled) polygon. # C <x>,<y> <radius> Defines a circle. # D <x>,<y> <radius> Defines a disk (i.e. a filled circle). # B <x>,<y> <x>,<y> Override the sprite's natural bounding box. # T <x>,<y> <s> text... Adds text to the sprite, of size 's'. "text" # can be ommitted, in cases where the sprite's # text will be provided by a screen object # definition. Text strings are fixed, with # no expansion of %-macros. # TR If the sprite has text, supply a backing rectangle # sized and positioned to match the text. # TB If the sprite has text, supply a box outline around # the text. # # The coordinates x and y are relative to the sprite's hot point. # Positive x and y values are towards the south-east. # # The natural "direction" for the sprite is north (e.g., for an arrow). # # The bounding box of sprite is normally calculated internally, # but can be overridden. If a sprite has text associated with # it, the text forms a second, separate, bounding box. Currently # these outlines are only used when sprite is referenced in # "roadmap.screenobjects". The bounding box can also be # overridden there. # # We use aliases to separate a sprite's usage from its actual drawing. # This makes it easier to change the representation of a specific object. S GPS A BlueDart S Friend A GreenTriangle S Selection A CrossHair S Direction A RedArrow S Destination A RedDotCircle S PointOfInterest A SmallRedDot S Waypoint A DarkGreenDot S Start A GreenTrianglePointer S RoutePoint A Circle-Pointer S SecondaryRoutePoint A Small-Circle-Pointer S PersonalLandmark A 5PointStar S TripLandmark A GreenSquare S Highlight A YellowDot S Kismet A RedDisk S Track A PurpleChevron S InactiveTrack A SmallPurpleChevron S BreadCrumb A PurpleDot S Departure A DottedSquare S Direction_Next A BigGreenDart S Direction_2nd A BigYellowDart S Direction_Dest A BigRedDart S ZoomIn A CirclePlus S ZoomOut A CircleMinus # The actual drawing sprites: S BlueDart F white 2 L 0,0 7,14 0,8 -7,14 F blue 1 P 0,1 6,13 0,10 -6,13 L 8,11 0,-3 -8,11 # same as "BlueDart", but with a bigger black # outline for visibility on low-contrast displays S OutlinedBlueDart F white 2 L 0,0 7,14 0,8 -7,14 L 11,17 0,-3 -11,17 0,14 11,17 F blue 1 P 0,1 6,13 0,10 -6,13 F black 1 L 11,17 0,-3 -11,17 0,14 11,17 S GreenTriangle F white 2 L 0,0 7,14 0,8 -7,14 F DarkGreen 2 L 0,1 6,13 0,10 -6,13 0,1 S PurpleTriangle F Purple 1 P 0,-10 -9,5 9,5 0,-10 S CrossHair F white 3 L 0,-10 0,-20 L 0,10 0,20 L 10,0 20,0 L -10,0 -20,0 C 0,0 15 F black 1 L 0,-10 0,-20 L 0,10 0,20 L 10,0 20,0 L -10,0 -20,0 C 0,0 15 S RedArrow F red 1 P -5,-20 0,-35 5,-20 F black 1 L -5,-20 0,-35 5,-20 -5,-20 S RedDotCircle F red 1 D 0,0 5 F black 1 C 0,0 5 C 0,0 7 S SmallRedDot F red 1 D 0,0 3 S GreenTrianglePointer F green 2 P 0,-9 -8,4 8,4 0,-9 F black 1 L 0,-9 -8,4 8,4 0,-9 L 1,-8 1,-16 L 1,-16 -1,-16 L -1,-16 -1,-8 S GreenDot F green 1 D 0,0 5 F black 1 C 0,0 5 S DarkGreenDot F darkgreen 1 D 0,0 5 F black 1 C 0,0 5 S GreenSquare F black 1 L 5,5 5,-5 -5,-5 -5,5 5,5 F green 1 P 4,4 4,-4 -4,-4 -4,4 4,4 S PurpleChevron F purple 2 L -4,6 0,-6 4,6 S SmallPurpleChevron F purple 2 L -4,4 0,-4 4,4 S PurpleCross F purple 2 L -4,0 4,0 L 0,-4 0,4 S PurpleDot F purple 1 D 0,0 3 S 5PointStar F darkred 1 L 0,-9 5,7 L 5,7 -8,-3 L -8,-3 8,-3 L 8,-3 -5,7 L -5,7 0,-9 S YellowDot F yellow 1 D 0,0 5 F black 1 C 0,0 5 S RedDisk F red 1 D 0,0 10 S Circle F black 1 C 0,0 7 S Circle-Pointer F green 1 D 0,0 7 F black 1 C 0,0 7 C 0,0 1 L 1,-7 1,-16 L 1,-16 -1,-16 L -1,-16 -1,-7 S Small-Circle-Pointer F green 1 D 0,0 6 F black 1 C 0,0 6 L 1,-6 1,-16 L 1,-16 -1,-16 L -1,-16 -1,-6 S DottedSquare F black 1 L 9,9 9,-9 -9,-9 -9,9 9,9 C 0,0 1 # These are very specific sprites we do not expect to change much. S Compass #F white 1 #D 0,0 13 F black 2 C 0,0 14 F white 1 C 0,0 15 F white 3 L -4,0 0,-13 4,0 L -4,0 0,13 4,0 F black 1 P -4,0 0,-13 4,0 F black 1 L -4,0 0,-13 4,0 L -4,0 0,13 4,0 L -17,0 -7,0 L 7,0 17,0 L 0,-13 0,-17 L 0,13 0,17 S Compass_fixed A BigBlackDart S BigBlackDart F black 1 P -9,13 0,8 9,13 0,-13 F white 1 L 0,8 9,13 0,-13 L 0,8 -9,13 0,-13 S BigGreenDart F green 1 P -9,13 0,8 9,13 0,-13 F black 2 L 0,8 9,13 0,-13 L 0,8 -9,13 0,-13 S BigYellowDart F yellow 1 P -9,13 0,8 9,13 0,-13 F black 2 L 0,8 9,13 0,-13 L 0,8 -9,13 0,-13 S BigRedDart F red 1 P -9,13 0,8 9,13 0,-13 F black 2 L 0,8 9,13 0,-13 L 0,8 -9,13 0,-13 S Download #F white 1 #D 0,0 14 F white 1 C 0,0 9 F red 1 C 0,0 8 P -7,-6 -12,4 -2,4 P 7,6 12,-4 2,-4 F white 1 L -7,-6 -12,4 L -7,-6 -2,4 L 7,6 12,-4 L 7,6 2,-4 F black 2 C 0,0 14 F white 1 C 0,0 15 # GPS Indication symbols: S Reception_na #F white 1 #D 0,0 15 F black 2 C 0,0 15 F white 1 C 0,0 16 F white 1 P -10,-5 -3,-12 0,-5 -2,-3 P 5,0 12,3 5,10 2,3 P 5,-10 10,-5 0,5 -5,0 F black 1 L -10,-5 -3,-12 0,-5 -2,-3 -10,-5 L 5,0 12,3 5,10 2,3 5,0 L 5,-10 10,-5 0,5 -5,0 5,-10 L -7,1 -6,3 -3,6 -1,7 L -10,1 -9,3 -3,9 -1,10 L -13,1 -12,3 -3,12 -1,13 F DarkRed 2 L -9,-9 9,9 L 9,-9 -9,9 S reception_none #F white 1 #D 0,0 15 F black 2 C 0,0 15 F white 1 C 0,0 16 F red 1 P -10,-5 -3,-12 0,-5 -2,-3 P 5,0 12,3 5,10 2,3 P 5,-10 10,-5 0,5 -5,0 F black 1 L -10,-5 -3,-12 0,-5 -2,-3 -10,-5 L 5,0 12,3 5,10 2,3 5,0 L 5,-10 10,-5 0,5 -5,0 5,-10 L -7,1 -6,3 -3,6 -1,7 L -10,1 -9,3 -3,9 -1,10 L -13,1 -12,3 -3,12 -1,13 F white 1 TR F black 1 TB F black 2 T 0,20 10 S reception_poor #F white 1 #D 0,0 15 F black 2 C 0,0 15 F white 1 C 0,0 16 F yellow 1 P -10,-5 -3,-12 0,-5 -2,-3 P 5,0 12,3 5,10 2,3 P 5,-10 10,-5 0,5 -5,0 F black 1 L -10,-5 -3,-12 0,-5 -2,-3 -10,-5 L 5,0 12,3 5,10 2,3 5,0 L 5,-10 10,-5 0,5 -5,0 5,-10 L -7,1 -6,3 -3,6 -1,7 L -10,1 -9,3 -3,9 -1,10 L -13,1 -12,3 -3,12 -1,13 F white 1 TR F black 1 TB F black 2 T 0,20 10 S reception_good #F green 1 #D 0,0 15 F black 2 C 0,0 15 F white 1 C 0,0 16 #F white 1 F green 1 P 10,-5 3,-12 0,-5 2,-3 P -5,0 -12,3 -5,10 -2,3 P -5,-10 -10,-5 0,5 5,0 F black 1 L 10,-5 3,-12 0,-5 2,-3 10,-5 L -5,0 -12,3 -5,10 -2,3 -5,0 L -5,-10 -10,-5 0,5 5,0 -5,-10 L 7,1 6,3 3,6 1,7 L 10,1 9,3 3,9 1,10 L 13,1 12,3 3,12 1,13 F white 1 TR F black 1 TB F black 2 T 0,20 10 # Red X S X F DarkRed 4 L 4,4 20,20 L 20,4 4,20 S CirclePlus #F white 1 #D 0,0 15 F black 2 C 0,0 15 F white 1 C 0,0 16 F black 1 P -2,2 -2,12 2,12 2,2 12,2 12,-2 2,-2 2,-12 -2,-12 -2,-2 -12,-2 -12,2 F white 1 L -3,3 -3,12 3,12 3,3 12,3 12,-3 3,-3 3,-12 -3,-12 -3,-3 -12,-3 -12,3 -3,3 S CircleMinus #F white 1 #D 0,0 15 F black 2 C 0,0 15 F white 1 C 0,0 16 F black 1 P 12,2 12,-2 -12,-2 -12,2 F white 1 L 12,3 12,-3 -12,-3 -12,3 12,3 S Menu #F white 1 #D 0,0 15 F black 2 C 0,0 15 F white 1 C 0,0 16 P -5,-8 6,-8 2,8 -9,8 -5,-8 P 6,-8 5,7 8,7 6,-8 F black 1 L -5,-8 6,-8 2,8 -9,8 -5,-8 L 5,7 8,7 6,-8 L -3,-5 3,-5 L -3,-3 2,-3 L -4,-1 2,-1 L -5,1 1,1 L -5,3 1,3 # uncomment to add a text label # T 0,25 18 Menu # an empty textbox, which can be used as a screenobject S TextBox F white 1 TR F black 1 TB F black 2 T 0,0 20 # an empty textbox, which can be used as a screenobject S InfoBox F lightgreen 1 TR F black 1 TB F darkgreen 2 T 0,0 20 |