Changeset cf7601f
- Timestamp:
- 05/12/12 11:19:11 (13 months ago)
- Branches:
- master
- Children:
- 2a59b16
- Parents:
- 04cbe44
- git-author:
- Martin Kolman <martin.kolman@…> (05/12/12 11:19:11)
- git-committer:
- Martin Kolman <martin.kolman@…> (05/12/12 11:19:11)
- File:
-
- 1 edited
-
modules/mod_route.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
modules/mod_route.py
r88a4107 rcf7601f 715 715 y1 = (y-dy)+h 716 716 717 startIcon = "generic _alpha"718 endIcon = "generic _alpha"717 startIcon = "generic:;0.5;;0.5;;" 718 endIcon = "generic:;0.5;;0.5;;" 719 719 if self.expectStart: 720 startIcon = "generic _alpha_red"720 startIcon = "generic:red;0.5;red;0.5;;" 721 721 if self.expectEnd: 722 endIcon = "generic _alpha_green"722 endIcon = "generic:green;0.5;green;0.5;;" 723 723 724 724 routingAction = 'route:p2pRoute' 725 if self.selectOnePoint == True:725 if self.selectOnePoint: 726 726 routingAction = 'route:p2posRoute' 727 727 728 728 menus.drawButton(cr, x1-dx, y1, dx, dy, 'start', startIcon, "route:expectStart") 729 729 menus.drawButton(cr, x1, y1-dy, dx, dy, 'end', endIcon, "route:expectEnd") 730 menus.drawButton(cr, x1, y1, dx, dy, 'route', "generic _alpha", routingAction)730 menus.drawButton(cr, x1, y1, dx, dy, 'route', "generic:;0.5;;0.5;;", routingAction) 731 731 732 732 # "flush" cairo operations
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/gps_navigace/chrome/site/nlp-logo.png)